aboutsummaryrefslogtreecommitdiffstats
path: root/audio/zinf/Makefile
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-09-27 11:59:35 +0800
committeredwin <edwin@FreeBSD.org>2003-09-27 11:59:35 +0800
commitddc44e6152e72c36b0cce33be04d72cac45cddef (patch)
treea16e5b5f53ed775c75e44a0460ed4df523d5fbc9 /audio/zinf/Makefile
parent5bb3b9108330b94da13594479da6fbbb90f85e6b (diff)
downloadfreebsd-ports-gnome-ddc44e6152e72c36b0cce33be04d72cac45cddef.tar.gz
freebsd-ports-gnome-ddc44e6152e72c36b0cce33be04d72cac45cddef.tar.zst
freebsd-ports-gnome-ddc44e6152e72c36b0cce33be04d72cac45cddef.zip
Update port: audio/zinf to 2.2.4
- Update to version 2.2.4 PR: ports/57001 Submitted by: KATO Tsuguru <tkato@prontomail.com>
Diffstat (limited to 'audio/zinf/Makefile')
-rw-r--r--audio/zinf/Makefile36
1 files changed, 26 insertions, 10 deletions
diff --git a/audio/zinf/Makefile b/audio/zinf/Makefile
index e36061718af6..3672c5360f88 100644
--- a/audio/zinf/Makefile
+++ b/audio/zinf/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= zinf
-PORTVERSION= 2.2.3
+PORTVERSION= 2.2.4
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -15,30 +15,46 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= GTK-based MP3 player
LIB_DEPENDS= id3-3.8.2:${PORTSDIR}/audio/id3lib \
- musicbrainz.2:${PORTSDIR}/audio/musicbrainz
+ musicbrainz.3:${PORTSDIR}/audio/libmusicbrainz \
+ gdbm.3:${PORTSDIR}/databases/gdbm
USE_X_PREFIX= yes
-USE_GNOME= gnomehier gdkpixbuf
+USE_GNOME= gdkpixbuf gnomehack gnometarget
WANT_GNOME= yes
USE_PERL5= yes
USE_FREETYPE= yes
USE_GMAKE= yes
-USE_AUTOCONF_VER= 213
+USE_LIBTOOL= yes
+LIBTOOLFLAGS= # none
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+CONFIGURE_ARGS= --enable-ipv6
-CPPFLAGS= -I${LOCALBASE}/include/freetype1 -I${LOCALBASE}/include \
- ${PTHREAD_CFLAGS}
-LDFLAGS= -L${LOCALBASE}/lib -lintl ${PTHREAD_LIBS}
+CPPFLAGS= -I${LOCALBASE}/include/freetype1/freetype \
+ -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
+LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
+
+CFLAGS+= -O0
.include <bsd.port.pre.mk>
.if ${ARCH} == "i386"
BUILD_DEPENDS+= nasm:${PORTSDIR}/devel/nasm
CPPFLAGS+= "-D_M_IX86"
-.elif ${ARCH} == "alpha"
+.else
+CONFIGURE_ARGS+= --disable-x86opts
+.endif
+
+.if ${ARCH} == "alpha"
CPPFLAGS+= "-D_M_ALPHA"
.endif
+.if ${OSVERSION} < 500035
+BUILD_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport
+RUN_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport
+CPPFLAGS+= -I${LOCALBASE}/include/stlport
+LDFLAGS+= -lstlport_gcc
+.endif
+
.if ${HAVE_GNOME:Mesound}!="" || defined(WITH_ALL_PLUGINS)
USE_GNOME+= esound
PLIST_SUB+= ESOUND=""
@@ -74,9 +90,9 @@ pre-everything::
@${ECHO_MSG}
@${ECHO_MSG} "You may use the following build options:"
@${ECHO_MSG}
- @${ECHO_MSG} "WITH_LIBARTS build with libArts output plugin"
+ @${ECHO_MSG} "WITH_LIBARTS=yes build with libArts output plugin"
@${ECHO_MSG} "WITHOUT_GNOME=esound do NOT build with esd support"
- @${ECHO_MSG} "WITHOUT_VORBIS do NOT build with Ogg/Vorbis codec plugin"
+ @${ECHO_MSG} "WITHOUT_VORBIS=yes do NOT build with Ogg/Vorbis codec plugin"
@${ECHO_MSG}
@${ECHO_MSG} "WITH_ALL_PLUGINS=yes build with all plugins"
@${ECHO_MSG}