3f651573ad
Begin autotools sanitization sequence by requiring ports to explicitly specify which version of {libtool,autoconf,automake} they need, erasing the concept of a "system default". For ports-in-waiting: USE_LIBTOOL=YES -> USE_LIBTOOL_VER=13 USE_AUTOCONF=YES -> USE_AUTOCONF_VER=213 USE_AUTOMAKE=YES -> USE_AUTOMAKE_VER=14 Ports attempting to use the old style system after June 1st 2004 will be sorely disappointed.
49 lines
1.2 KiB
Makefile
49 lines
1.2 KiB
Makefile
# New ports collection makefile for: glame
|
|
# Date created: 26 September 2000
|
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= glame
|
|
PORTVERSION= 1.0.1
|
|
PORTREVISION= 3
|
|
CATEGORIES= audio gnome
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A powerful, fast, stable, and easily extensible sound editor for GNOME
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa
|
|
LIB_DEPENDS= vorbis.3:${PORTSDIR}/audio/libvorbis \
|
|
ltdl.4:${PORTSDIR}/devel/libltdl
|
|
|
|
USE_REINPLACE= yes
|
|
USE_X_PREFIX= yes
|
|
USE_GNOME= gnomehack gnomeprefix gnometarget libglade
|
|
USE_GMAKE= yes
|
|
USE_LIBTOOL_VER= 13
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib -lltdl ${PTHREAD_LIBS}" \
|
|
MAKEINFO="makeinfo --no-split"
|
|
INSTALLS_SHLIB= yes
|
|
|
|
INFO= glame glame-dev
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} == "alpha"
|
|
BROKEN= "Does not compile on alpha"
|
|
.endif
|
|
|
|
post-extract:
|
|
@cd ${WRKSRC}/doc && ${RM} -f *.info*
|
|
|
|
post-patch:
|
|
@${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${REINPLACE_CMD} -e \
|
|
's|-lpthread|${PTHREAD_LIBS}|g'
|
|
@${GREP} -lR "<values\.h>" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
|
|
's|<values\.h>|<limits.h>|'
|
|
|
|
.include <bsd.port.post.mk>
|