aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2012-12-31 22:20:40 +0800
committerbapt <bapt@FreeBSD.org>2012-12-31 22:20:40 +0800
commit4c2e0568e0ff4966f19cce45da6f55d695aaf81e (patch)
tree95a139c939f86883d404ab84bf8047bdbc13956d /audio
parent207b5fedd5d6a338c3a90e94857c54248f82f9f9 (diff)
downloadfreebsd-ports-graphics-4c2e0568e0ff4966f19cce45da6f55d695aaf81e.tar.gz
freebsd-ports-graphics-4c2e0568e0ff4966f19cce45da6f55d695aaf81e.tar.zst
freebsd-ports-graphics-4c2e0568e0ff4966f19cce45da6f55d695aaf81e.zip
Use PORT_OPTIONS:MDOCS instead of NOPORTDOCS
Remove useless use of pre.mk/post.mk Trim headers
Diffstat (limited to 'audio')
-rw-r--r--audio/amarok-fs/Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/audio/amarok-fs/Makefile b/audio/amarok-fs/Makefile
index da5222a503b..4decb43846b 100644
--- a/audio/amarok-fs/Makefile
+++ b/audio/amarok-fs/Makefile
@@ -1,9 +1,4 @@
-# New ports collection makefile for: amarok-fs
-# Date created: 20 June 2007
-# Whom: Jason E. Hale <bsdkaffee@gmail.com>
-#
# $FreeBSD$
-#
PORTNAME= amarok-fs
PORTVERSION= 0.5
@@ -38,7 +33,7 @@ DOCSDIR= ${PREFIX}/share/doc/amarokFS
QMAKE= ${LOCALBASE}/bin/qmake -unix -o
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
post-extract:
${REINPLACE_CMD} -e 's|/usr/share/icons/amarokFS.png|amarokFS|' \
@@ -51,9 +46,9 @@ post-patch:
${QMAKE} Makefile amarokFS-xml.pro
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>