forked from Lainports/freebsd-ports
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG - Remove X11BASE support in favor of LOCALBASE or PREFIX - Use USE_LDCONFIG instead of INSTALLS_SHLIB - Remove unneeded USE_GCC 3.4+ Thanks to all Helpers: Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr, ehaupt, nox, itetcu, flz, pav PR: 116263 Tested on: pointyhat Approved by: portmgr (pav)
17 lines
526 B
Text
17 lines
526 B
Text
--- Makefile.orig Wed Jul 31 20:33:51 2002
|
|
+++ Makefile Fri Sep 13 23:09:34 2002
|
|
@@ -1,11 +1,11 @@
|
|
-BINDIR=/usr/X11R6/bin
|
|
-DATADIR=/usr/share/earthview
|
|
+BINDIR=%%PREFIX%%/bin
|
|
+DATADIR=%%PREFIX%%/share/earthview
|
|
|
|
all: earthview
|
|
cat WARNING
|
|
|
|
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 -L%%LOCALBASE%%/lib -lX11 -lm -lz -lbz2
|
|
|
|
install:
|
|
install -c -s earthview $(BINDIR)
|