2005-11-23 12:57:02 +01:00
|
|
|
# New ports collection makefile for: bmpx
|
|
|
|
# Date created: 2005-11-20
|
|
|
|
# Whom: Roman Bogorodskiy <novel@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= bmpx
|
2006-10-09 20:01:55 +02:00
|
|
|
PORTVERSION= 0.32.0
|
2006-10-17 20:16:58 +02:00
|
|
|
PORTREVISION= 4
|
2005-11-23 12:57:02 +01:00
|
|
|
CATEGORIES= multimedia
|
2006-10-09 20:01:55 +02:00
|
|
|
MASTER_SITES= http://files.beep-media-player.org/releases/0.30/
|
2005-11-23 12:57:02 +01:00
|
|
|
|
|
|
|
MAINTAINER= novel@FreeBSD.org
|
2006-05-05 17:05:35 +02:00
|
|
|
COMMENT= Media player geared towards usability, technical efficiency and looks
|
2005-11-23 12:57:02 +01:00
|
|
|
|
|
|
|
LIB_DEPENDS= tag.5:${PORTSDIR}/audio/taglib \
|
2006-10-14 10:54:54 +02:00
|
|
|
cairomm-1.0.1:${PORTSDIR}/graphics/cairomm \
|
2006-05-05 17:05:35 +02:00
|
|
|
musicbrainz.4:${PORTSDIR}/audio/libmusicbrainz \
|
2006-07-15 15:59:01 +02:00
|
|
|
neon.25:${PORTSDIR}/www/neon \
|
|
|
|
glademm-2.4.1:${PORTSDIR}/devel/libglademm24 \
|
|
|
|
gtkmm-2.4:${PORTSDIR}/x11-toolkits/gtkmm24 \
|
|
|
|
boost_date_time.3:${PORTSDIR}/devel/boost \
|
2006-10-14 10:54:54 +02:00
|
|
|
dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
|
2005-11-23 12:57:02 +01:00
|
|
|
|
2006-09-10 15:41:33 +02:00
|
|
|
CONFLICTS= bmpx-devel-[0-9]*
|
|
|
|
|
2006-09-10 13:27:53 +02:00
|
|
|
USE_AUTOTOOLS= autoconf:259
|
2006-02-10 23:47:02 +01:00
|
|
|
USE_BISON= yes
|
2005-11-23 12:57:02 +01:00
|
|
|
USE_BZIP2= yes
|
2005-11-26 17:38:56 +01:00
|
|
|
USE_FAM= yes
|
|
|
|
USE_GCC= 3.4+
|
2005-11-23 12:57:02 +01:00
|
|
|
USE_GMAKE= yes
|
2005-11-26 17:38:56 +01:00
|
|
|
USE_GNOME= gtk20 libglade2 desktopfileutils
|
2006-08-13 06:59:51 +02:00
|
|
|
INSTALLS_ICONS= yes
|
|
|
|
USE_GSTREAMER= good mad ogg vorbis
|
2006-09-10 15:41:33 +02:00
|
|
|
USE_LDCONFIG= yes
|
2005-11-23 12:57:02 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2006-07-15 15:59:01 +02:00
|
|
|
CONFIGURE_ARGS+= --with-pkgconfig-dir=${PREFIX}/libdata/pkgconfig \
|
2006-09-10 13:27:53 +02:00
|
|
|
--with-dbus-services-dir="${PREFIX}/share/dbus-1/services" \
|
|
|
|
--with-libintl-prefix="${LOCALBASE}"
|
2005-11-23 12:57:02 +01:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2006-02-10 23:47:02 +01:00
|
|
|
CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
|
2006-07-22 07:31:26 +02:00
|
|
|
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}"
|
2005-11-23 12:57:02 +01:00
|
|
|
|
2006-05-05 17:05:35 +02:00
|
|
|
MAN1= beep-media-player-2.1
|
2005-11-23 12:57:02 +01:00
|
|
|
|
2005-11-26 17:38:56 +01:00
|
|
|
.if defined(WITHOUT_STARTUP_NOTIFICATION)
|
|
|
|
CONFIGURE_ARGS+= --disable-sn
|
|
|
|
.else
|
|
|
|
LIB_DEPENDS+= startup-notification-1.0:${PORTSDIR}/x11/startup-notification
|
|
|
|
.endif
|
|
|
|
|
2006-05-07 20:04:38 +02:00
|
|
|
.if defined(WITHOUT_NLS)
|
|
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.else
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.endif
|
|
|
|
|
2006-07-22 07:31:26 +02:00
|
|
|
.include <bsd.port.mk>
|