aboutsummaryrefslogtreecommitdiffstats
path: root/audio/baudline
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-01-03 23:26:06 +0800
committeradamw <adamw@FreeBSD.org>2014-01-03 23:26:06 +0800
commit855b8f9eb8b6c8d2ac7ab50561b4fcac8c30ac99 (patch)
treebc69c025c1ff53d7dce410b1f29dea3232181f67 /audio/baudline
parentd62f31863259e22aad489e1d7c5e0045037951d4 (diff)
downloadfreebsd-ports-gnome-855b8f9eb8b6c8d2ac7ab50561b4fcac8c30ac99.tar.gz
freebsd-ports-gnome-855b8f9eb8b6c8d2ac7ab50561b4fcac8c30ac99.tar.zst
freebsd-ports-gnome-855b8f9eb8b6c8d2ac7ab50561b4fcac8c30ac99.zip
Convert to PORT_OPTIONS:MDOCS.
Holdout shame list: ruby, perl, python
Diffstat (limited to 'audio/baudline')
-rw-r--r--audio/baudline/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/audio/baudline/Makefile b/audio/baudline/Makefile
index 03e3ccca4d9c..25f7773fe096 100644
--- a/audio/baudline/Makefile
+++ b/audio/baudline/Makefile
@@ -27,13 +27,11 @@ PLIST_FILES= bin/baudline
OPTIONS_DEFINE= MPG123
OPTIONS_DEFAULT= MPG123
+MMPG123_RUN_DEPENDS= mpg123:${PORTSDIR}/audio/mpg123
+
.include <bsd.port.options.mk>
.include <bsd.port.pre.mk>
-.if ${PORT_OPTIONS:MMPG123}
-RUN_DEPENDS+= mpg123:${PORTSDIR}/audio/mpg123
-.endif
-
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) && !defined(PACKAGE_BUILDING)
IGNORE= may not be automatically fetched due to licensing\
restrictions. You must manually fetch ${DISTFILES} from\
@@ -47,7 +45,7 @@ do-build:
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/baudline ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${INSTALL} -d ${DOCSDIR}
@cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
.endif