From 5bb44b815dc47eafeb0c8110faf0db6a550bd46a Mon Sep 17 00:00:00 2001 From: bapt Date: Sat, 27 Jun 2015 14:50:08 +0000 Subject: Fix packaging as User Fix wrong conversion to stage --- astro/xephem/Makefile | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'astro') 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 -- cgit