diff options
author | joerg <joerg@pkgsrc.org> | 2006-10-09 12:46:26 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-10-09 12:46:26 +0000 |
commit | 46f0756fe7290edd98145654b83d26f7f6532bca (patch) | |
tree | ea0257e9ca45b2c22d9599cff3417926f9985851 | |
parent | c4915ec13e9aa6d8e527701be4e02b0b9258dfde (diff) | |
download | pkgsrc-46f0756fe7290edd98145654b83d26f7f6532bca.tar.gz |
Use Python distuils logic.
-rw-r--r-- | mail/archivemail/Makefile | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/mail/archivemail/Makefile b/mail/archivemail/Makefile index 220a4d8004c..878b4ee12d5 100644 --- a/mail/archivemail/Makefile +++ b/mail/archivemail/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2006/03/04 21:29:57 jlam Exp $ +# $NetBSD: Makefile,v 1.8 2006/10/09 12:46:26 joerg Exp $ # DISTNAME= archivemail-0.6.1 @@ -10,23 +10,15 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://archivemail.sourceforge.net/ COMMENT= Tool for archiving and compressing old email in mailboxes -NO_CONFIGURE= yes -INSTALLATION_DIRS= man/man1 +PYDISTUTILSPKG= yes -do-build: - -do-install: - cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHONBIN} setup.py install \ - --prefix=${PREFIX} +INSTALLATION_DIRS= man/man1 share/archivemail post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/archivemail - cd ${WRKSRC} ; ${INSTALL_DATA} \ - CHANGELOG FAQ MANIFEST PKG-INFO README TODO \ - ${PREFIX}/share/archivemail - cd ${WRKSRC} ; ${INSTALL_MAN} \ - archivemail.1 \ - ${PREFIX}/man/man1 + cd ${WRKSRC} && ${INSTALL_DATA} \ + CHANGELOG FAQ MANIFEST PKG-INFO README TODO \ + ${DESTDIR}${PREFIX}/share/archivemail + ${INSTALL_MAN} ${WRKSRC}/archivemail.1 ${DESTDIR}${PREFIX}/man/man1 -.include "../../lang/python/application.mk" +.include "../../lang/python/extension.mk" .include "../../mk/bsd.pkg.mk" |