aboutsummaryrefslogtreecommitdiffstats
path: root/astro
diff options
context:
space:
mode:
Diffstat (limited to 'astro')
-rw-r--r--astro/xephem/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/astro/xephem/Makefile b/astro/xephem/Makefile
index 6fb0e53f9099..5d521cd2696d 100644
--- a/astro/xephem/Makefile
+++ b/astro/xephem/Makefile
@@ -3,7 +3,7 @@
PORTNAME= xephem
PORTVERSION= 3.7.6
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= astro
MASTER_SITES= # http://www.clearskyinstitute.com/xephem/
@@ -45,7 +45,7 @@ post-patch:
s|-O2 ||g'
pre-build:
- @${ECHO_CMD} 'XEphem.ShareDir: ${STAGEDIR}${PREFIX}/lib/X11/xephem' \
+ @${ECHO_CMD} 'XEphem.ShareDir: ${PREFIX}/lib/X11/xephem' \
> ${WRKSRC}/XEphem.ad
pre-install:
@@ -55,13 +55,9 @@ pre-install:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xephem ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/XEphem.ad ${STAGEDIR}${PREFIX}/lib/X11/app-defaults/XEphem
-
-post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/X11/xephem
- ${TAR} -C ${WRKSRC} -cf - auxil catalogs fifos fits gallery help lo \
- | ${TAR} -C ${STAGEDIR}${PREFIX}/lib/X11/xephem --unlink -xf -
- @${FIND} ${STAGEDIR}${PREFIX}/lib/X11/xephem \
- | ${XARGS} ${CHOWN} ${SHAREOWN}:${SHAREGROUP}
- @${FIND} ${STAGEDIR}${PREFIX}/lib/X11/xephem -type f | ${XARGS} ${CHMOD} ${SHAREMODE}
+ @cd ${WRKSRC}; ${COPYTREE_SHARE} \
+ "auxil catalogs fifos fits gallery help lo" \
+ ${STAGEDIR}${PREFIX}/lib/X11/xephem
.include <bsd.port.post.mk>