Support STAGE while here...

PR:		ports/183551
Approved by:	swills (mentor, implicit)
This commit is contained in:
Mark Felder 2013-11-02 23:18:25 +00:00
parent e219448674
commit 361034c3a0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=332555

View file

@ -21,11 +21,11 @@ USE_GCC= any
do-install:
-cd ${WRKSRC}; \
${INSTALL_PROGRAM} ephem ${PREFIX}/bin; \
${MKDIR} ${PREFIX}/share/ephem; \
${INSTALL_DATA} Man.txt ${PREFIX}/share/ephem/; \
[ ! -f ${PREFIX}/share/ephem/ephem.db ] && ${INSTALL_DATA} ephem.db ${PREFIX}/share/ephem/; \
[ ! -f ${PREFIX}/share/ephem/ephem.cfg ] && ${INSTALL_DATA} ephem.cfg ${PREFIX}/share/ephem/
${INSTALL_PROGRAM} ephem ${STAGEDIR}${PREFIX}/bin; \
${MKDIR} ${STAGEDIR}${PREFIX}/share/ephem; \
${INSTALL_DATA} Man.txt ${STAGEDIR}${PREFIX}/share/ephem/; \
[ ! -f ${STAGEDIR}${PREFIX}/share/ephem/ephem.db ] && ${INSTALL_DATA} ephem.db ${STAGEDIR}${PREFIX}/share/ephem/; \
[ ! -f ${STAGEDIR}${PREFIX}/share/ephem/ephem.cfg ] && ${INSTALL_DATA} ephem.cfg ${STAGEDIR}${PREFIX}/share/ephem/
post-install:
@${ECHO_MSG} Don\'t forget to edit ${PREFIX}/share/ephem/ephem.cfg!