diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2013-01-15 13:40:28 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2013-01-15 13:40:28 +0000 |
commit | c4c14fd1564a7a3bd0ae1cd2fb6050b662c936f8 (patch) | |
tree | 98f96307b5a32cecd5d4e2104c22673c560b9789 /sysutils/zeroer | |
parent | 56b2cbf1c5abcce2be96f0aa252e4df4d8d99dd2 (diff) | |
download | ports-c4c14fd1564a7a3bd0ae1cd2fb6050b662c936f8.tar.gz ports-c4c14fd1564a7a3bd0ae1cd2fb6050b662c936f8.zip |
Notes
Diffstat (limited to 'sysutils/zeroer')
-rw-r--r-- | sysutils/zeroer/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sysutils/zeroer/Makefile b/sysutils/zeroer/Makefile index 141346e46b17..e271f1c10169 100644 --- a/sysutils/zeroer/Makefile +++ b/sysutils/zeroer/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: zeroer -# Date created: 2 Jan 2006 -# Whom: Emanuel Haupt <ehaupt@FreeBSD.org> -# +# Created by: Emanuel Haupt <ehaupt@FreeBSD.org> # $FreeBSD$ -# PORTNAME= zeroer PORTVERSION= 0.1 @@ -25,6 +21,10 @@ PORTDOCS= README CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -lpopt +OPTIONS_DEFINE= DOCS + +.include <bsd.port.options.mk> + do-build: ${CC} ${CFLAGS} ${LDFLAGS} ${WRKSRC}/${PORTNAME}.c \ -o ${WRKSRC}/${PORTNAME} @@ -33,7 +33,7 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1 -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR} .endif |