Support stage

Approved by:	portmgr (blanket)
This commit is contained in:
Renato Botelho 2014-03-28 13:10:16 +00:00
parent 2b58831eae
commit ff74787a24
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=349417

View file

@ -16,25 +16,19 @@ NO_BUILD= yes
USE_GITHUB= yes
GH_ACCOUNT= muennich
GH_COMMIT= dd6e9d7
PORTDOCS= README
INSTDIR_REL= lib/urxvt/perl
SCRIPTS= clipboard keyboard-select url-select
PLIST_FILES+= ${SCRIPTS:C/^/${INSTDIR_REL}\//}
PLIST_DIRSTRY+= ${INSTDIR_REL}
.if !defined(NOPORTDOCS)
PLIST_FILES+= ${DOCSDIR_REL}/README
PLIST_DIRS+= ${DOCSDIR_REL}
.endif
PLIST_DIRSTRY+= ${INSTDIR_REL} lib/urxvt
NO_STAGE= yes
do-install:
${MKDIR} ${PREFIX}/${INSTDIR_REL}
${MKDIR} ${STAGEDIR}${PREFIX}/${INSTDIR_REL}
.for s in ${SCRIPTS}
${INSTALL_DATA} ${WRKSRC}/${s} ${PREFIX}/${INSTDIR_REL}
${INSTALL_DATA} ${WRKSRC}/${s} ${STAGEDIR}${PREFIX}/${INSTDIR_REL}
.endfor
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.md ${DOCSDIR}/README
.endif
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}/README
.include <bsd.port.mk>