1999-07-03 19:37:30 +00:00
|
|
|
# New ports collection makefile for: xmms
|
|
|
|
# Date created: 3 July 1999
|
1999-09-19 21:01:50 +00:00
|
|
|
# Whom: Espen Skoglund <esk@ira.uka.de>
|
1999-07-03 19:37:30 +00:00
|
|
|
#
|
1999-08-25 04:36:31 +00:00
|
|
|
# $FreeBSD$
|
1999-07-03 19:37:30 +00:00
|
|
|
#
|
|
|
|
|
2000-04-08 21:25:03 +00:00
|
|
|
PORTNAME= xmms
|
2000-06-20 08:56:04 +00:00
|
|
|
PORTVERSION= 1.2.1
|
1999-07-03 19:37:30 +00:00
|
|
|
CATEGORIES= audio
|
2000-06-20 08:56:04 +00:00
|
|
|
MASTER_SITES= ftp://ftp.xmms.org/xmms/1.2.x/ \
|
|
|
|
ftp://ftp.uk.xmms.org/xmms/1.2.x/ \
|
|
|
|
ftp://ftp.us.xmms.org/xmms/1.2.x/ \
|
|
|
|
ftp://ftp.ca.us.xmms.org/xmms/1.2.x/ \
|
|
|
|
ftp://ftp.md.us.xmms.org/xmms/1.2.x/ \
|
|
|
|
ftp://ftp.nl.xmms.org/xmms/1.2.x/ \
|
|
|
|
ftp://ftp.de.xmms.org/xmms/1.2.x/
|
1999-07-03 19:37:30 +00:00
|
|
|
|
1999-09-19 21:01:50 +00:00
|
|
|
MAINTAINER= esk@ira.uka.de
|
1999-07-03 19:37:30 +00:00
|
|
|
|
|
|
|
LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
|
1999-11-06 03:11:22 +00:00
|
|
|
glib12.3:${PORTSDIR}/devel/glib12 \
|
2000-06-16 07:45:29 +00:00
|
|
|
xml.5:${PORTSDIR}/textproc/libxml \
|
|
|
|
mikmod.2:${PORTSDIR}/audio/libmikmod \
|
|
|
|
esd.2:${PORTSDIR}/audio/esound
|
1999-07-03 19:37:30 +00:00
|
|
|
|
2000-06-16 07:45:29 +00:00
|
|
|
USE_X_PREFIX= yes
|
1999-07-03 19:37:30 +00:00
|
|
|
USE_LIBTOOL= yes
|
2000-06-16 21:52:40 +00:00
|
|
|
INSTALLS_SHLIB= yes
|
2000-06-16 07:45:29 +00:00
|
|
|
|
|
|
|
.if defined(WITH_GNOME)
|
|
|
|
CONFIGURE_ARGS= --with-gnome
|
|
|
|
.else
|
1999-11-06 03:11:22 +00:00
|
|
|
CONFIGURE_ARGS= --without-gnome
|
2000-06-16 07:45:29 +00:00
|
|
|
.endif
|
1999-11-06 03:11:22 +00:00
|
|
|
|
|
|
|
GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
|
|
|
|
GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
|
|
|
|
|
|
|
|
CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}" \
|
2000-06-16 21:52:40 +00:00
|
|
|
GLIB_CONFIG="${GLIB_CONFIG}" \
|
2000-06-16 07:45:29 +00:00
|
|
|
CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
|
|
|
.if !defined(WITH_GNOME)
|
|
|
|
pre-extract:
|
|
|
|
@${ECHO} "You can add support for GNOME by defining WITH_GNOME"
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_GNOME)
|
|
|
|
post-install:
|
|
|
|
@${ECHO} bin/gnomexmms >> ${TMPPLIST}
|
|
|
|
@${ECHO} etc/CORBA/servers/gnomexmms.gnorba >> ${TMPPLIST}
|
|
|
|
@${ECHO} share/gnome/applets/Multimedia/gnomexmms.desktop >> ${TMPPLIST}
|
|
|
|
.endif
|
2000-02-11 01:26:05 +00:00
|
|
|
|
1999-07-03 19:37:30 +00:00
|
|
|
.include <bsd.port.mk>
|