aboutsummaryrefslogtreecommitdiff
path: root/audio/shairport
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/shairport
parent0b5b09713e8ecc1ea80101553be41f5e7f4fbd2a (diff)
downloadports-49bf36d52771ccccdeacb84f6e4f3406a8814618.tar.gz
ports-49bf36d52771ccccdeacb84f6e4f3406a8814618.zip
Notes
Diffstat (limited to 'audio/shairport')
-rw-r--r--audio/shairport/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/audio/shairport/Makefile b/audio/shairport/Makefile
index 7e1635d76e3f..a4df021a90fa 100644
--- a/audio/shairport/Makefile
+++ b/audio/shairport/Makefile
@@ -33,6 +33,8 @@ PORTDOCS= README.md
REV= b1cb9ea
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} -e 's|avahi-|${LOCALBASE}/bin/avahi-|g' \
-e 's|$$FindBin.*|"${PREFIX}/bin/hairtunes";|' \
@@ -44,7 +46,7 @@ do-install:
.for file in ${PORTNAME} hairtunes
${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin
.endfor
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}
${INSTALL_DATA} -p ${WRKSRC}/${i} ${DOCSDIR}