svn commit: r367771 - head/devel/gtkparasite

Tijl Coosemans tijl at FreeBSD.org
Tue Sep 9 19:43:03 UTC 2014


Author: tijl
Date: Tue Sep  9 19:43:02 2014
New Revision: 367771
URL: http://svnweb.freebsd.org/changeset/ports/367771
QAT: https://qat.redports.org/buildarchive/r367771/

Log:
  - Convert to USES=libtool and add INSTALL_TARGET=install-strip
  - Disable static module
  - Replace pre-configure with USE_AUTOTOOLS

Modified:
  head/devel/gtkparasite/Makefile

Modified: head/devel/gtkparasite/Makefile
==============================================================================
--- head/devel/gtkparasite/Makefile	Tue Sep  9 19:31:28 2014	(r367770)
+++ head/devel/gtkparasite/Makefile	Tue Sep  9 19:43:02 2014	(r367771)
@@ -3,7 +3,7 @@
 
 PORTNAME=	gtkparasite
 PORTVERSION=	20090819
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	devel
 MASTER_SITES=	${MASTER_SITE_LOCAL}
 MASTER_SITE_SUBDIR=	pav
@@ -14,29 +14,21 @@ COMMENT=	GTK+ UI debugging tool
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-USES=		pkgconfig
-USE_PYTHON=	yes
+GNU_CONFIGURE=	yes
+CONFIGURE_ARGS=	--disable-static
+INSTALL_TARGET=	install-strip
+USES=		libtool pkgconfig python
+USE_AUTOTOOLS=	libtoolize aclocal autoconf autoheader automake
+AUTOMAKE_ARGS=	-a -c -f
 USE_GNOME=	gtk20 pygtk2
 WRKSRC=		${WRKDIR}/chipx86-gtkparasite-a3d862d4a91ea27222e4273a6797f3e47efe6e83
-GNU_CONFIGURE=	yes
 PORTDOCS=	USAGE
-PLIST_FILES=	lib/gtk-2.0/modules/libgtkparasite.a \
-		lib/gtk-2.0/modules/libgtkparasite.la \
-		lib/gtk-2.0/modules/libgtkparasite.so
-USE_AUTOTOOLS=	autoconf automake libtool
+PLIST_FILES=	lib/gtk-2.0/modules/libgtkparasite.so
 
 OPTIONS_DEFINE=	DOCS
 
-pre-configure:
-	cd ${WRKSRC} && ${REINPLACE_CMD} -e '/.\/configure/d' ./autogen.sh \
-		&& ./autogen.sh
-
-.include <bsd.port.options.mk>
-
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_MAN} ${WRKSRC}/USAGE ${STAGEDIR}/${DOCSDIR}
-.endif
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list