pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail/offlineimap remove superflous PYTHON_PATCH_SCRIPT...
details: https://anonhg.NetBSD.org/pkgsrc/rev/83e27d9f5b0f
branches: trunk
changeset: 473052:83e27d9f5b0f
user: drochner <drochner%pkgsrc.org@localhost>
date: Thu Apr 15 17:36:29 2004 +0000
description:
remove superflous PYTHON_PATCH_SCRIPT_SED, and use some more of
PYDISTUTILSPKG
diffstat:
mail/offlineimap/Makefile | 11 +++--------
1 files changed, 3 insertions(+), 8 deletions(-)
diffs (34 lines):
diff -r 4b0dbd388819 -r 83e27d9f5b0f mail/offlineimap/Makefile
--- a/mail/offlineimap/Makefile Thu Apr 15 16:44:27 2004 +0000
+++ b/mail/offlineimap/Makefile Thu Apr 15 17:36:29 2004 +0000
@@ -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 @@
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 @@
${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"
Home |
Main Index |
Thread Index |
Old Index