aboutsummaryrefslogtreecommitdiff
path: root/mail/renattach
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-03-28 23:05:43 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-03-28 23:05:43 +0000
commit0d24bd2f7b354fe8681fab90e41754c63229d228 (patch)
tree2415a8cf3cca319252d1732eb460c044d9dec920 /mail/renattach
parent2bbd54bad2e5ba2ca5a8c69ec95ac55d43d03330 (diff)
downloadports-0d24bd2f7b354fe8681fab90e41754c63229d228.tar.gz
ports-0d24bd2f7b354fe8681fab90e41754c63229d228.zip
Notes
Diffstat (limited to 'mail/renattach')
-rw-r--r--mail/renattach/Makefile18
1 files changed, 12 insertions, 6 deletions
diff --git a/mail/renattach/Makefile b/mail/renattach/Makefile
index 80a45497758d..bc8d29706d4c 100644
--- a/mail/renattach/Makefile
+++ b/mail/renattach/Makefile
@@ -3,17 +3,22 @@
PORTNAME= renattach
PORTVERSION= 1.2.4
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://www.pc-tools.net/files/unix/
MAINTAINER= ports@FreeBSD.org
COMMENT= Rename or remove certain attachments or kill entire messages
+LICENSE= GPLv2+
+LICENSE_FILE= ${WRKSRC}/COPYING
GNU_CONFIGURE= yes
-PORTDOCS= INSTALL
-PLIST_FILES= bin/renattach etc/renattach.conf.ex man/man1/renattach.1.gz
+PORTDOCS= AUTHORS ChangeLog INSTALL NEWS README
+PLIST_FILES= bin/renattach \
+ "@sample etc/renattach.conf.sample" \
+ man/man1/renattach.1.gz
OPTIONS_DEFINE= DOCS
@@ -21,10 +26,11 @@ post-extract:
@${RM} -f ${WRKSRC}/src/getopt*
post-install:
+ ${MV} ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.ex \
+ ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample
+
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
- @${ECHO_MSG} "===================="
- @${ECHO_MSG} "Check with ${DOCSDIR}/INSTALL"
- @${ECHO_MSG} "After that you may need to adjust renattach.conf to your needs"
+ cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>