2008-06-18 14:08:06 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.30 2008/06/18 18:08:06 miod Exp $
|
1998-07-23 23:11:20 -04:00
|
|
|
|
2007-09-15 17:26:00 -04:00
|
|
|
COMMENT-main= extended module player
|
|
|
|
COMMENT-xmms= extended module player plugin for XMMS
|
2003-05-18 03:40:55 -04:00
|
|
|
DISTNAME= xmp-2.0.4
|
2006-11-20 14:15:09 -05:00
|
|
|
PKGNAME-main= ${DISTNAME}p3
|
2005-11-16 14:50:53 -05:00
|
|
|
PKGNAME-xmms= xmms-${DISTNAME}p1
|
1999-09-06 15:06:14 -04:00
|
|
|
CATEGORIES= audio
|
2003-04-27 15:38:16 -04:00
|
|
|
|
|
|
|
HOMEPAGE= http://xmp.sourceforge.net/
|
|
|
|
|
2001-04-05 15:31:41 -04:00
|
|
|
# GPL
|
2000-04-08 14:31:17 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2000-02-12 03:02:07 -05:00
|
|
|
|
2003-05-18 03:40:55 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xmp/}
|
|
|
|
|
|
|
|
PSEUDO_FLAVORS= no_xmms
|
2004-07-04 18:53:44 -04:00
|
|
|
.if ${MACHINE_ARCH} == "m88k" || ${MACHINE_ARCH} == "vax"
|
2003-05-18 03:40:55 -04:00
|
|
|
FLAVOR?= no_xmms
|
|
|
|
.else
|
|
|
|
FLAVOR?=
|
|
|
|
.endif
|
|
|
|
|
2006-11-20 14:15:09 -05:00
|
|
|
MULTI_PACKAGES= -main
|
2008-06-18 14:08:06 -04:00
|
|
|
.if !${FLAVOR:L:Mno_xmms}
|
2006-11-20 14:15:09 -05:00
|
|
|
MULTI_PACKAGES+= -xmms
|
|
|
|
LIB_DEPENDS= xmms.>=3::audio/xmms
|
2003-05-18 03:40:55 -04:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-xmms
|
|
|
|
.endif
|
1998-07-23 23:11:20 -04:00
|
|
|
|
2006-11-20 14:15:09 -05:00
|
|
|
LIB_DEPENDS-xmms=
|
|
|
|
RUN_DEPENDS-xmms= ::audio/xmms
|
|
|
|
WANTLIB-xmms=
|
|
|
|
|
|
|
|
LIB_DEPENDS-main= esd.>=2::audio/esound
|
|
|
|
WANTLIB-main= X11 Xext c m
|
|
|
|
|
2003-03-31 09:59:29 -05:00
|
|
|
USE_X11= Yes
|
2003-05-18 03:40:55 -04:00
|
|
|
USE_GMAKE= Yes
|
1998-07-23 23:11:20 -04:00
|
|
|
|
2003-05-18 03:40:55 -04:00
|
|
|
CONFIGURE_STYLE=gnu
|
|
|
|
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}/scripts
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
|
|
|
FAKE_FLAGS= DEST_DIR=${WRKINST} \
|
|
|
|
SYSCONF_DIR=${PREFIX}/share/examples/xmp
|
|
|
|
|
|
|
|
pre-install:
|
|
|
|
@${INSTALL_DATA_DIR} ${PREFIX}/share/examples/xmp \
|
|
|
|
${PREFIX}/lib/xmms/Input
|
|
|
|
|
1998-07-23 23:11:20 -04:00
|
|
|
.include <bsd.port.mk>
|