1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00
freebsd-ports/mail/renattach/Makefile
Dmitry Marakasov 0d24bd2f7b - Add LICENSE
- Switch to options helpers
- Install more documentation
- Switch to @sample
2016-03-28 23:05:43 +00:00

37 lines
838 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} -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}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>