aboutsummaryrefslogtreecommitdiffstats
path: root/astro
diff options
context:
space:
mode:
authorfeld <feld@FreeBSD.org>2013-11-03 07:37:13 +0800
committerfeld <feld@FreeBSD.org>2013-11-03 07:37:13 +0800
commit98cd64620dc7a991ff2c533c2ec72298ad40657e (patch)
tree8ddb0375b005e72285e784f32394d18f10db2655 /astro
parent896bdfc5bb90590d8bdfadf9a30d67091cda7c5e (diff)
downloadfreebsd-ports-gnome-98cd64620dc7a991ff2c533c2ec72298ad40657e.tar.gz
freebsd-ports-gnome-98cd64620dc7a991ff2c533c2ec72298ad40657e.tar.zst
freebsd-ports-gnome-98cd64620dc7a991ff2c533c2ec72298ad40657e.zip
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
Diffstat (limited to 'astro')
-rw-r--r--astro/ephem/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/astro/ephem/Makefile b/astro/ephem/Makefile
index a13f31052208..323fc9d7d3a7 100644
--- a/astro/ephem/Makefile
+++ b/astro/ephem/Makefile
@@ -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!