aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2013-02-20 00:18:01 +0800
committermiwi <miwi@FreeBSD.org>2013-02-20 00:18:01 +0800
commit11b34165a2fc3fcf1eda31ed4a99e19ef3cba3e5 (patch)
tree120883f5ee84e91c3fdb6770efd7d8ed40948de0 /mail
parent674adf3e17b1eebb90d786336df218dba4b780a5 (diff)
downloadfreebsd-ports-gnome-11b34165a2fc3fcf1eda31ed4a99e19ef3cba3e5.tar.gz
freebsd-ports-gnome-11b34165a2fc3fcf1eda31ed4a99e19ef3cba3e5.tar.zst
freebsd-ports-gnome-11b34165a2fc3fcf1eda31ed4a99e19ef3cba3e5.zip
- Trim header
- OptionNG [1] - Install Manpage [2] PR: 176157 [1] 173697 [2] Submitted by: jgh [1] Helge Oldach <ports-archivemail@oldach.net> [2]
Diffstat (limited to 'mail')
-rw-r--r--mail/archivemail/Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/mail/archivemail/Makefile b/mail/archivemail/Makefile
index ff705a24b6c0..c20ca74247e8 100644
--- a/mail/archivemail/Makefile
+++ b/mail/archivemail/Makefile
@@ -1,12 +1,9 @@
-# New ports collection makefile for: archivemail
-# Date created: 2002/04/02
-# Whom: Alan Eldridge <alane@FreeBSD.org>
-#
+# Created by: Alan Eldridge <alane@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= archivemail
PORTVERSION= 0.9.0
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= SF/${PORTNAME}/
@@ -16,16 +13,20 @@ COMMENT= Archive or delete mail older than N days
USE_PYTHON= 2.5+
NO_BUILD= yes
+MAN1= archivemail.1
DOCS= CHANGELOG FAQ NEWS README TODO
EXAMPLES= test_archivemail examples/archivemail_all
+.include <bsd.port.options.mk>
+
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/archivemail ${PREFIX}/bin/archivemail
-.if !defined(NOPORTEXAMPLES)
+ ${INSTALL_MAN} ${WRKSRC}/archivemail.1 ${MANPREFIX}/man/man1
+.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${EXAMPLESDIR}
cd ${WRKSRC} && ${INSTALL_SCRIPT} ${EXAMPLES} ${EXAMPLESDIR}
.endif
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif