aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2014-10-09 23:24:35 +0800
committersunpoet <sunpoet@FreeBSD.org>2014-10-09 23:24:35 +0800
commitec87b5ca9125914a92db988b0cd72846a5acb015 (patch)
treeb5db11dfe0f8bcd6213e19a9ef6e33cf53f47d75
parentb7b70c02f900548c34165aaf4c3c87430e53e96b (diff)
downloadfreebsd-ports-gnome-ec87b5ca9125914a92db988b0cd72846a5acb015.tar.gz
freebsd-ports-gnome-ec87b5ca9125914a92db988b0cd72846a5acb015.tar.zst
freebsd-ports-gnome-ec87b5ca9125914a92db988b0cd72846a5acb015.zip
- Cleanup Makefile
- Cleanup PLIST
-rw-r--r--archivers/librtfcomp/Makefile20
-rw-r--r--archivers/librtfcomp/pkg-plist1
2 files changed, 3 insertions, 18 deletions
diff --git a/archivers/librtfcomp/Makefile b/archivers/librtfcomp/Makefile
index 9664ae334e55..0584ead17a36 100644
--- a/archivers/librtfcomp/Makefile
+++ b/archivers/librtfcomp/Makefile
@@ -8,36 +8,22 @@ CATEGORIES= archivers
MASTER_SITES= SF/synce/SynCE/${PORTNAME}
MAINTAINER= sunpoet@FreeBSD.org
-COMMENT?= Library for handling compressed RTF documents
+COMMENT= Library for handling compressed RTF documents
LICENSE= LGPL21
+CONFIGURE_ARGS= --disable-python-bindings
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
-USES+= libtool
-
-SLAVEDIRS= archivers/py-librtfcomp
-
-.if defined(SLAVEPORT) && ${SLAVEPORT} == "py"
-CATEGORIES+= python
-CONFIGURE_ARGS+=--enable-python-bindings
-.else
-CONFIGURE_ARGS+=--disable-python-bindings
-.endif
+USES= libtool
post-patch:
@${REINPLACE_CMD} -e '/VISIBILITY=/ s| -fvisibility=hidden||' ${WRKSRC}/configure
- @${REINPLACE_CMD} -e 's|[^ ]*/src/librtfcomp\.la||' ${WRKSRC}/python/Makefile.in
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>
diff --git a/archivers/librtfcomp/pkg-plist b/archivers/librtfcomp/pkg-plist
index cff6b6c502f7..be91d1d783ca 100644
--- a/archivers/librtfcomp/pkg-plist
+++ b/archivers/librtfcomp/pkg-plist
@@ -7,4 +7,3 @@ lib/librtfcomp.a
lib/librtfcomp.so
lib/librtfcomp.so.0
lib/librtfcomp.so.0.0.0
-@dirrm include/rtfcomp