1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Stage support

This commit is contained in:
Antoine Brodin 2014-01-18 15:28:48 +00:00
parent fa786e35c6
commit f94ca12b17
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=340187

View File

@ -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 <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>