aboutsummaryrefslogtreecommitdiffstats
path: root/astro
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2010-11-12 14:45:51 +0800
committerkevlo <kevlo@FreeBSD.org>2010-11-12 14:45:51 +0800
commita08b5e3eea33fce750616a5102af909a29dc7a5e (patch)
treec43688632cf4f01e68a168c3c090b24bd401798a /astro
parent5207809ca7f74c95091bf9afd84a26052735a8a5 (diff)
downloadfreebsd-ports-gnome-a08b5e3eea33fce750616a5102af909a29dc7a5e.tar.gz
freebsd-ports-gnome-a08b5e3eea33fce750616a5102af909a29dc7a5e.tar.zst
freebsd-ports-gnome-a08b5e3eea33fce750616a5102af909a29dc7a5e.zip
Fix mtree error
Diffstat (limited to 'astro')
-rw-r--r--astro/gmapcatcher/Makefile6
-rw-r--r--astro/gmapcatcher/files/patch-setup.py8
2 files changed, 10 insertions, 4 deletions
diff --git a/astro/gmapcatcher/Makefile b/astro/gmapcatcher/Makefile
index 58f3dd8a1b2a..273183b8492f 100644
--- a/astro/gmapcatcher/Makefile
+++ b/astro/gmapcatcher/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gmapcatcher
PORTVERSION= 0.7.5.0
+PORTREVISION= 1
CATEGORIES= astro geography
MASTER_SITES= http://gmapcatcher.googlecode.com/files/
DISTNAME= GMapCatcher-${PORTVERSION}
@@ -33,5 +34,10 @@ post-patch:
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/download.py ${PREFIX}/bin/mapdownloader
${INSTALL_SCRIPT} ${WRKSRC}/maps.py ${PREFIX}/bin/mapcatcher
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/changelog ${DOCSDIR}
+.endif
.include <bsd.port.mk>
diff --git a/astro/gmapcatcher/files/patch-setup.py b/astro/gmapcatcher/files/patch-setup.py
index c1a115ab6432..19cf6422a9f7 100644
--- a/astro/gmapcatcher/files/patch-setup.py
+++ b/astro/gmapcatcher/files/patch-setup.py
@@ -1,15 +1,15 @@
--- setup.py.orig 2010-08-23 02:36:19.000000000 +0800
-+++ setup.py 2010-09-08 11:00:27.000000000 +0800
-@@ -13,15 +13,14 @@
++++ setup.py 2010-11-12 14:34:24.000000000 +0800
+@@ -13,15 +13,13 @@
description = 'Offline Map Viewer',
version = VERSION,
url = WEB_ADDRESS,
- data_files = [('share/doc/mapcatcher', ['README', 'changelog']),
-+ data_files = [('share/doc/gmapcatcher', ['README', 'changelog']),
- ('share/applications', ['gmapcatcher.desktop']),
+- ('share/applications', ['gmapcatcher.desktop']),
- ('share/man/man1',
- ['man/mapcatcher.1.gz', 'man/mapdownloader.1.gz']),
- ('share/pixmaps', ['images/mapcatcher.png']),
++ data_files = [('share/applications', ['gmapcatcher.desktop']),
+ ('man/man1',
+ ['man/mapcatcher.1', 'man/mapdownloader.1']),
+ ('share/pixmaps', ['images/map.png']),