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

Make do-install a bit more readable.

This commit is contained in:
Adam Weinberger 2014-07-31 13:09:09 +00:00
parent 62d8318f10
commit de0c645da9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=363586

View File

@ -10,7 +10,9 @@ MASTER_SITES= http://ftp.ntua.gr/pub/net/mud/lpmud/clients/pmf/ \
MAINTAINER= ports@FreeBSD.org
COMMENT= Padrone's Mud Frontend
WRKSRC= ${WRKDIR}/pmfdir/src
WRKSRC= ${WRKDIR}/pmfdir
BUILD_WRKSRC= ${WRKDIR}/pmfdir/src
PATCH_WRKSRC= ${WRKDIR}/pmfdir/src
USES= readline
@ -19,22 +21,17 @@ SUB_FILES= pmfrc.default
OPTIONS_DEFINE= DOCS EXAMPLES
post-build:
@${LN} -sf .pmfrc ${WRKSRC}/../examples/dot.pmfrc
@${LN} -sf .pmfrc ${WRKSRC}/examples/dot.pmfrc
do-install:
(cd ${WRKSRC} && ${INSTALL_PROGRAM} pmf ${STAGEDIR}${PREFIX}/bin)
${INSTALL_PROGRAM} ${WRKSRC}/src/pmf ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DATADIR}
(cd ${WRKSRC}/../system_dir && ${INSTALL_DATA} NEWS \
${STAGEDIR}${DATADIR})
(cd ${WRKDIR} && ${INSTALL_DATA} pmfrc.default \
${STAGEDIR}${DATADIR})
@(cd ${WRKSRC}/../system_dir && ${COPYTREE_SHARE} helpfiles \
${STAGEDIR}${DATADIR})
${INSTALL_DATA} ${WRKSRC}/system_dir/NEWS ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKDIR}/pmfrc.default ${STAGEDIR}${DATADIR}
(cd ${WRKSRC}/system_dir && ${COPYTREE_SHARE} helpfiles ${STAGEDIR}${DATADIR})
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/../doc && ${INSTALL_DATA} * \
${STAGEDIR}${DOCSDIR})
${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC}/../examples && ${INSTALL_DATA} * \
${STAGEDIR}${EXAMPLESDIR})
${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>