freebsd-ports/science/g3data/files/patch-Makefile
Edward Tomasz Napierala d802bfdc9d Update to 1.5.3.
2009-01-12 20:21:31 +00:00

24 lines
691 B
Text

--- Makefile.orig 2008-12-14 09:20:17.000000000 +0100
+++ Makefile 2009-01-11 15:19:56.000000000 +0100
@@ -1,8 +1,7 @@
-CC=gcc
-CFLAGS=-Wall `pkg-config --cflags gtk+-2.0`
+CFLAGS+=-Wall `pkg-config --cflags gtk+-2.0`
LIBS=`pkg-config --libs gtk+-2.0`
-bindir ?= /usr/bin
-mandir ?= /usr/share/man
+bindir= ${PREFIX}/bin
+mandir= ${PREFIX}/man
.c.o:
$(CC) -c $(CFLAGS) $(CPPFLAGS) $<
@@ -21,7 +20,8 @@
g3data.1.gz: g3data.sgml
rm -f *.1
- onsgmls g3data.sgml | sgmlspl /usr/share/sgml/docbook/utils-0.6.14/helpers/docbook2man-spec.pl
+ nsgmls g3data.sgml | sgmlspl /usr/local/share/sgml/docbook/utils-0.6.14/helpers/docbook2man-spec.pl
+ mv *.1 g3data.1
gzip g3data.1
clean: