aboutsummaryrefslogtreecommitdiffstats
path: root/mail/archivemail
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-02-06 10:41:50 +0800
committermiwi <miwi@FreeBSD.org>2014-02-06 10:41:50 +0800
commit15615e913ab7b6e4b9002e738f0f7c740e8988e1 (patch)
treed45fbe61ede2f4ba74c890f625ff688fbb4a878d /mail/archivemail
parent5721839456dff44b60ab984d5882796c93ddb976 (diff)
downloadfreebsd-ports-gnome-15615e913ab7b6e4b9002e738f0f7c740e8988e1.tar.gz
freebsd-ports-gnome-15615e913ab7b6e4b9002e738f0f7c740e8988e1.tar.zst
freebsd-ports-gnome-15615e913ab7b6e4b9002e738f0f7c740e8988e1.zip
- Stage support
Diffstat (limited to 'mail/archivemail')
-rw-r--r--mail/archivemail/Makefile20
-rw-r--r--mail/archivemail/pkg-plist1
2 files changed, 7 insertions, 14 deletions
diff --git a/mail/archivemail/Makefile b/mail/archivemail/Makefile
index 03a82fbecc2c..b223abd28717 100644
--- a/mail/archivemail/Makefile
+++ b/mail/archivemail/Makefile
@@ -13,23 +13,15 @@ COMMENT= Archive or delete mail older than N days
USE_PYTHON= yes
NO_BUILD= yes
-MAN1= archivemail.1
DOCS= CHANGELOG FAQ NEWS README TODO
EXAMPLES= test_archivemail examples/archivemail_all
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/archivemail ${PREFIX}/bin/archivemail
- ${INSTALL_MAN} ${WRKSRC}/archivemail.1 ${MANPREFIX}/man/man1
-.if ${PORT_OPTIONS:MEXAMPLES}
- @${MKDIR} ${EXAMPLESDIR}
- cd ${WRKSRC} && ${INSTALL_SCRIPT} ${EXAMPLES} ${EXAMPLESDIR}
-.endif
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
-.endif
+ ${INSTALL_SCRIPT} ${WRKSRC}/archivemail ${STAGEDIR}${PREFIX}/bin/archivemail
+ ${INSTALL_MAN} ${WRKSRC}/archivemail.1 ${STAGEDIR}${MANPREFIX}/man/man1
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ cd ${WRKSRC} && ${INSTALL_SCRIPT} ${EXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/mail/archivemail/pkg-plist b/mail/archivemail/pkg-plist
index 789650fbeef4..34061102f719 100644
--- a/mail/archivemail/pkg-plist
+++ b/mail/archivemail/pkg-plist
@@ -1,4 +1,5 @@
bin/archivemail
+man/man1/archivemail.1.gz
%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG
%%PORTDOCS%%%%DOCSDIR%%/FAQ
%%PORTDOCS%%%%DOCSDIR%%/NEWS