1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +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 libcurl.so:${PORTSDIR}/ftp/curl
USES= gmake pkgconfig USES= gmake pkgconfig
NO_STAGE= yes
LDFLAGS+= ${PTHREAD_LIBS} LDFLAGS+= ${PTHREAD_LIBS}
PLIST_FILES= bin/xmms2-scrobbler PLIST_FILES= bin/xmms2-scrobbler
@ -24,15 +23,10 @@ PORTDOCS= README
SUB_FILES= pkg-message SUB_FILES= pkg-message
.include <bsd.port.options.mk> OPTIONS_DEFINE= DOCS
post-install: post-install:
@${ECHO_MSG} @${MKDIR} ${STAGEDIR}${DOCSDIR}
@${CAT} ${PKGMESSAGE} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
@${ECHO_MSG}
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}; \
cd ${WRKSRC} && ${INSTALL_MAN} ${PORTDOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk> .include <bsd.port.mk>