openbsd-ports/audio/xmp/Makefile

64 lines
1.2 KiB
Makefile
Raw Normal View History

2004-07-03 18:16:42 -04:00
# $OpenBSD: Makefile,v 1.20 2004/07/03 22:16:42 jolan Exp $
1998-07-23 23:11:20 -04:00
2003-05-18 03:40:55 -04:00
COMMENT= "extended module player"
COMMENT-xmms= "extended module player plugin for XMMS"
DISTNAME= xmp-2.0.4
PKGNAME-xmms= xmms-${DISTNAME}
1999-09-06 15:06:14 -04:00
CATEGORIES= audio
HOMEPAGE= http://xmp.sourceforge.net/
# GPL
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-03 18:16:42 -04:00
.if defined(NO_SHARED_LIBS)
2003-05-18 03:40:55 -04:00
FLAVOR?= no_xmms
.else
FLAVOR?=
.endif
MULTI_PACKAGES=
.if !{FLAVOR:L:Mno_xmms}
MULTI_PACKAGES+= -xmms
.endif
SUBPACKAGE?=
LIB_DEPENDS= esd.2::audio/esound
.if ${MULTI_PACKAGES:M-xmms}
LIB_DEPENDS+= xmms.3::audio/xmms
.else
CONFIGURE_ARGS+= --disable-xmms
.endif
1998-07-23 23:11:20 -04:00
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
.if defined(PACKAGING)
. if ${SUBPACKAGE} == "-xmms"
LIB_DEPENDS=
RUN_DEPENDS= ::audio/xmms
. else
LIB_DEPENDS= esd.2::audio/esound
. endif
.endif
1998-07-23 23:11:20 -04:00
.include <bsd.port.mk>