aboutsummaryrefslogtreecommitdiff
path: root/astro/ephem
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-01-19 18:55:28 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-01-19 18:55:28 +0000
commit463b0063dbb933c3f39871c14759b0ebb97e2bfc (patch)
treedaec5a11cf62a4d8a07c3a8fdf71facbf1b7ab05 /astro/ephem
parentc17e193a45ec27a818da1d3e05030c7152398c89 (diff)
downloadports-463b0063dbb933c3f39871c14759b0ebb97e2bfc.tar.gz
ports-463b0063dbb933c3f39871c14759b0ebb97e2bfc.zip
Notes
Diffstat (limited to 'astro/ephem')
-rw-r--r--astro/ephem/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/astro/ephem/Makefile b/astro/ephem/Makefile
index 1134581d29c2..6f5403a2e91f 100644
--- a/astro/ephem/Makefile
+++ b/astro/ephem/Makefile
@@ -11,7 +11,6 @@ DISTNAME= ${PORTNAME}_${PORTVERSION}_unix
MAINTAINER= slaven@rezic.de
COMMENT= An interactive terminal-based astronomical ephemeris program
-NO_STAGE= yes
NO_WRKSUBDIR= yes
ALL_TARGET=
@@ -19,11 +18,11 @@ CFLAGS+= -Wno-implicit -Wno-return-type
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 ${PREFIX}/share/ephem/ephem.db ] && ${INSTALL_DATA} ephem.db ${STAGEDIR}${PREFIX}/share/ephem/; \
+ [ ! -f ${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!