diff options
author | clement <clement@FreeBSD.org> | 2004-04-06 16:51:40 +0800 |
---|---|---|
committer | clement <clement@FreeBSD.org> | 2004-04-06 16:51:40 +0800 |
commit | 6843638095b4b5ff045a24f8875944875998c028 (patch) | |
tree | 114330d5bb873a7543792bb8140da0a766e00f97 /french | |
parent | 69f493c636f7203007611bb00e28f98b2a6bbddc (diff) | |
download | freebsd-ports-graphics-6843638095b4b5ff045a24f8875944875998c028.tar.gz freebsd-ports-graphics-6843638095b4b5ff045a24f8875944875998c028.tar.zst freebsd-ports-graphics-6843638095b4b5ff045a24f8875944875998c028.zip |
- Cosmetic changes.
Diffstat (limited to 'french')
-rw-r--r-- | french/gfaim/Makefile | 6 | ||||
-rw-r--r-- | french/gfaim/files/patch-Makefile | 23 |
2 files changed, 17 insertions, 12 deletions
diff --git a/french/gfaim/Makefile b/french/gfaim/Makefile index 05f5b1d7059..55161b070a3 100644 --- a/french/gfaim/Makefile +++ b/french/gfaim/Makefile @@ -25,8 +25,8 @@ PLIST_FILES= bin/gfaim bin/imprec lib/gfaim/cuisine.dat \ lib/gfaim/cuisine.idx PLIST_DIRS= lib/gfaim PORTDOCS= legal.txt lisezmoi.txt - -post-install: - ${STRIP_CMD} ${PREFIX}/bin/gfaim +.if defined(NOPORTDOCS) +MAKE_ENV+= NOPORTDOCS=yes +.endif .include <bsd.port.mk> diff --git a/french/gfaim/files/patch-Makefile b/french/gfaim/files/patch-Makefile index 20d22cb4cfe..1dd19474cf1 100644 --- a/french/gfaim/files/patch-Makefile +++ b/french/gfaim/files/patch-Makefile @@ -1,13 +1,16 @@ ---- Makefile.orig Tue Nov 21 03:35:22 2000 -+++ Makefile Fri Jan 17 03:26:00 2003 -@@ -1,18 +1,15 @@ +--- Makefile.orig Tue Nov 21 11:35:22 2000 ++++ Makefile Tue Apr 6 08:48:34 2004 +@@ -1,18 +1,19 @@ -CC=gcc -DATADIR=/usr/lib/gfaim -gfaim: gfaim.c - $(CC) -DDATADIR="\"$(DATADIR)\"" `gtk-config --cflags` gfaim.c -o gfaim `gtk-config --libs` ++CFLGS= ${CFLAGS} `${GTK_CONFIG} --cflags` ++LIBS= `${GTK_CONFIG} --libs` ${LDFLAGS} ++ +all: gfaim.c -+ $(CC) -DDATADIR="\"$(DATADIR)\"" `gtk12-config --cflags` gfaim.c -o gfaim `gtk12-config --libs` ++ $(CC) -DDATADIR="\"$(DATADIR)\"" ${CFLGS} gfaim.c -o gfaim ${LIBS} clean: rm -f *.o gfaim @@ -20,10 +23,12 @@ - install *.txt /usr/doc/gfaim - - -+ install -g bin -m 755 gfaim $(PREFIX)/bin -+ install -g bin -m 755 imprec $(PREFIX)/bin +- ++ ${BSD_INSTALL_PROGRAM} gfaim $(PREFIX)/bin ++ ${BSD_INSTALL_SCRIPT} imprec $(PREFIX)/bin + install -d $(PREFIX)/lib/gfaim -+ install -m 644 *.dat *.idx $(PREFIX)/lib/gfaim ++ ${BSD_INSTALL_DATA} *.dat *.idx $(PREFIX)/lib/gfaim ++.if !defined(NOPORTDOCS) + install -d $(PREFIX)/share/doc/gfaim -+ install *.txt $(PREFIX)/share/doc/gfaim - ++ ${BSD_INSTALL_DATA} *.txt $(PREFIX)/share/doc/gfaim ++.endif |