diff options
Diffstat (limited to 'archivers/py-librtfcomp')
-rw-r--r-- | archivers/py-librtfcomp/Makefile | 27 | ||||
-rw-r--r-- | archivers/py-librtfcomp/pkg-descr | 4 |
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/ |