svn commit: r329091 - head/devel/libpff

Antoine Brodin antoine at FreeBSD.org
Wed Oct 2 18:25:45 UTC 2013


Author: antoine
Date: Wed Oct  2 18:25:44 2013
New Revision: 329091
URL: http://svnweb.freebsd.org/changeset/ports/329091

Log:
  Convert to STAGEDIR

Modified:
  head/devel/libpff/Makefile
  head/devel/libpff/pkg-plist

Modified: head/devel/libpff/Makefile
==============================================================================
--- head/devel/libpff/Makefile	Wed Oct  2 18:03:11 2013	(r329090)
+++ head/devel/libpff/Makefile	Wed Oct  2 18:25:44 2013	(r329091)
@@ -13,34 +13,30 @@ COMMENT=	Library and tools to access the
 LICENSE=	LGPL3
 
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--enable-python
+CONFIGURE_ARGS=	--enable-python --with-libintl-prefix=${LOCALBASE} ${ICONV_CONFIGURE_ARG}
 USES=		gettext iconv pathfix
 USE_PYTHON=	-2.7
 USE_LDCONFIG=	yes
-
+# Remove when configure gets LDFLAGS for python correctly
 LDFLAGS+=	-L${LOCALBASE}/lib
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION:E}
 
-MAN1=		pffexport.1 pffinfo.1
-MAN3=		libpff.3
-
-OPTIONS_DEFINE=	DOCS EXAMPLES
-
 PORTDOCS=	AUTHORS ChangeLog
 PORTEXAMPLES=	*
 
-NO_STAGE=	yes
+OPTIONS_DEFINE=	DOCS EXAMPLES
+
 .include <bsd.port.options.mk>
 
 post-install:
 .if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
 .endif
 .if ${PORT_OPTIONS:MEXAMPLES}
-	@${MKDIR} ${EXAMPLESDIR}
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/examples/${PORTNAME}/* \
-		${WRKSRC}/examples/${PORTNAME:S,lib,py,}/* ${EXAMPLESDIR}
+		${WRKSRC}/examples/${PORTNAME:S,lib,py,}/* ${STAGEDIR}${EXAMPLESDIR}
 .endif
 
 .include <bsd.port.mk>

Modified: head/devel/libpff/pkg-plist
==============================================================================
--- head/devel/libpff/pkg-plist	Wed Oct  2 18:03:11 2013	(r329090)
+++ head/devel/libpff/pkg-plist	Wed Oct  2 18:25:44 2013	(r329091)
@@ -16,4 +16,7 @@ lib/libpff.so.1
 %%PYTHON_SITELIBDIR%%/pypff.la
 %%PYTHON_SITELIBDIR%%/pypff.so
 libdata/pkgconfig/libpff.pc
+man/man1/pffexport.1.gz
+man/man1/pffinfo.1.gz
+man/man3/libpff.3.gz
 @dirrm include/libpff


More information about the svn-ports-head mailing list