1999-09-18 20:46:21 +00:00
|
|
|
# New ports collection makefile for: xmp
|
|
|
|
# Date created: 18 September 1999
|
|
|
|
# Whom: Anders Nordby <anders@fix.no>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-08 21:25:03 +00:00
|
|
|
PORTNAME= xmp
|
2001-02-26 04:41:21 +00:00
|
|
|
PORTVERSION= 2.0.4
|
2007-05-19 20:36:56 +00:00
|
|
|
PORTREVISION= 4
|
1999-09-18 20:46:21 +00:00
|
|
|
CATEGORIES= audio
|
2001-12-09 02:27:21 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
1999-09-18 20:46:21 +00:00
|
|
|
|
2005-02-15 20:31:12 +00:00
|
|
|
MAINTAINER= anders@FreeBSD.org
|
2003-02-20 17:07:10 +00:00
|
|
|
COMMENT= A player for many different Amiga and PC module formats
|
1999-09-18 20:46:21 +00:00
|
|
|
|
2000-09-16 18:38:55 +00:00
|
|
|
USE_BZIP2= yes
|
2005-02-15 20:31:12 +00:00
|
|
|
USE_X_PREFIX= yes
|
2007-05-02 08:05:06 +00:00
|
|
|
USE_GNOME= esound
|
1999-09-18 20:46:21 +00:00
|
|
|
USE_GMAKE= yes
|
2005-11-15 06:52:12 +00:00
|
|
|
USE_AUTOTOOLS= autoconf:213
|
2004-09-24 01:04:01 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2004-11-21 14:53:51 +00:00
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
2007-05-02 08:05:06 +00:00
|
|
|
CONFIGURE_ARGS= --disable-alsa --disable-oss --enable-esd
|
2004-09-24 01:04:01 +00:00
|
|
|
|
2007-05-02 08:05:06 +00:00
|
|
|
MAN1= xmp.1
|
|
|
|
MLINKS= xmp.1 xxmp.1
|
2001-04-17 11:02:01 +00:00
|
|
|
|
2007-05-02 08:05:06 +00:00
|
|
|
CFLAGS+= -fPIC
|
1999-09-18 20:46:21 +00:00
|
|
|
|
2003-10-03 11:22:08 +00:00
|
|
|
.if !defined(WITHOUT_XMMS)
|
2007-05-02 08:05:06 +00:00
|
|
|
LIB_DEPENDS+= xmms.4:${PORTSDIR}/multimedia/xmms
|
2003-10-03 11:22:08 +00:00
|
|
|
.else
|
2007-05-02 08:05:06 +00:00
|
|
|
CONFIGURE_ARGS+=--disable-xmms
|
2003-10-03 11:22:08 +00:00
|
|
|
.endif
|
|
|
|
|
2000-09-16 18:38:55 +00:00
|
|
|
post-patch:
|
2002-07-08 10:22:14 +00:00
|
|
|
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/docs/xmp.1
|
1999-09-18 20:46:21 +00:00
|
|
|
|
2007-05-02 08:05:06 +00:00
|
|
|
.include <bsd.port.mk>
|