pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail/archivemail Use Python distuils logic.
details: https://anonhg.NetBSD.org/pkgsrc/rev/39a9ee8d1bee
branches: trunk
changeset: 519769:39a9ee8d1bee
user: joerg <joerg%pkgsrc.org@localhost>
date: Mon Oct 09 12:46:26 2006 +0000
description:
Use Python distuils logic.
diffstat:
mail/archivemail/Makefile | 24 ++++++++----------------
1 files changed, 8 insertions(+), 16 deletions(-)
diffs (40 lines):
diff -r cc176d023d0a -r 39a9ee8d1bee mail/archivemail/Makefile
--- a/mail/archivemail/Makefile Mon Oct 09 12:46:01 2006 +0000
+++ b/mail/archivemail/Makefile Mon Oct 09 12:46:26 2006 +0000
@@ -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 @@
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"
Home |
Main Index |
Thread Index |
Old Index