freebsd-ports/textproc/atom/Makefile
Alexey Dokuchaev 35f74fbe2e - Convert to option helper install target (add OPTIONS_DEFINE=DOCS
when it was missing)
- Invoke INSTALL_DATA where appropriate instead of INSTALL_MAN
- Fix some whitespace and formatting bugs along the way
2018-01-11 18:09:00 +00:00

31 lines
709 B
Makefile

# $FreeBSD$
PORTNAME= atom
PORTVERSION= 1.0
CATEGORIES= textproc
MASTER_SITES= http://www.bayofrum.net/dist/atom/ \
http://muuz.deadbbs.com/FreeBSD/atom/
MAINTAINER= crees@FreeBSD.org
COMMENT= Converts text files to html with special attributes
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
GNU_CONFIGURE= yes
PLIST_FILES= bin/atom man/man1/atom.1.gz
PORTDOCS= README TODO testFile
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1/
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>