diff options
author | drochner <drochner@pkgsrc.org> | 2004-04-15 17:36:29 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2004-04-15 17:36:29 +0000 |
commit | da76636022569689f7bc33db8e4e07906d249b86 (patch) | |
tree | c5dfc4000e74d04a3c248b14f0ffeb79359b3d1b /mail | |
parent | 935722124cca7f5c75bbff613d2e6ce5d054a497 (diff) | |
download | pkgsrc-da76636022569689f7bc33db8e4e07906d249b86.tar.gz |
remove superflous PYTHON_PATCH_SCRIPT_SED, and use some more of
PYDISTUTILSPKG
Diffstat (limited to 'mail')
-rw-r--r-- | mail/offlineimap/Makefile | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/mail/offlineimap/Makefile b/mail/offlineimap/Makefile index 26168863640..7545ecba87e 100644 --- a/mail/offlineimap/Makefile +++ b/mail/offlineimap/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2004/01/20 12:19:43 agc Exp $ +# $NetBSD: Makefile,v 1.4 2004/04/15 17:36:29 drochner Exp $ # DISTNAME= offlineimap_${_OFFLINEIMAP_VER} @@ -18,16 +18,10 @@ _OFFLINEIMAP_VER= 4.0.0 PYTHON_VERSIONS_ACCEPTED= 22pth 23pth BUILDLINK_DEPENDS.python22-pth= python22-pth>=2.2.2 +PYDISTUTILSPKG= yes PYTHON_PATCH_SCRIPTS= bin/offlineimap -PYTHON_PATCH_SCRIPT_SED= -e "1s;^\#!.*python.*;\#!${PYTHONBIN};" PLIST_SUBST+= PYSITELIB=${PYSITELIB} -do-build: - cd ${WRKSRC}; ${PYTHONBIN} setup.py build - -do-install: - cd ${WRKSRC}; ${PYTHONBIN} setup.py install - post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/offlineimap .for _f_ in offlineimap.conf offlineimap.conf.minimal @@ -36,5 +30,6 @@ post-install: ${INSTALL_MAN_DIR} ${PREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/offlineimap.1 ${PREFIX}/man/man1/offlineimap.1 +.include "../../lang/python/extension.mk" .include "../../lang/python/application.mk" .include "../../mk/bsd.pkg.mk" |