svn commit: r412076 - head/mail/renattach
Dmitry Marakasov
amdmi3 at FreeBSD.org
Mon Mar 28 23:05:44 UTC 2016
Author: amdmi3
Date: Mon Mar 28 23:05:43 2016
New Revision: 412076
URL: https://svnweb.freebsd.org/changeset/ports/412076
Log:
- Add LICENSE
- Switch to options helpers
- Install more documentation
- Switch to @sample
Modified:
head/mail/renattach/Makefile
Modified: head/mail/renattach/Makefile
==============================================================================
--- head/mail/renattach/Makefile Mon Mar 28 23:05:17 2016 (r412075)
+++ head/mail/renattach/Makefile Mon Mar 28 23:05:43 2016 (r412076)
@@ -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 at 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>
More information about the svn-ports-all
mailing list