aboutsummaryrefslogtreecommitdiff
path: root/astro/xephem
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-06-27 14:50:08 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-06-27 14:50:08 +0000
commitb22cc6fee7a1b3401ec13461f2e9640c839adeed (patch)
treea9fae53159b49529ade445814045c9cde8930508 /astro/xephem
parentba40614e8017ba29243978d22277004d372ce5e5 (diff)
downloadports-b22cc6fee7a1b3401ec13461f2e9640c839adeed.tar.gz
ports-b22cc6fee7a1b3401ec13461f2e9640c839adeed.zip
Notes
Diffstat (limited to 'astro/xephem')
-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>