mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
Enable building of the GTK GUI.
Build it + define USE_GTK only if GUI is wanted/GTK is installed. Silence by: maintainer && jim PR: 35014
This commit is contained in:
parent
2fb637caa1
commit
9c4361e5b2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=57967
@ -18,9 +18,28 @@ BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
INSTALLS_SHLIB= yes
|
||||
USE_GTK= yes
|
||||
WANT_GTK= yes
|
||||
CONFIGURE_ARGS= --enable-nasm
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if (defined(HAVE_GTK) || defined(WITH_GTK)) && !defined(WITHOUT_GTK)
|
||||
USE_GTK= yes
|
||||
PLIST_SUB+= WITH_GTK=''
|
||||
.else
|
||||
PLIST_SUB+= WITH_GTK='@comment '
|
||||
.endif
|
||||
|
||||
MAN1= lame.1
|
||||
|
||||
.include <bsd.port.mk>
|
||||
post-build:
|
||||
.if defined(HAVE_GTK) && !defined(WITHOUT_GTK)
|
||||
(cd ${WRKSRC}/frontend && make mp3x)
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
.if defined(HAVE_GTK) && !defined(WITHOUT_GTK)
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/frontend/mp3x ${PREFIX}/bin/
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1,4 +1,5 @@
|
||||
bin/lame
|
||||
%%WITH_GTK%%bin/mp3x
|
||||
include/lame/lame.h
|
||||
lib/libmp3lame.a
|
||||
lib/libmp3lame.la
|
||||
|
Loading…
Reference in New Issue
Block a user