Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Jan 2014 15:28:48 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r340187 - head/audio/xmms2-scrobbler
Message-ID:  <201401181528.s0IFSmYh010958@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



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