svn commit: r348576 - head/archivers/librtfcomp
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Tue Mar 18 16:16:50 UTC 2014
Author: sunpoet
Date: Tue Mar 18 16:16:49 2014
New Revision: 348576
URL: http://svnweb.freebsd.org/changeset/ports/348576
QAT: https://qat.redports.org/buildarchive/r348576/
Log:
- Use USES=libtool
- Strip shared library in post-install: phase
- Bump PORTREVISION for package change
Modified:
head/archivers/librtfcomp/Makefile
head/archivers/librtfcomp/pkg-plist
Modified: head/archivers/librtfcomp/Makefile
==============================================================================
--- head/archivers/librtfcomp/Makefile Tue Mar 18 16:14:03 2014 (r348575)
+++ head/archivers/librtfcomp/Makefile Tue Mar 18 16:16:49 2014 (r348576)
@@ -3,6 +3,7 @@
PORTNAME= librtfcomp
PORTVERSION= 1.3
+PORTREVISION= 1
CATEGORIES= archivers
MASTER_SITES= SF/synce/SynCE/${PORTNAME}
@@ -12,8 +13,8 @@ COMMENT?= Library for handling compresse
LICENSE= LGPL21
GNU_CONFIGURE= yes
-USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
+USES= libtool
SLAVEDIRS= archivers/py-librtfcomp
@@ -28,16 +29,15 @@ post-patch:
@${REINPLACE_CMD} -e '/VISIBILITY=/ s| -fvisibility=hidden||' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|$$(top_builddir)/src/librtfcomp.la|${LOCALBASE}/lib/librtfcomp.la|g' ${WRKSRC}/python/Makefile.in
-post-build:
-.if !defined(SLAVEPORT)
- @${STRIP_CMD} ${WRKSRC}/src/.libs/librtfcomp.so.0
-.endif
-
post-install:
.if !defined(SLAVEPORT)
${INSTALL_SCRIPT} ${WRKSRC}/tests/fromrtf ${STAGEDIR}${PREFIX}/bin/fromrtf
${INSTALL_SCRIPT} ${WRKSRC}/tests/test ${STAGEDIR}${PREFIX}/bin/testrtf
${INSTALL_SCRIPT} ${WRKSRC}/tests/tortf ${STAGEDIR}${PREFIX}/bin/tortf
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/librtfcomp.so.0.0.0
+.endif
+.if defined(SLAVEPORT) && ${SLAVEPORT} == "py"
+ ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pyrtfcomp.so
.endif
.include <bsd.port.mk>
Modified: head/archivers/librtfcomp/pkg-plist
==============================================================================
--- head/archivers/librtfcomp/pkg-plist Tue Mar 18 16:14:03 2014 (r348575)
+++ head/archivers/librtfcomp/pkg-plist Tue Mar 18 16:16:49 2014 (r348576)
@@ -7,4 +7,5 @@ lib/librtfcomp.a
lib/librtfcomp.la
lib/librtfcomp.so
lib/librtfcomp.so.0
+lib/librtfcomp.so.0.0.0
@dirrm include/rtfcomp
More information about the svn-ports-head
mailing list