diff options
author | Steve Price <steve@FreeBSD.org> | 2000-07-07 19:59:26 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 2000-07-07 19:59:26 +0000 |
commit | 89b7d2a4465628b128b8f5f7fde5f2a3e2b2a8df (patch) | |
tree | dab293772a4c12d5e7f6c0f30c1e8ae09e1cfe4d /net/ggsd | |
parent | 65b63032bfb3a3f1c8ac4ee660ac83927b43c92a (diff) | |
download | ports-89b7d2a4465628b128b8f5f7fde5f2a3e2b2a8df.tar.gz ports-89b7d2a4465628b128b8f5f7fde5f2a3e2b2a8df.zip |
Notes
Diffstat (limited to 'net/ggsd')
-rw-r--r-- | net/ggsd/Makefile | 15 | ||||
-rw-r--r-- | net/ggsd/files/patch-aa | 14 |
2 files changed, 18 insertions, 11 deletions
diff --git a/net/ggsd/Makefile b/net/ggsd/Makefile index efb1d1cb2928..31c8982b32e1 100644 --- a/net/ggsd/Makefile +++ b/net/ggsd/Makefile @@ -18,18 +18,23 @@ MAINTAINER= dima@chg.ru LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 -WRKSRC= ${WRKDIR}/GGSD EXTRACT_CMD= ${TAR} EXTRACT_BEFORE_ARGS= -xf EXTRACT_AFTER_ARGS= # empty +GTK_CONFIG?= ${X11BASE}/bin/gtk12-config + +WRKSRC= ${WRKDIR}/GGSD + +MAKE_ENV= GTK_CONFIG="${GTK_CONFIG}" + do-install: - @ ${INSTALL_PROGRAM} ${WRKSRC}/ggsd ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/ggsd ${PREFIX}/bin .if !defined(NOPORTDOCS) - @ ${MKDIR} ${PREFIX}/share/doc/ggsd - @ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ggsd - @ ${INSTALL_DATA} ${WRKSRC}/example.scr ${PREFIX}/share/doc/ggsd + @${MKDIR} ${PREFIX}/share/doc/ggsd + ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ggsd + ${INSTALL_DATA} ${WRKSRC}/example.scr ${PREFIX}/share/doc/ggsd .endif .include <bsd.port.mk> diff --git a/net/ggsd/files/patch-aa b/net/ggsd/files/patch-aa index 8fe37df8a479..e2ebf9924a23 100644 --- a/net/ggsd/files/patch-aa +++ b/net/ggsd/files/patch-aa @@ -1,11 +1,13 @@ ---- Makefile.orig Fri Feb 12 02:22:22 1999 -+++ Makefile Sat Feb 27 12:37:20 1999 -@@ -1,5 +1,6 @@ - CC=gcc +--- Makefile.orig Fri Feb 12 16:22:22 1999 ++++ Makefile Sat Jul 1 18:31:53 2000 +@@ -1,6 +1,7 @@ +-CC=gcc -CFLAGS=-Wall -O -DUSE_GUI `gtk-config --cflags` -DVERSION=\"0.1\" -LIBS=`gtk-config --libs` ++CC?=gcc +CFLAGS?=-O -+CFLAGS+=-Wall -DUSE_GUI `gtk12-config --cflags` -DVERSION=\"0.1\" -+LIBS=`gtk12-config --libs` ++CFLAGS+=-DUSE_GUI `$(GTK_CONFIG) --cflags` -DVERSION=\"0.1\" ++LIBS=`$(GTK_CONFIG) --libs` all: + $(CC) $(CFLAGS) -o ggsd ggsd.c $(LIBS) |