summaryrefslogtreecommitdiffstats
path: root/audio/lame/Makefile
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2002-08-31 00:13:25 +0000
committermarcus <marcus@FreeBSD.org>2002-08-31 00:13:25 +0000
commitc09dc513f70813fd1915b12787ca0e934c4e4f5d (patch)
treed861acef1f689743981e09642f332436fdd4994a /audio/lame/Makefile
parent0854f152efed3fca29e6e1cf16edae3f9fe70059 (diff)
downloadFreeBSD-ports-c09dc513f70813fd1915b12787ca0e934c4e4f5d.zip
FreeBSD-ports-c09dc513f70813fd1915b12787ca0e934c4e4f5d.tar.gz
Use USE_GNOMENG.
PR: 42232 Submitted by: Edwin Groothuis <edwin@mavetju.org>
Diffstat (limited to 'audio/lame/Makefile')
-rw-r--r--audio/lame/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/audio/lame/Makefile b/audio/lame/Makefile
index 82d372d..3291bab 100644
--- a/audio/lame/Makefile
+++ b/audio/lame/Makefile
@@ -20,14 +20,16 @@ BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
-WANT_GTK= yes
+USE_GNOMENG= yes
+WANT_GNOME= yes
CONFIGURE_ARGS= --enable-nasm
.include <bsd.port.pre.mk>
-.if (defined(HAVE_GTK) || defined(WITH_GTK)) && !defined(WITHOUT_GTK)
-USE_GTK= yes
+.if (${HAVE_GNOME:Mgtk12}!="" || defined(WITH_GTK)) && !defined(WITHOUT_GTK)
+USE_GNOME+= gtk12
PLIST_SUB+= WITH_GTK=''
+PKGNAMESUFFIX= -gtk
.else
PLIST_SUB+= WITH_GTK='@comment '
.endif
@@ -35,12 +37,12 @@ PLIST_SUB+= WITH_GTK='@comment '
MAN1= lame.1
post-build:
-.if defined(HAVE_GTK) && !defined(WITHOUT_GTK)
+.if ${HAVE_GNOME:Mgtk12}!="" && !defined(WITHOUT_GTK)
cd ${WRKSRC}/frontend && make mp3x
.endif
post-install:
-.if defined(HAVE_GTK) && !defined(WITHOUT_GTK)
+.if ${HAVE_GNOME:Mgtk12}!="" && !defined(WITHOUT_GTK)
${INSTALL_PROGRAM} ${WRKSRC}/frontend/mp3x ${PREFIX}/bin/
.endif
OpenPOWER on IntegriCloud