diff options
author | foxfair <foxfair@FreeBSD.org> | 2000-03-19 11:10:36 +0800 |
---|---|---|
committer | foxfair <foxfair@FreeBSD.org> | 2000-03-19 11:10:36 +0800 |
commit | 573f1635c78f5d1852cc6a9cb31d86f025aec4f5 (patch) | |
tree | 716ac54ebddd386bf939a815fac5decea63e43e8 /games/xphotohunter/files | |
parent | 2f07bd5a023624d6ca9114b2735e0806660be991 (diff) | |
download | freebsd-ports-graphics-573f1635c78f5d1852cc6a9cb31d86f025aec4f5.tar.gz freebsd-ports-graphics-573f1635c78f5d1852cc6a9cb31d86f025aec4f5.tar.zst freebsd-ports-graphics-573f1635c78f5d1852cc6a9cb31d86f025aec4f5.zip |
PR: 16869
Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Approved by: port's maintainer
- Fix CATEGORIES/LIB_DEPENDS
- Support CC/CFLAGS/PREFIX properly
- Support imlib-config
- Add USE_X_PREFIX
- Remove USE_GMAKE
- Move post-install message to pkg/MESSAGE
- Add WWW: line and remove version number from pkg/DESCR
Diffstat (limited to 'games/xphotohunter/files')
-rw-r--r-- | games/xphotohunter/files/patch-aa | 38 |
1 files changed, 28 insertions, 10 deletions
diff --git a/games/xphotohunter/files/patch-aa b/games/xphotohunter/files/patch-aa index c08ecab0ec5..08de1c2028b 100644 --- a/games/xphotohunter/files/patch-aa +++ b/games/xphotohunter/files/patch-aa @@ -1,25 +1,43 @@ ---- Makefile.orig Sat Sep 25 00:57:55 1999 -+++ Makefile Fri Oct 8 03:09:28 1999 -@@ -5,19 +5,19 @@ +--- Makefile.orig Sat Sep 25 01:57:55 1999 ++++ Makefile Sun Feb 20 21:41:12 2000 +@@ -1,29 +1,29 @@ + # XPhotoHunter v1.4 + + # If you want to install data in another directory, edit the following line. +-DATADIR=/usr/local/share/xphotohunter ++DATADIR=${PREFIX}/share/xphotohunter # If you want to install executive files in another directory, edit the following line. - BINDIR=/usr/local/bin +-BINDIR=/usr/local/bin ++BINDIR=${PREFIX}/bin # Where your locale dir is -LOCALEDIR=/usr/share/locale -+LOCALEDIR=/usr/local/share/locale ++LOCALEDIR=${PREFIX}/share/locale SHELL=sh - CC=gcc +-CC=gcc ++CC?=gcc DEFS=-DDATA_DIR=\"$(DATADIR)\" #INCLUDES=-I./ -I/usr/include -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/local/include #INCLUDES=-I./ -I/usr/include -I/usr/X11R6/include -I/usr/local/include `gtk-config --cflags` -INCLUDES=`gtk-config --cflags` -+INCLUDES=`gtk12-config --cflags` ++INCLUDES=`imlib-config --cflags-gdk` # The sequence of the "-l" is important when you compile staticly. #LIBS=-L/usr/lib -L/usr/X11R6/lib -L/usr/local/lib -lgtk -lgdk_imlib -lgdk -lglib -ljpeg -ltiff -lpng \ # -lz -lgif -lXi -lXext -lX11 -lm #LIBS=-L/usr/lib -L/usr/X11R6/lib -L/usr/local/lib `gtk-config --libs` -LIBS=-lgdk_imlib -ljpeg -ltiff -lpng -lz -lgif `gtk-config --libs` -lXi -lXext -lX11 -lm -+LIBS=-lgdk_imlib -ljpeg -ltiff -lpng -lz -lungif `gtk12-config --libs` -lXi -lXext -lX11 -lm - CFLAGS= -g -O2 -Wall +-CFLAGS= -g -O2 -Wall ++LIBS=`imlib-config --libs-gdk` ++CFLAGS?= -g -O2 -Wall + +-INSTALL = /usr/bin/install -c +-INSTALL_DIR= $(INSTALL) -d -m 755 +-INSTALL_BIN = $(INSTALL) -m 755 +-INSTALL_DATA = $(INSTALL) -m 644 ++INSTALL ?= /usr/bin/install -c ++INSTALL_DIR= mkdir -p ++INSTALL_BIN = ${BSD_INSTALL_PROGRAM} ++INSTALL_DATA = ${BSD_INSTALL_DATA} + RM=rm -fr - INSTALL = /usr/bin/install -c + SRCS=main.c handler.c |