aboutsummaryrefslogtreecommitdiff
path: root/audio/fcplay
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/fcplay
parent0b5b09713e8ecc1ea80101553be41f5e7f4fbd2a (diff)
downloadports-49bf36d52771ccccdeacb84f6e4f3406a8814618.tar.gz
ports-49bf36d52771ccccdeacb84f6e4f3406a8814618.zip
Notes
Diffstat (limited to 'audio/fcplay')
-rw-r--r--audio/fcplay/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/audio/fcplay/Makefile b/audio/fcplay/Makefile
index 46a3f06a176e..1b3938e2e121 100644
--- a/audio/fcplay/Makefile
+++ b/audio/fcplay/Makefile
@@ -23,6 +23,8 @@ CXXFLAGS+= -I${LOCALBASE}/include
PORTDOCS= ABOUT POINTER
PLIST_FILES= bin/fcplay
+.include <bsd.port.options.mk>
+
post-patch:
.for f in configure Config.h.in
@${REINPLACE_CMD} -e "s@machine/soundcard\.h@sys/soundcard\.h@g; \
@@ -32,7 +34,7 @@ post-patch:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/fcplay ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif