aboutsummaryrefslogtreecommitdiff
path: root/archivers/py-librtfcomp
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-11-18 19:53:38 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-11-18 19:53:38 +0000
commit9cf15914e10c14b1c61d4f2df6c6b3f75caa11a5 (patch)
treea5bd8ac07dbb25ec6d1639d887768dfc4db75b90 /archivers/py-librtfcomp
parentb74728c6fdb8bee48aa2d6f1dde9d032b234da2a (diff)
downloadports-9cf15914e10c14b1c61d4f2df6c6b3f75caa11a5.tar.gz
ports-9cf15914e10c14b1c61d4f2df6c6b3f75caa11a5.zip
Notes
Diffstat (limited to 'archivers/py-librtfcomp')
-rw-r--r--archivers/py-librtfcomp/Makefile27
-rw-r--r--archivers/py-librtfcomp/pkg-descr4
2 files changed, 13 insertions, 18 deletions
diff --git a/archivers/py-librtfcomp/Makefile b/archivers/py-librtfcomp/Makefile
index 4a6c64ba3a48..2c03fd23b4f1 100644
--- a/archivers/py-librtfcomp/Makefile
+++ b/archivers/py-librtfcomp/Makefile
@@ -1,32 +1,23 @@
# Created by: Alexander Logvinov <ports@logvinov.com>
# $FreeBSD$
-CATEGORIES= archivers python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Python bindings for the LZRTF compression library
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Python bindings for library for handling compressed RTF documents
-LIB_DEPENDS= rtfcomp.0:${PORTSDIR}/archivers/librtfcomp
-BUILD_DEPENDS= pyrexc:${PORTSDIR}/devel/pyrex
+LICENSE= LGPL21
-MASTERDIR= ${.CURDIR}/../librtfcomp
+BUILD_DEPENDS= ${LOCALBASE}/bin/pyrexc:${PORTSDIR}/devel/pyrex
+LIB_DEPENDS= librtfcomp.so:${PORTSDIR}/archivers/librtfcomp
-NO_STAGE= yes
USE_PYTHON= yes
+BUILD_WRKSRC= ${WRKSRC}/python
+INSTALL_WRKSRC= ${WRKSRC}/python
PLIST= ${.CURDIR}/pkg-plist
-RTFCOMP_SLAVE= pythonb
-
-pre-patch:
- @${REINPLACE_CMD} -e 's|$$(top_builddir)/src/librtfcomp.la|${LOCALBASE}/lib/librtfcomp.la|g' \
- ${WRKSRC}/python/Makefile.in
-
-do-build:
- @(cd ${WRKSRC}/python && ${MAKE})
-
-do-install:
- @(cd ${WRKSRC}/python && ${MAKE} install)
+MASTERDIR= ${.CURDIR}/../librtfcomp
+SLAVEPORT= py
.include "${MASTERDIR}/Makefile"
diff --git a/archivers/py-librtfcomp/pkg-descr b/archivers/py-librtfcomp/pkg-descr
new file mode 100644
index 000000000000..3af21d5b7524
--- /dev/null
+++ b/archivers/py-librtfcomp/pkg-descr
@@ -0,0 +1,4 @@
+This port is the Python binding for librtfcomp, library for handling compressed
+RTF documents.
+
+WWW: http://synce.sourceforge.net/