[Midnightbsd-cvs] mports [16242] trunk/devel/goffice/Makefile: modernize

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Apr 12 22:30:44 EDT 2014


Revision: 16242
          http://svnweb.midnightbsd.org/mports/?rev=16242
Author:   laffer1
Date:     2014-04-12 22:30:43 -0400 (Sat, 12 Apr 2014)
Log Message:
-----------
modernize

Modified Paths:
--------------
    trunk/devel/goffice/Makefile

Modified: trunk/devel/goffice/Makefile
===================================================================
--- trunk/devel/goffice/Makefile	2014-04-13 02:28:50 UTC (rev 16241)
+++ trunk/devel/goffice/Makefile	2014-04-13 02:30:43 UTC (rev 16242)
@@ -2,7 +2,7 @@
 
 PORTNAME=	goffice
 PORTVERSION=	0.8.17
-PORTREVISION=	0
+PORTREVISION=	1
 CATEGORIES=	devel gnome
 MASTER_SITES=	GNOME
 
@@ -9,15 +9,14 @@
 MAINTAINER=	ports at MidnightBSD.org
 COMMENT=	GLib/GTK+ set of document centric objects and utilities
 
-LICENSE=        gpl2
+LICENSE=	gpl2
+LICENSE_FILE=	${WRKSRC}/COPYING
 
 LIB_DEPENDS=	pcre:${PORTSDIR}/devel/pcre
 
-USE_XZ=		yes
-USE_GMAKE=	yes
 USE_GNOME=	gnomeprefix intlhack gtk20 libgsf ltverhack
-USES=		gettext pathfix pkgconfig
-USE_AUTOTOOLS=	libtool
+USES=		gettext gmake pathfix pkgconfig tar:xz
+GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
@@ -24,8 +23,6 @@
 PLIST_SUB=	VERSION=${PORTVERSION} \
 		SHORT_VER=0.8
 
-MAKE_JOBS_SAFE=	yes
-
 OPTIONS_DEFINE=	GCONF
 OPTIONS_DEFAULT=GCONF
 
@@ -37,4 +34,8 @@
 CONFIGURE_ARGS+=--with-config-backend=keyfile
 .endif
 
+post-install:
+	@${STRIP_CMD} ${PREFIX}/lib/libgoffice-0.8.so.8
+	@${STRIP_CMD} ${PREFIX}/lib/goffice/*/plugins/*/*.so
+
 .include <bsd.port.mk>



More information about the Midnightbsd-cvs mailing list