| @@ -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 | |
3 | DISTNAME= xephem-3.7.7 | | 3 | DISTNAME= xephem-3.7.7 |
4 | PKGREVISION= 1 | | 4 | PKGREVISION= 1 |
5 | CATEGORIES= x11 | | 5 | CATEGORIES= x11 |
6 | MASTER_SITES= http://97.74.56.125/free/ | | 6 | MASTER_SITES= http://97.74.56.125/free/ |
7 | | | 7 | |
8 | MAINTAINER= gdt@NetBSD.org | | 8 | MAINTAINER= gdt@NetBSD.org |
9 | HOMEPAGE= http://www.clearskyinstitute.com/xephem/ | | 9 | HOMEPAGE= http://www.clearskyinstitute.com/xephem/ |
10 | COMMENT= Interactive astronomical ephemeris program | | 10 | COMMENT= Interactive astronomical ephemeris program |
11 | LICENSE= xephem-license | | 11 | LICENSE= 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 |
29 | MAKE_JOBS_SAFE= no | | 29 | MAKE_JOBS_SAFE= no |
30 | | | 30 | |
31 | WRKSRC= ${WRKDIR}/${DISTNAME}/GUI/xephem | | 31 | WRKSRC= ${WRKDIR}/${DISTNAME}/GUI/xephem |
32 | USE_TOOLS+= gmake perl:run | | 32 | USE_TOOLS+= gmake pax perl:run |
33 | REPLACE_PERL+= auxil/*.pl | | 33 | REPLACE_PERL+= auxil/*.pl |
34 | | | 34 | |
35 | LIBS.SunOS+= -lnsl -lsocket | | 35 | LIBS.SunOS+= -lnsl -lsocket |
36 | X11_LDFLAGS+= ${LIBS} | | 36 | X11_LDFLAGS+= ${LIBS} |
37 | MAKE_ENV+= X11_LDFLAGS=${X11_LDFLAGS:Q} | | 37 | MAKE_ENV+= X11_LDFLAGS=${X11_LDFLAGS:Q} |
38 | | | 38 | |
39 | REPLACE_INTERPRETER+= perl | | 39 | REPLACE_INTERPRETER+= perl |
40 | REPLACE.perl.old= .*/bin/perl | | 40 | REPLACE.perl.old= .*/bin/perl |
41 | REPLACE.perl.new= ${PREFIX}/bin/perl | | 41 | REPLACE.perl.new= ${PREFIX}/bin/perl |
42 | REPLACE_FILES.perl= auxil/astorb2edb.pl auxil/mpcorb2edb.pl | | 42 | REPLACE_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" |
45 | GCC_REQD+= 2.95.3 | | 45 | GCC_REQD+= 2.95.3 |
46 | .endif | | 46 | .endif |
47 | | | 47 | |
48 | INSTALLATION_DIRS= bin lib/X11/app-defaults share/xephem/tools \ | | 48 | INSTALLATION_DIRS= bin lib/X11/app-defaults share/xephem/tools \ |
49 | ${PKGMANDIR}/man1 | | 49 | ${PKGMANDIR}/man1 |
50 | | | 50 | |
51 | do-install: | | 51 | do-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" |