summaryrefslogtreecommitdiffstats
path: root/audio/gmixer
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>2000-07-07 19:59:26 +0000
committersteve <steve@FreeBSD.org>2000-07-07 19:59:26 +0000
commit7879264d29ab2a706345ab21de9f9cd3139efc7a (patch)
tree0fb8a7b052271f54c6bdf617de3027472d998225 /audio/gmixer
parentc691dd330a3da8e70bfc74508b9fb3b585604a4d (diff)
downloadFreeBSD-ports-7879264d29ab2a706345ab21de9f9cd3139efc7a.zip
FreeBSD-ports-7879264d29ab2a706345ab21de9f9cd3139efc7a.tar.gz
- 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 'audio/gmixer')
-rw-r--r--audio/gmixer/Makefile6
-rw-r--r--audio/gmixer/files/patch-aa2
2 files changed, 5 insertions, 3 deletions
diff --git a/audio/gmixer/Makefile b/audio/gmixer/Makefile
index 88626fb..60ea5c3 100644
--- a/audio/gmixer/Makefile
+++ b/audio/gmixer/Makefile
@@ -15,12 +15,14 @@ MAINTAINER= cpiazza@FreeBSD.org
LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
+GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
+
+MAKE_ENV= GTK_CONFIG="${GTK_CONFIG}"
ALL_TARGET= gmixer
-pre-install:
- @ ${MKDIR} ${PREFIX}/share/pixmaps
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gmixer ${PREFIX}/bin
+ @${MKDIR} ${PREFIX}/share/pixmaps
${INSTALL_DATA} ${WRKSRC}/icons/gmixer.xpm ${PREFIX}/share/pixmaps
.include <bsd.port.mk>
diff --git a/audio/gmixer/files/patch-aa b/audio/gmixer/files/patch-aa
index fa5b831..688a6fc 100644
--- a/audio/gmixer/files/patch-aa
+++ b/audio/gmixer/files/patch-aa
@@ -8,7 +8,7 @@
gmixer: gmixer.c
- $(CC) $(FLAGS) `gtk-config --cflags` `gtk-config --libs` gmixer.c -o gmixer
-+ $(CC) $(CFLAGS) `gtk12-config --cflags` `gtk12-config --libs` gmixer.c -o gmixer
++ $(CC) $(CFLAGS) `$(GTK_CONFIG) --cflags` `$(GTK_CONFIG) --libs` gmixer.c -o gmixer
install: gmixer
install -s -m 755 -o 0 -g 0 gmixer /usr/X11R6/bin/
install -m 644 -o 0 -g 0 icons/gmixer.xpm /usr/share/pixmaps/
OpenPOWER on IntegriCloud