freebsd-ports/mail/renattach/Makefile
2021-04-06 16:31:07 +02:00

36 lines
823 B
Makefile

# Created by: Stefan A. Deutscher (sad@mailaps.org)
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>