From f94ca12b172ce09bbc918b69507bbb0cdd782f88 Mon Sep 17 00:00:00 2001 From: Antoine Brodin Date: Sat, 18 Jan 2014 15:28:48 +0000 Subject: [PATCH] Stage support --- audio/xmms2-scrobbler/Makefile | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/audio/xmms2-scrobbler/Makefile b/audio/xmms2-scrobbler/Makefile index 9ad0bc4ff55e..f560e5c819f9 100644 --- a/audio/xmms2-scrobbler/Makefile +++ b/audio/xmms2-scrobbler/Makefile @@ -16,7 +16,6 @@ LIB_DEPENDS= libxmmsclient.so:${PORTSDIR}/audio/xmms2 \ 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 +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