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

Support staging

This commit is contained in:
Emanuel Haupt 2014-02-20 14:45:46 +00:00
parent a5a720a9c9
commit c4b9462439
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345241

View File

@ -15,14 +15,13 @@ MAKE_ARGS= CC="${CC}"
PLIST_FILES= bin/edic bin/engdic
PORTDATA= [a-z].dic.gz
NO_STAGE= yes
post-patch:
${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|' ${WRKSRC}/engdic.h
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/engdic ${PREFIX}/bin
${LN} -sf ${PREFIX}/bin/engdic ${PREFIX}/bin/edic
${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/data/[a-z].dic.gz ${DATADIR}
${INSTALL_PROGRAM} ${WRKSRC}/engdic ${STAGEDIR}${PREFIX}/bin
${LN} -sf ${PREFIX}/bin/engdic ${STAGEDIR}${PREFIX}/bin/edic
${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/data/[a-z].dic.gz ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>