973d962c7e
- Switch to options helpers
31 lines
641 B
Makefile
31 lines
641 B
Makefile
# Created by: Miguel Mendez <flynn@energyhq.homeip.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= newfile
|
|
PORTVERSION= 1.0.14
|
|
PORTREVISION= 6
|
|
CATEGORIES= devel
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Tool for creating starter files in various languages
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
GNU_CONFIGURE= yes
|
|
NO_ARCH= yes
|
|
USE_RUBY= yes
|
|
|
|
PORTDOCS= newfile.html
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-install:
|
|
${INSTALL_MAN} ${WRKSRC}/doc/newfile.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}/
|
|
cd ${WRKSRC}/doc/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
|
|
|
|
.include <bsd.port.mk>
|