summaryrefslogtreecommitdiffstats
path: root/astro
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2003-03-01 08:47:40 +0000
committerleeym <leeym@FreeBSD.org>2003-03-01 08:47:40 +0000
commit73b11dcc54d8307359a62a683582dc54ba33951c (patch)
treee0f5675aecabd59a8694ad2f31b98dd639aad1d5 /astro
parenta0ced148effdf61eb2af1ecd411dcf8fc3aa96ef (diff)
downloadFreeBSD-ports-73b11dcc54d8307359a62a683582dc54ba33951c.zip
FreeBSD-ports-73b11dcc54d8307359a62a683582dc54ba33951c.tar.gz
- Update to 0.13
- Port is now portlint-safe - Quality of port greatly improved - Update submitted as diff - Obsoletes ports/48550 PR: 48725 Submitted by: Nicholas Esborn <nick@netdot.net>
Diffstat (limited to 'astro')
-rw-r--r--astro/roadmap/Makefile37
-rw-r--r--astro/roadmap/distinfo2
-rw-r--r--astro/roadmap/files/patch-Makefile35
-rw-r--r--astro/roadmap/pkg-message11
-rw-r--r--astro/roadmap/pkg-plist31
5 files changed, 54 insertions, 62 deletions
diff --git a/astro/roadmap/Makefile b/astro/roadmap/Makefile
index b3eeb78..c810ae2 100644
--- a/astro/roadmap/Makefile
+++ b/astro/roadmap/Makefile
@@ -6,11 +6,11 @@
#
PORTNAME= roadmap
-PORTVERSION= 0.6
+PORTVERSION= 0.13
CATEGORIES= astro
MASTER_SITES= http://www.geocities.com/pascal_f_martin/roadmap/
MASTER_SITE_SUBDIR= ${PORTNAME}
-DISTNAME= ${PORTNAME}_0_6_src
+DISTNAME= ${PORTNAME}_${PORTVERSION:S/./_/}_src
EXTRACT_SUFX= .tgz
MAINTAINER= nick@netdot.net
@@ -19,29 +19,40 @@ COMMENT= RoadMap is a displays US maps provided by the US Census Bureau
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt
WRKSRC= ${WRKDIR}/${PORTNAME}
-BUILD_WRKSRC= ${WRKSRC}/src
+BUILD_WRKSRC= ${WRKSRC}/src/gtk
+INSTALL_WRKSRC= ${WRKSRC}/src
USE_GNOMENG= yes
USE_GNOME= gtk12
-BINARIES= buildmap buildus dumpmap roadmap roadgps
+BINS= buildmap buildus dumpmap
+GUI_BINS= gtkroadmap gtkroadgps
+SCRIPTS= rdmdownload rdmgetall rdmgenmaps rdmcompare
+DATA= sprites preferences schema
DOCS= AUTHORS BUGS COPYING README TODO
-DOCDIR= ${PREFIX}/share/doc/${PORTNAME}
do-install:
-.for bin in ${BINARIES}
- $(INSTALL_PROGRAM) ${BUILD_WRKSRC}/${bin} ${LOCALBASE}/bin
+.for _GUI_BIN in ${GUI_BINS}
+ ${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/gtk/${_GUI_BIN} ${X11BASE}/bin/${_GUI_BIN}
+.endfor
+.for _BIN in ${BINS}
+ ${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/${_BIN} ${LOCALBASE}/bin/${_BIN}
+.endfor
+.for _SCRIPT in ${SCRIPTS}
+ ${INSTALL_SCRIPT} ${INSTALL_WRKSRC}/${_SCRIPT} ${LOCALBASE}/bin/${_BIN}
+.endfor
+ ${MKDIR} ${DATADIR}
+.for _DATA in ${DATA}
+ ${INSTALL_DATA} ${INSTALL_WRKSRC}/${_DATA} ${DATADIR}/${_DATA}
.endfor
- ${MKDIR} ${PREFIX}/share/roadmap
-
.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCDIR}
-.for doc in ${DOCS}
- ${INSTALL_MAN} ${WRKSRC}/${doc} ${DOCDIR}
+ ${MKDIR} ${DOCSDIR}
+.for _DOC in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${_DOC} ${DOCSDIR}/${_DOC}
.endfor
.endif
post-install:
- @${CAT} ${PKGMESSAGE}
+ @${SED} -e "s|%%DOCSDIR%%|${DOCSDIR}|" ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/astro/roadmap/distinfo b/astro/roadmap/distinfo
index be9d126..bbd672e 100644
--- a/astro/roadmap/distinfo
+++ b/astro/roadmap/distinfo
@@ -1 +1 @@
-MD5 (roadmap_0_6_src.tgz) = 910054bdfecb309c82a782504e3bc4e6
+MD5 (roadmap_0_13_src.tgz) = b0706023f7d9e2946e89cf8d8a0cacf9
diff --git a/astro/roadmap/files/patch-Makefile b/astro/roadmap/files/patch-Makefile
index b4fb82d..e69de29 100644
--- a/astro/roadmap/files/patch-Makefile
+++ b/astro/roadmap/files/patch-Makefile
@@ -1,35 +0,0 @@
---- src/Makefile.orig Thu Oct 31 22:53:28 2002
-+++ src/Makefile Mon Nov 4 14:40:36 2002
-@@ -1,12 +1,12 @@
-
--GUICFLAGS=-DROADMAP_GUI_USES_GTK `gtk-config --cflags`
--GUILDFLAGS=`gtk-config --libs`
-+GUICFLAGS=-DROADMAP_GUI_USES_GTK `${GTK_CONFIG} --cflags`
-+GUILDFLAGS=`${GTK_CONFIG} --libs`
-
--CFLAGS=-O2 -ffast-math -fomit-frame-pointer -Wall $(GUICFLAGS)
-+CFLAGS+=-O2 -ffast-math -fomit-frame-pointer -Wall $(GUICFLAGS)
- # CFLAGS=-g -Wall -DROADMAP_DEBUG_HEAP $(GUICFLAGS)
- # CFLAGS=-g -Wall -pg -fprofile-arcs -g $(GUICFLAGS)
-
--LDFLAGS=-lm
-+LDFLAGS=-lm -L$(LOCALBASE)/lib
- # LDFLAGS=-pg $(LDFLAGS)
-
-
-@@ -103,13 +103,13 @@
- install: uninstall all
- mkdir -p $(INSTALLDIR)/share/roadmap
- cp *.rdm $(INSTALLDIR)/share/roadmap
-- cp roadmap.menu /usr/lib/menu/roadmap
-+# cp roadmap.menu /usr/lib/menu/roadmap
- cp $(EXECUTABLES) $(INSTALLDIR)/bin
-
- uninstall:
- cd $(INSTALLDIR)/bin ; rm -f $(EXECUTABLES)
- rm -rf $(INSTALLDIR)/share/roadmap
-- rm -f /usr/lib/menu/roadmap
-+# rm -f /usr/lib/menu/roadmap
-
- # --- The real targets --------------------------------------------
-
diff --git a/astro/roadmap/pkg-message b/astro/roadmap/pkg-message
index 609f5e4..d6c8c8b 100644
--- a/astro/roadmap/pkg-message
+++ b/astro/roadmap/pkg-message
@@ -1,5 +1,10 @@
+------------------------------------------------------------------
+RoadMap is at an early stage of development, and is not thoroughly
+documented. It would be very unwise to rely on RoadMap for real
+navigation.
-RoadMap is at an early stage of development, and is not thoroughly documented.
-See the README in /usr/local/share/doc/roadmap for instructions on obtaining
-and using the necessary data from the US Census Bureau.
+The instructions for downloading and installing the necessary
+TIGER data are located in:
+ %%DOCSDIR%%/README
+------------------------------------------------------------------
diff --git a/astro/roadmap/pkg-plist b/astro/roadmap/pkg-plist
index 9a15428..332857f 100644
--- a/astro/roadmap/pkg-plist
+++ b/astro/roadmap/pkg-plist
@@ -1,13 +1,24 @@
+@cwd %%X11BASE%%
+bin/gtkroadmap
+bin/gtkroadgps
+@exec ln -sf %D/bin/gtkroadmap %D/bin/roadmap
+@exec ln -sf %D/bin/gtkroadgps %D/bin/roadgps
+@unexec rm -f %D/bin/roadmap %D/bin/roadgps
+@cwd %%LOCALBASE%%
bin/buildmap
bin/buildus
bin/dumpmap
-bin/roadmap
-bin/roadgps
-%%PORTDOCS%%share/doc/roadmap/AUTHORS
-%%PORTDOCS%%share/doc/roadmap/BUGS
-%%PORTDOCS%%share/doc/roadmap/COPYING
-%%PORTDOCS%%share/doc/roadmap/README
-%%PORTDOCS%%share/doc/roadmap/TODO
-%%PORTDOCS%%@dirrm share/doc/roadmap
-@exec mkdir -p %D/share/roadmap 2>/dev/null || true
-@unexec rmdir %D/share/roadmap 2>/dev/null || true
+bin/rdmdownload
+bin/rdmgetall
+bin/rdmgenmaps
+bin/rdmcompare
+%%DATADIR%%/preferences
+%%DATADIR%%/schema
+%%DATADIR%%/sprites
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/BUGS
+%%PORTDOCS%%%%DOCSDIR%%/COPYING
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/TODO
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrm %%DATADIR%%
OpenPOWER on IntegriCloud