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:
parent
62d8318f10
commit
de0c645da9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=363586
@ -10,7 +10,9 @@ MASTER_SITES= http://ftp.ntua.gr/pub/net/mud/lpmud/clients/pmf/ \
|
|||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= ports@FreeBSD.org
|
||||||
COMMENT= Padrone's Mud Frontend
|
COMMENT= Padrone's Mud Frontend
|
||||||
|
|
||||||
WRKSRC= ${WRKDIR}/pmfdir/src
|
WRKSRC= ${WRKDIR}/pmfdir
|
||||||
|
BUILD_WRKSRC= ${WRKDIR}/pmfdir/src
|
||||||
|
PATCH_WRKSRC= ${WRKDIR}/pmfdir/src
|
||||||
|
|
||||||
USES= readline
|
USES= readline
|
||||||
|
|
||||||
@ -19,22 +21,17 @@ SUB_FILES= pmfrc.default
|
|||||||
OPTIONS_DEFINE= DOCS EXAMPLES
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
||||||
|
|
||||||
post-build:
|
post-build:
|
||||||
@${LN} -sf .pmfrc ${WRKSRC}/../examples/dot.pmfrc
|
@${LN} -sf .pmfrc ${WRKSRC}/examples/dot.pmfrc
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
(cd ${WRKSRC} && ${INSTALL_PROGRAM} pmf ${STAGEDIR}${PREFIX}/bin)
|
${INSTALL_PROGRAM} ${WRKSRC}/src/pmf ${STAGEDIR}${PREFIX}/bin
|
||||||
@${MKDIR} ${STAGEDIR}${DATADIR}
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
||||||
(cd ${WRKSRC}/../system_dir && ${INSTALL_DATA} NEWS \
|
${INSTALL_DATA} ${WRKSRC}/system_dir/NEWS ${STAGEDIR}${DATADIR}
|
||||||
${STAGEDIR}${DATADIR})
|
${INSTALL_DATA} ${WRKDIR}/pmfrc.default ${STAGEDIR}${DATADIR}
|
||||||
(cd ${WRKDIR} && ${INSTALL_DATA} pmfrc.default \
|
(cd ${WRKSRC}/system_dir && ${COPYTREE_SHARE} helpfiles ${STAGEDIR}${DATADIR})
|
||||||
${STAGEDIR}${DATADIR})
|
|
||||||
@(cd ${WRKSRC}/../system_dir && ${COPYTREE_SHARE} helpfiles \
|
|
||||||
${STAGEDIR}${DATADIR})
|
|
||||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
(cd ${WRKSRC}/../doc && ${INSTALL_DATA} * \
|
${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}
|
||||||
${STAGEDIR}${DOCSDIR})
|
|
||||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||||
(cd ${WRKSRC}/../examples && ${INSTALL_DATA} * \
|
${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
|
||||||
${STAGEDIR}${EXAMPLESDIR})
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
Loading…
Reference in New Issue
Block a user