summaryrefslogtreecommitdiff
path: root/astro/sky2000
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2013-10-25 14:04:57 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2013-10-25 14:04:57 +0000
commited0fdb020abee50e793ab0f8b866414af56acb67 (patch)
tree9d0d4c2a5c18a3c4bfced2be59b148b2c0f95c4b /astro/sky2000
parent- Update to 1.7.43 (diff)
support STAGEDIR.
Notes
Notes: svn path=/head/; revision=331586
Diffstat (limited to 'astro/sky2000')
-rw-r--r--astro/sky2000/Makefile1
-rw-r--r--astro/sky2000/files/patch-data-Makefile.in17
-rw-r--r--astro/sky2000/pkg-plist2
3 files changed, 18 insertions, 2 deletions
diff --git a/astro/sky2000/Makefile b/astro/sky2000/Makefile
index 5c00663ddc4a..a5d4b659b811 100644
--- a/astro/sky2000/Makefile
+++ b/astro/sky2000/Makefile
@@ -10,7 +10,6 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Binary representation of the Sky2000 star catalog
GNU_CONFIGURE= yes
-NO_STAGE= yes
DATADIR= ${PREFIX}/share/nova
diff --git a/astro/sky2000/files/patch-data-Makefile.in b/astro/sky2000/files/patch-data-Makefile.in
new file mode 100644
index 000000000000..db27639724d2
--- /dev/null
+++ b/astro/sky2000/files/patch-data-Makefile.in
@@ -0,0 +1,17 @@
+--- data/Makefile.in.orig 2013-10-25 14:33:23.000000000 +0800
++++ data/Makefile.in 2013-10-25 14:36:57.000000000 +0800
+@@ -226,11 +226,11 @@ uninstall-am: uninstall-info-am
+
+ install-data-local:
+ @$(NORMAL_INSTALL)
+- $(mkinstalldirs) @NOVA_CATALOG_DIR@;
+- $(INSTALL_DATA) sky2000.ncd $(NOVA_CATALOG_DIR)../sky2000.ncd
++ $(mkinstalldirs) $(DESTDIR)@NOVA_CATALOG_DIR@;
++ $(INSTALL_DATA) sky2000.ncd $(DESTDIR)$(NOVA_CATALOG_DIR)../sky2000.ncd
+ for catalog in *.noc ; do \
+ if test -f $$catalog; then \
+- $(INSTALL_DATA) $$catalog $(NOVA_CATALOG_DIR); \
++ $(INSTALL_DATA) $$catalog $(DESTDIR)$(NOVA_CATALOG_DIR); \
+ fi \
+ done
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
diff --git a/astro/sky2000/pkg-plist b/astro/sky2000/pkg-plist
index d84727b181d7..0eaa2d7e50d2 100644
--- a/astro/sky2000/pkg-plist
+++ b/astro/sky2000/pkg-plist
@@ -1,3 +1,4 @@
+%%DATADIR%%/catalogs/sky2000.ncd
%%DATADIR%%/catalogs/sky2000/sky2000-m10.noc
%%DATADIR%%/catalogs/sky2000/sky2000-m11.noc
%%DATADIR%%/catalogs/sky2000/sky2000-m12.noc
@@ -13,7 +14,6 @@
%%DATADIR%%/catalogs/sky2000/sky2000-m7.noc
%%DATADIR%%/catalogs/sky2000/sky2000-m8.noc
%%DATADIR%%/catalogs/sky2000/sky2000-m9.noc
-%%DATADIR%%/catalogs/sky2000.ncd
@dirrm %%DATADIR%%/catalogs/sky2000
@dirrm %%DATADIR%%/catalogs
@dirrmtry %%DATADIR%%