summaryrefslogtreecommitdiffstats
path: root/astro
diff options
context:
space:
mode:
Diffstat (limited to 'astro')
-rw-r--r--astro/spacechart/Makefile10
-rw-r--r--astro/spacechart/distinfo2
-rw-r--r--astro/spacechart/files/patch-Makefile.in17
-rw-r--r--astro/spacechart/pkg-plist4
4 files changed, 26 insertions, 7 deletions
diff --git a/astro/spacechart/Makefile b/astro/spacechart/Makefile
index 1b68ccd..1a0bd59 100644
--- a/astro/spacechart/Makefile
+++ b/astro/spacechart/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= spacechart
-PORTVERSION= 0.9.3
+PORTVERSION= 0.9.4
CATEGORIES= astro
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -28,4 +28,12 @@ post-patch:
pre-build:
@${RM} -Rf ${WRKSRC}/intl
+post-install:
+ @${INSTALL_DATA} ${WRKSRC}/doc/sample-spacechartrc ${PREFIX}/etc
+.ifndef(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/doc/coordinates.txt \
+ ${WRKSRC}/README ${DOCSDIR}
+.endif
+
.include <bsd.port.mk>
diff --git a/astro/spacechart/distinfo b/astro/spacechart/distinfo
index be0fdfe..367f0ff 100644
--- a/astro/spacechart/distinfo
+++ b/astro/spacechart/distinfo
@@ -1 +1 @@
-MD5 (spacechart-0.9.3.tar.gz) = 566888154cc9918121a97747ba2c89fd
+MD5 (spacechart-0.9.4.tar.gz) = fce931988c31638b668dc366e602f062
diff --git a/astro/spacechart/files/patch-Makefile.in b/astro/spacechart/files/patch-Makefile.in
index a75043a1..d533e9c 100644
--- a/astro/spacechart/files/patch-Makefile.in
+++ b/astro/spacechart/files/patch-Makefile.in
@@ -1,11 +1,18 @@
---- Makefile.in.orig Mon Dec 17 00:21:35 2001
-+++ Makefile.in Mon Dec 17 00:21:46 2001
-@@ -109,7 +109,7 @@
+--- Makefile.in.orig Mon Dec 24 06:47:10 2001
++++ Makefile.in Tue Jan 15 16:30:53 2002
+@@ -109,14 +109,11 @@
cflags_set = @cflags_set@
cxxflags_set = @cxxflags_set@
--SUBDIRS = src include po intl data pixmaps
+-SUBDIRS = src include po intl data pixmaps doc
+SUBDIRS = src include po data pixmaps
- EXTRA_DIST = spacechartrc
+-EXTRA_DIST = spacechartrc README
+
+-docsdir = $(prefix)/share/doc/spacechart
+ confdir = $(sysconfdir)
+
+-docs_DATA = README
+ conf_DATA = spacechartrc
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
diff --git a/astro/spacechart/pkg-plist b/astro/spacechart/pkg-plist
index 088bb30..961789e 100644
--- a/astro/spacechart/pkg-plist
+++ b/astro/spacechart/pkg-plist
@@ -1,5 +1,9 @@
bin/spacechart
+etc/sample-spacechartrc
etc/spacechartrc
+%%PORTDOCS%%share/doc/spacechart/README
+%%PORTDOCS%%share/doc/spacechart/coordinates.txt
share/locale/es/LC_MESSAGES/spacechart.mo
share/spacechart/gliese.dat
@dirrm share/spacechart
+%%PORTDOCS%%@dirrm share/doc/spacechart
OpenPOWER on IntegriCloud