aboutsummaryrefslogtreecommitdiffstats
path: root/x11-clocks/asclock-gtk/Makefile
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>2000-07-08 03:59:26 +0800
committersteve <steve@FreeBSD.org>2000-07-08 03:59:26 +0800
commit7879264d29ab2a706345ab21de9f9cd3139efc7a (patch)
tree0fb8a7b052271f54c6bdf617de3027472d998225 /x11-clocks/asclock-gtk/Makefile
parentc691dd330a3da8e70bfc74508b9fb3b585604a4d (diff)
downloadfreebsd-ports-gnome-7879264d29ab2a706345ab21de9f9cd3139efc7a.tar.gz
freebsd-ports-gnome-7879264d29ab2a706345ab21de9f9cd3139efc7a.tar.zst
freebsd-ports-gnome-7879264d29ab2a706345ab21de9f9cd3139efc7a.zip
- 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 'x11-clocks/asclock-gtk/Makefile')
-rw-r--r--x11-clocks/asclock-gtk/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/x11-clocks/asclock-gtk/Makefile b/x11-clocks/asclock-gtk/Makefile
index 271adc5bfd6f..8ce9ca242723 100644
--- a/x11-clocks/asclock-gtk/Makefile
+++ b/x11-clocks/asclock-gtk/Makefile
@@ -15,9 +15,13 @@ MAINTAINER= kuriyama@FreeBSD.org
LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
+GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
HAS_CONFIGURE= YES
-WRKSRC= ${WRKDIR}/asclock-gtk
USE_X_PREFIX= YES
+MAKE_ENV= GTK_CONFIG="${GTK_CONFIG}"
ALL_TARGET= asclock
.if defined(BATCH)