eabbfd75e3
PR: 213570 Submitted by: mat Exp-run by: antoine Sponsored by: Absolight
36 lines
835 B
Makefile
36 lines
835 B
Makefile
# Created by: Stefan A. Deutscher (sad@mailaps.org)
|
|
# $FreeBSD$
|
|
|
|
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= AUTHORS ChangeLog INSTALL NEWS README
|
|
PLIST_FILES= bin/renattach \
|
|
"@sample etc/renattach.conf.sample" \
|
|
man/man1/renattach.1.gz
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-extract:
|
|
@${RM} ${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}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|