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 /audio/gmixer | |
parent | Location 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 'audio/gmixer')
-rw-r--r-- | audio/gmixer/Makefile | 6 | ||||
-rw-r--r-- | audio/gmixer/files/patch-aa | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/audio/gmixer/Makefile b/audio/gmixer/Makefile index 88626fbb6cf9..60ea5c32c97c 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 fa5b831ae2a9..688a6fc98822 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/ |