Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Dec 2012 14:20:40 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r309751 - head/audio/amarok-fs
Message-ID:  <201212311420.qBVEKe6x048769@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Mon Dec 31 14:20:40 2012
New Revision: 309751
URL: http://svnweb.freebsd.org/changeset/ports/309751

Log:
  Use PORT_OPTIONS:MDOCS instead of NOPORTDOCS
  Remove useless use of pre.mk/post.mk
  Trim headers

Modified:
  head/audio/amarok-fs/Makefile

Modified: head/audio/amarok-fs/Makefile
==============================================================================
--- head/audio/amarok-fs/Makefile	Mon Dec 31 14:19:07 2012	(r309750)
+++ head/audio/amarok-fs/Makefile	Mon Dec 31 14:20:40 2012	(r309751)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212311420.qBVEKe6x048769>