From 5291eb0ca27d25b522d761826e58906a8f701314 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Mon, 31 Dec 2012 14:20:40 +0000 Subject: [PATCH] Use PORT_OPTIONS:MDOCS instead of NOPORTDOCS Remove useless use of pre.mk/post.mk Trim headers --- audio/amarok-fs/Makefile | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/audio/amarok-fs/Makefile b/audio/amarok-fs/Makefile index da5222a503ba..4decb43846ba 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 -# # $FreeBSD$ -# PORTNAME= amarok-fs PORTVERSION= 0.5 @@ -38,7 +33,7 @@ DOCSDIR= ${PREFIX}/share/doc/amarokFS QMAKE= ${LOCALBASE}/bin/qmake -unix -o -.include +.include 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 +.include