diff options
author | Mikhail Teterin <mi@FreeBSD.org> | 2003-07-29 15:16:33 +0000 |
---|---|---|
committer | Mikhail Teterin <mi@FreeBSD.org> | 2003-07-29 15:16:33 +0000 |
commit | 7c46f9a57bc5c6ec92ecbef8df8e5936b2421833 (patch) | |
tree | a6d2673b6ad7f7f01695ea7dfa9c7836ca0766e5 /textproc/py-4suite | |
parent | 66a6aff3884cb1f3270dfe734f788d0940df739f (diff) | |
download | ports-7c46f9a57bc5c6ec92ecbef8df8e5936b2421833.tar.gz ports-7c46f9a57bc5c6ec92ecbef8df8e5936b2421833.zip |
Notes
Diffstat (limited to 'textproc/py-4suite')
-rw-r--r-- | textproc/py-4suite/Makefile | 15 | ||||
-rw-r--r-- | textproc/py-4suite/pkg-plist | 3 |
2 files changed, 7 insertions, 11 deletions
diff --git a/textproc/py-4suite/Makefile b/textproc/py-4suite/Makefile index f8e463c0ebef..8849ff38ce82 100644 --- a/textproc/py-4suite/Makefile +++ b/textproc/py-4suite/Makefile @@ -7,7 +7,7 @@ PORTNAME= 4suite PORTVERSION= 0.11.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= textproc python MASTER_SITES= ftp://ftp.4suite.org/pub/4Suite/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -16,12 +16,11 @@ DISTNAME= 4Suite-${PORTVERSION} MAINTAINER= wjv@FreeBSD.org COMMENT= A collection of Python tools for XML processing and object database management -BROKEN= "Broken pkg-plist" - BUILD_DEPENDS= ${PYXML} RUN_DEPENDS= ${PYXML} USE_REINPLACE= yes +REINPLACE_ARGS= -i "" -E USE_PYTHON= yes USE_PYDISTUTILS= yes PYDISTUTILS_INSTALLARGS= -c -O1 --prefix=${PREFIX} \ @@ -35,12 +34,12 @@ PLIST_SUB+= PACKAGE_DIR=_xmlplus PYTHON2_ONLY="" .endif post-patch: - @ ${REINPLACE_CMD} -e \ - 's#(copy_to=.)docs#$$1doc/${PORTNAME}#; \ - s#(copy_to=.)(test_suite|demo)#$$1examples/${PORTNAME}/$$2#' \ - ${WRKSRC}/setup.py + @ ${REINPLACE_CMD} \ + -e 's#(copy_to=.)docs#\1doc/${PORTNAME}#' \ + -e 's#(copy_to=.)(test_suite|demo)#\1examples/${PORTNAME}/\2#' \ + ${WRKSRC}/setup.py .if defined(NOPORTDOCS) - @ ${REINPLACE_CMD} -e 's/(data_files=)data_files/$$1/' \ + @ ${REINPLACE_CMD} -e 's/(data_files=)data_files/\1/' \ ${WRKSRC}/setup.py .endif diff --git a/textproc/py-4suite/pkg-plist b/textproc/py-4suite/pkg-plist index d02d73f0f5d7..a10a32a836b6 100644 --- a/textproc/py-4suite/pkg-plist +++ b/textproc/py-4suite/pkg-plist @@ -1557,6 +1557,3 @@ lib/%%PYTHON_VERSION%%/site-packages/Ft/__init__.pyo @dirrm lib/%%PYTHON_VERSION%%/site-packages/Ft/Lib @dirrm lib/%%PYTHON_VERSION%%/site-packages/Ft @dirrm lib/%%PYTHON_VERSION%%/site-packages/%%PACKAGE_DIR%%/xslt/Debugger -@dirrm lib/%%PYTHON_VERSION%%/site-packages/%%PACKAGE_DIR%%/xslt -@dirrm lib/%%PYTHON_VERSION%%/site-packages/%%PACKAGE_DIR%%/xpath -@unexec rmdir %D/lib/%%PYTHON_VERSION%%/site-packages/%%PACKAGE_DIR%% 2>/dev/null || true |