diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-06-27 14:50:08 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-06-27 14:50:08 +0000 |
commit | b22cc6fee7a1b3401ec13461f2e9640c839adeed (patch) | |
tree | a9fae53159b49529ade445814045c9cde8930508 /astro/xephem | |
parent | ba40614e8017ba29243978d22277004d372ce5e5 (diff) | |
download | ports-b22cc6fee7a1b3401ec13461f2e9640c839adeed.tar.gz ports-b22cc6fee7a1b3401ec13461f2e9640c839adeed.zip |
Notes
Diffstat (limited to 'astro/xephem')
-rw-r--r-- | astro/xephem/Makefile | 14 |
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> |