aboutsummaryrefslogtreecommitdiff
path: root/audio/baudline
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-01-03 15:26:06 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-01-03 15:26:06 +0000
commit49bf36d52771ccccdeacb84f6e4f3406a8814618 (patch)
treebc69c025c1ff53d7dce410b1f29dea3232181f67 /audio/baudline
parent0b5b09713e8ecc1ea80101553be41f5e7f4fbd2a (diff)
downloadports-49bf36d52771ccccdeacb84f6e4f3406a8814618.tar.gz
ports-49bf36d52771ccccdeacb84f6e4f3406a8814618.zip
Notes
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