svn commit: r354669 - head/devel/libpff

Antoine Brodin antoine at FreeBSD.org
Tue May 20 19:21:50 UTC 2014


Author: antoine
Date: Tue May 20 19:21:49 2014
New Revision: 354669
URL: http://svnweb.freebsd.org/changeset/ports/354669
QAT: https://qat.redports.org/buildarchive/r354669/

Log:
  - Use libtool
  - Strip libraries
  - Remove DOCS/EXAMPLES conditionals

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

Modified: head/devel/libpff/Makefile
==============================================================================
--- head/devel/libpff/Makefile	Tue May 20 19:14:06 2014	(r354668)
+++ head/devel/libpff/Makefile	Tue May 20 19:21:49 2014	(r354669)
@@ -3,6 +3,7 @@
 
 PORTNAME=	libpff
 DISTVERSION=	alpha-20120802
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	https://googledrive.com/host/0B3fBvzttpiiScU9qcG5ScEZKZE0/ \
 		LOCAL/antoine
@@ -14,11 +15,12 @@ LICENSE=	LGPL3
 
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--enable-python --with-libintl-prefix=${LOCALBASE} ${ICONV_CONFIGURE_ARG}
-USES=		gettext iconv pathfix
+USES=		gettext iconv libtool pathfix
 USE_PYTHON=	2
 USE_LDCONFIG=	yes
 # Remove when configure gets LDFLAGS for python correctly
 LDFLAGS+=	-L${LOCALBASE}/lib
+INSTALL_TARGET=	install-strip
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION:E}
 
 PORTDOCS=	AUTHORS ChangeLog
@@ -26,17 +28,11 @@ PORTEXAMPLES=	*
 
 OPTIONS_DEFINE=	DOCS EXAMPLES
 
-.include <bsd.port.options.mk>
-
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
-.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/examples/${PORTNAME}/* \
 		${WRKSRC}/examples/${PORTNAME:S,lib,py,}/* ${STAGEDIR}${EXAMPLESDIR}
-.endif
 
 .include <bsd.port.mk>

Modified: head/devel/libpff/pkg-plist
==============================================================================
--- head/devel/libpff/pkg-plist	Tue May 20 19:14:06 2014	(r354668)
+++ head/devel/libpff/pkg-plist	Tue May 20 19:21:49 2014	(r354669)
@@ -9,11 +9,10 @@ include/libpff/features.h
 include/libpff/mapi.h
 include/libpff/types.h
 lib/libpff.a
-lib/libpff.la
 lib/libpff.so
 lib/libpff.so.1
+lib/libpff.so.1.0.0
 %%PYTHON_SITELIBDIR%%/pypff.a
-%%PYTHON_SITELIBDIR%%/pypff.la
 %%PYTHON_SITELIBDIR%%/pypff.so
 libdata/pkgconfig/libpff.pc
 man/man1/pffexport.1.gz


More information about the svn-ports-all mailing list