summaryrefslogtreecommitdiff
path: root/net/ggsd/Makefile
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2000-07-07 19:59:26 +0000
committerSteve Price <steve@FreeBSD.org>2000-07-07 19:59:26 +0000
commit89b7d2a4465628b128b8f5f7fde5f2a3e2b2a8df (patch)
treedab293772a4c12d5e7f6c0f30c1e8ae09e1cfe4d /net/ggsd/Makefile
parentLocation on MASTER_SITE has changed. (diff)
- Use GTK_CONFIG/GLIB_CONFIG instead of hardcoded gtk12-config/glib12-config
- Support CC/CFLAGS/PREIFX/LOCALBASE/X11BASE/MAKE/etc. properly PR: 19623 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Diffstat (limited to 'net/ggsd/Makefile')
-rw-r--r--net/ggsd/Makefile15
1 files changed, 10 insertions, 5 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>