svn commit: r340187 - head/audio/xmms2-scrobbler

Antoine Brodin antoine at FreeBSD.org
Sat Jan 18 15:28:49 UTC 2014


Author: antoine
Date: Sat Jan 18 15:28:48 2014
New Revision: 340187
URL: http://svnweb.freebsd.org/changeset/ports/340187
QAT: https://qat.redports.org/buildarchive/r340187/

Log:
  Stage support

Modified:
  head/audio/xmms2-scrobbler/Makefile

Modified: head/audio/xmms2-scrobbler/Makefile
==============================================================================
--- head/audio/xmms2-scrobbler/Makefile	Sat Jan 18 15:24:42 2014	(r340186)
+++ head/audio/xmms2-scrobbler/Makefile	Sat Jan 18 15:28:48 2014	(r340187)
@@ -16,7 +16,6 @@ LIB_DEPENDS=	libxmmsclient.so:${PORTSDIR
 		libcurl.so:${PORTSDIR}/ftp/curl
 
 USES=		gmake pkgconfig
-NO_STAGE=	yes
 LDFLAGS+=	${PTHREAD_LIBS}
 
 PLIST_FILES=	bin/xmms2-scrobbler
@@ -24,15 +23,10 @@ PORTDOCS=	README
 
 SUB_FILES=	pkg-message
 
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE=	DOCS
 
 post-install:
-	@${ECHO_MSG}
-	@${CAT} ${PKGMESSAGE}
-	@${ECHO_MSG}
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}; \
-	cd ${WRKSRC} && ${INSTALL_MAN} ${PORTDOCS} ${DOCSDIR}
-.endif
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list