aboutsummaryrefslogtreecommitdiff
path: root/audio/dir2ogg
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-12-31 14:33:37 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-12-31 14:33:37 +0000
commit0ca3f6898becfac5fe9dca9759902b0aa98c6b08 (patch)
tree87d1224b1d6b043330f7410d137ff54cb45d2c97 /audio/dir2ogg
parenta3ffe630c8a26521a75271a0e4aa3e32b3aa450a (diff)
downloadports-0ca3f6898becfac5fe9dca9759902b0aa98c6b08.tar.gz
ports-0ca3f6898becfac5fe9dca9759902b0aa98c6b08.zip
Notes
Diffstat (limited to 'audio/dir2ogg')
-rw-r--r--audio/dir2ogg/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/audio/dir2ogg/Makefile b/audio/dir2ogg/Makefile
index 288c17077063..c6b4ec083eb1 100644
--- a/audio/dir2ogg/Makefile
+++ b/audio/dir2ogg/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: dir2ogg
-# Date created: 2008/01/26
-# Whom: chinsan
-#
+# Created by: chinsan
# $FreeBSD$
-#
PORTNAME= dir2ogg
PORTVERSION= 0.11.8
@@ -27,6 +23,7 @@ MAN1= ${PORTNAME}.1
PORTDOCS= NEWS README
PLIST_FILES= bin/${PORTNAME}
+.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e \
'/^#!/s|/.*python|${SETENV} python|g' ${WRKSRC}/${PORTNAME}
@@ -34,7 +31,7 @@ post-patch:
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MAN1PREFIX}/man/man1
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
.for doc in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}