aboutsummaryrefslogtreecommitdiff
path: root/astro/xrmap
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-04-19 17:56:05 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-04-19 17:56:05 +0000
commit3e4ed01146cfe2bdca465bd0e4d199341f62a0b6 (patch)
treed573ea09b2bf6be67cb497df199932da9e2707c4 /astro/xrmap
parent40049f4af2200d0dcf33596508688623fc75f764 (diff)
downloadports-3e4ed01146cfe2bdca465bd0e4d199341f62a0b6.tar.gz
ports-3e4ed01146cfe2bdca465bd0e4d199341f62a0b6.zip
Notes
Diffstat (limited to 'astro/xrmap')
-rw-r--r--astro/xrmap/Makefile5
-rw-r--r--astro/xrmap/files/patch-earthview_Makefile2
2 files changed, 3 insertions, 4 deletions
diff --git a/astro/xrmap/Makefile b/astro/xrmap/Makefile
index 0c67ff9f39c0..662e059d83ff 100644
--- a/astro/xrmap/Makefile
+++ b/astro/xrmap/Makefile
@@ -7,7 +7,7 @@
PORTNAME= xrmap
PORTVERSION= 2.33
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= astro geography
MASTER_SITES= ftp://ftp.ac-grenoble.fr/ge/geosciences/xrmap/data/:data \
ftp://ftp.ac-grenoble.fr/ge/geosciences/xrmap/:src
@@ -24,8 +24,7 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
USE_BZIP2= yes
USE_IMAKE= yes
MANCOMPRESSED= no
-USE_XPM= yes
-USE_XLIB= yes
+USE_XORG= xpm
CIAFILE= CIA_WDB2.jpd.bz2
POPFILE= population.dat.bz2
diff --git a/astro/xrmap/files/patch-earthview_Makefile b/astro/xrmap/files/patch-earthview_Makefile
index 95b04ad0d0ab..672d4ead074f 100644
--- a/astro/xrmap/files/patch-earthview_Makefile
+++ b/astro/xrmap/files/patch-earthview_Makefile
@@ -5,7 +5,7 @@
earthview: earthview.c
- gcc -Wall -DDATADIR=\"$(DATADIR)\" earthview.c -o earthview -L/usr/X11R6/lib -lX11 -lm -lz -lbz2
-+ $(CC) $(CFLAGS) -DDATADIR=\"$(DATADIR)\" earthview.c -o earthview -I$(X11BASE)/include -L$(X11BASE)/lib -lX11 -lm -lz -lbz2
++ $(CC) $(CFLAGS) -DDATADIR=\"$(DATADIR)\" earthview.c -o earthview -I$(LOCALBASE)/include -L$(LOCALBASE)/lib -lX11 -lm -lz -lbz2
install:
install -c -s earthview $(BINDIR)