mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
Reverting STAGE support. Just realized the way the .db and .cfg files
are being installed needs to be reworked for STAGE or we will always overwrite them, breaking POLA Approved by: swills (mentor, implicit), my guilty conscience
This commit is contained in:
parent
89a5dd5b49
commit
ecb3b6673d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=332560
@ -21,11 +21,11 @@ USE_GCC= any
|
||||
|
||||
do-install:
|
||||
-cd ${WRKSRC}; \
|
||||
${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/
|
||||
${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/
|
||||
|
||||
post-install:
|
||||
@${ECHO_MSG} Don\'t forget to edit ${PREFIX}/share/ephem/ephem.cfg!
|
||||
|
Loading…
Reference in New Issue
Block a user