diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2002-08-31 00:13:25 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2002-08-31 00:13:25 +0000 |
commit | 8a609be53116f279d9c38adaeae64b221e32514e (patch) | |
tree | 8ef6e5a897ec95e2315c3a5152e85e7709ca1f82 /audio/lame | |
parent | 7dd2eb9a863452e5c328606287c11b87a590b92c (diff) | |
download | ports-8a609be53116f279d9c38adaeae64b221e32514e.tar.gz ports-8a609be53116f279d9c38adaeae64b221e32514e.zip |
Notes
Diffstat (limited to 'audio/lame')
-rw-r--r-- | audio/lame/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/audio/lame/Makefile b/audio/lame/Makefile index 82d372de18e0..3291babf0548 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 |