54a0b86543
in bsd.autotools.mk essentially makes this a no-op given that all the old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in exactly the same way as USE_AUTOTOOLS itself. Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME team -- all GNOME 2.12.x ports use it. Preliminary documentation can be found at: http://people.FreeBSD.org/~ade/autotools.txt which is in the process of being SGMLized before introduction into the Porters Handbook. Light blue touch-paper. Run.
55 lines
1.1 KiB
Makefile
55 lines
1.1 KiB
Makefile
# New ports collection makefile for: xmp
|
|
# Date created: 18 September 1999
|
|
# Whom: Anders Nordby <anders@fix.no>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= xmp
|
|
PORTVERSION= 2.0.4
|
|
PORTREVISION= 2
|
|
CATEGORIES= audio
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= anders@FreeBSD.org
|
|
COMMENT= A player for many different Amiga and PC module formats
|
|
|
|
USE_BZIP2= yes
|
|
USE_X_PREFIX= yes
|
|
WANT_GNOME= yes
|
|
USE_REINPLACE= yes
|
|
USE_GMAKE= yes
|
|
USE_AUTOTOOLS= autoconf:213
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LIBS="-L${LOCALBASE}/lib"
|
|
CONFIGURE_ARGS= --disable-alsa
|
|
|
|
CFLAGS+= -fPIC
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} > 500013 || ${MACHINE_ARCH} == "alpha"
|
|
USE_GNOME+= esound
|
|
CONFIGURE_ARGS+= --disable-oss --enable-esd
|
|
PKGNAMESUFFIX= -esound
|
|
.elif ${HAVE_GNOME:Mesound}!=""
|
|
USE_GNOME+= esound
|
|
CONFIGURE_ARGS+= --enable-esd
|
|
PKGNAMESUFFIX= -esound
|
|
.endif
|
|
|
|
.if !defined(WITHOUT_XMMS)
|
|
LIB_DEPENDS+= xmms.4:${PORTSDIR}/multimedia/xmms
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-xmms
|
|
.endif
|
|
|
|
MAN1= xmp.1
|
|
MLINKS= xmp.1 xxmp.1
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/docs/xmp.1
|
|
|
|
.include <bsd.port.post.mk>
|