summaryrefslogtreecommitdiff
path: root/audio/maplay
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/maplay
parentrene-ladan.nl is online again, re-add it to MASTER_SITES (diff)
Convert to PORT_OPTIONS:MDOCS.
Holdout shame list: ruby, perl, python
Notes
Notes: svn path=/head/; revision=338547
Diffstat (limited to 'audio/maplay')
-rw-r--r--audio/maplay/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/audio/maplay/Makefile b/audio/maplay/Makefile
index 03fc9069cd87..7089362af357 100644
--- a/audio/maplay/Makefile
+++ b/audio/maplay/Makefile
@@ -19,13 +19,15 @@ NO_STAGE= yes
PLIST_FILES= bin/maplay
PORTDOCS= README
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} -e 's,machine/soundcard.h,sys/soundcard.h,' \
${WRKSRC}/configuration.sh
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/maplay ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
.endif