Sun Oct 9 20:48:19 2016 UTC ()
Use pax, not cp -R, to install subtrees.


(dholland)
diff -r1.64 -r1.65 pkgsrc/x11/xephem/Makefile

cvs diff -r1.64 -r1.65 pkgsrc/x11/xephem/Makefile (expand / switch to unified diff)

--- pkgsrc/x11/xephem/Makefile 2016/10/09 20:39:29 1.64
+++ pkgsrc/x11/xephem/Makefile 2016/10/09 20:48:19 1.65
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.64 2016/10/09 20:39:29 dholland Exp $ 1# $NetBSD: Makefile,v 1.65 2016/10/09 20:48:19 dholland Exp $
2 2
3DISTNAME= xephem-3.7.7 3DISTNAME= xephem-3.7.7
4PKGREVISION= 1 4PKGREVISION= 1
5CATEGORIES= x11 5CATEGORIES= x11
6MASTER_SITES= http://97.74.56.125/free/ 6MASTER_SITES= http://97.74.56.125/free/
7 7
8MAINTAINER= gdt@NetBSD.org 8MAINTAINER= gdt@NetBSD.org
9HOMEPAGE= http://www.clearskyinstitute.com/xephem/ 9HOMEPAGE= http://www.clearskyinstitute.com/xephem/
10COMMENT= Interactive astronomical ephemeris program 10COMMENT= Interactive astronomical ephemeris program
11LICENSE= xephem-license 11LICENSE= xephem-license
12 12
13# Pending adjustment of license wording to clarify the copyright 13# Pending adjustment of license wording to clarify the copyright
14# holder's intent, permission has been granted to distribute the 14# holder's intent, permission has been granted to distribute the
@@ -19,48 +19,48 @@ LICENSE= xephem-license @@ -19,48 +19,48 @@ LICENSE= xephem-license
19# To: "Greg Troxel" <gdt@ir.bbn.com> 19# To: "Greg Troxel" <gdt@ir.bbn.com>
20# Date: Wed, 10 May 2006 18:41:01 -0600 (MDT) 20# Date: Wed, 10 May 2006 18:41:01 -0600 (MDT)
21# [rest omitted] 21# [rest omitted]
22# In the mean time, please consider this email to grant permissions for 22# In the mean time, please consider this email to grant permissions for
23# the NetBSD distros to make available both through online download and 23# the NetBSD distros to make available both through online download and
24# physical media both the original XEphem tarball and a binary built 24# physical media both the original XEphem tarball and a binary built
25# from the original tarball (including possible changes for porting but 25# from the original tarball (including possible changes for porting but
26# not changes in functionality). 26# not changes in functionality).
27 27
28# uses built libpng without synchronization 28# uses built libpng without synchronization
29MAKE_JOBS_SAFE= no 29MAKE_JOBS_SAFE= no
30 30
31WRKSRC= ${WRKDIR}/${DISTNAME}/GUI/xephem 31WRKSRC= ${WRKDIR}/${DISTNAME}/GUI/xephem
32USE_TOOLS+= gmake perl:run 32USE_TOOLS+= gmake pax perl:run
33REPLACE_PERL+= auxil/*.pl 33REPLACE_PERL+= auxil/*.pl
34 34
35LIBS.SunOS+= -lnsl -lsocket 35LIBS.SunOS+= -lnsl -lsocket
36X11_LDFLAGS+= ${LIBS} 36X11_LDFLAGS+= ${LIBS}
37MAKE_ENV+= X11_LDFLAGS=${X11_LDFLAGS:Q} 37MAKE_ENV+= X11_LDFLAGS=${X11_LDFLAGS:Q}
38 38
39REPLACE_INTERPRETER+= perl 39REPLACE_INTERPRETER+= perl
40REPLACE.perl.old= .*/bin/perl 40REPLACE.perl.old= .*/bin/perl
41REPLACE.perl.new= ${PREFIX}/bin/perl 41REPLACE.perl.new= ${PREFIX}/bin/perl
42REPLACE_FILES.perl= auxil/astorb2edb.pl auxil/mpcorb2edb.pl 42REPLACE_FILES.perl= auxil/astorb2edb.pl auxil/mpcorb2edb.pl
43 43
44.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm32" 44.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm32"
45GCC_REQD+= 2.95.3 45GCC_REQD+= 2.95.3
46.endif 46.endif
47 47
48INSTALLATION_DIRS= bin lib/X11/app-defaults share/xephem/tools \ 48INSTALLATION_DIRS= bin lib/X11/app-defaults share/xephem/tools \
49 ${PKGMANDIR}/man1 49 ${PKGMANDIR}/man1
50 50
51do-install: 51do-install:
52 ${INSTALL_PROGRAM} ${WRKSRC}/xephem ${DESTDIR}${PREFIX}/bin 52 ${INSTALL_PROGRAM} ${WRKSRC}/xephem ${DESTDIR}${PREFIX}/bin
53 ${INSTALL_MAN} ${WRKSRC}/xephem.man ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/xephem.1 53 ${INSTALL_MAN} ${WRKSRC}/xephem.man ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/xephem.1
54 ${SED} s,@PREFIX@,${PREFIX}, ${FILESDIR}/XEphem.ad > ${WRKDIR}/XEphem 54 ${SED} s,@PREFIX@,${PREFIX}, ${FILESDIR}/XEphem.ad > ${WRKDIR}/XEphem
55 ${INSTALL_DATA} ${WRKDIR}/XEphem ${DESTDIR}${PREFIX}/lib/X11/app-defaults 55 ${INSTALL_DATA} ${WRKDIR}/XEphem ${DESTDIR}${PREFIX}/lib/X11/app-defaults
56 cd ${WRKSRC}; ${CP} -R auxil catalogs fifos fits gallery help lo \ 56 cd ${WRKSRC}; pax -rw auxil catalogs fifos fits gallery help lo \
57 ${DESTDIR}${PREFIX}/share/xephem 57 ${DESTDIR}${PREFIX}/share/xephem
58 ${RM} -f ${DESTDIR}${PREFIX}/share/xephem/*/._* 58 ${RM} -f ${DESTDIR}${PREFIX}/share/xephem/*/._*
59 ${CHOWN} -R ${SHAREOWN} ${DESTDIR}${PREFIX}/share/xephem 59 ${CHOWN} -R ${SHAREOWN} ${DESTDIR}${PREFIX}/share/xephem
60 60
61.include "../../x11/libX11/buildlink3.mk" 61.include "../../x11/libX11/buildlink3.mk"
62.include "../../x11/libXext/buildlink3.mk" 62.include "../../x11/libXext/buildlink3.mk"
63.include "../../x11/libXmu/buildlink3.mk" 63.include "../../x11/libXmu/buildlink3.mk"
64.include "../../x11/libXt/buildlink3.mk" 64.include "../../x11/libXt/buildlink3.mk"
65.include "../../mk/motif.buildlink3.mk" 65.include "../../mk/motif.buildlink3.mk"
66.include "../../mk/bsd.pkg.mk" 66.include "../../mk/bsd.pkg.mk"