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.
39 lines
893 B
Makefile
39 lines
893 B
Makefile
# New ports collection makefile for: libmad
|
|
# Date created: 26 November 2003
|
|
# Whom: Sergey Akifyev <asa@gascom.ru>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= libmad
|
|
PORTVERSION= 0.15.1b
|
|
PORTREVISION= 1
|
|
CATEGORIES= audio
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
|
ftp://ftp.mars.org/pub/mpeg/
|
|
MASTER_SITE_SUBDIR= mad
|
|
|
|
MAINTAINER= asa@gascom.ru
|
|
COMMENT= Libmad library (part of MAD project)
|
|
|
|
USE_AUTOTOOLS= libtool:13:inc
|
|
USE_GNOME= pkgconfig
|
|
INSTALLS_SHLIB= yes
|
|
CONFIGURE_ARGS= --disable-debugging \
|
|
--enable-sso
|
|
.if defined(WITH_SPEED)
|
|
CONFIGURE_ARGS+= --enable-speed
|
|
.else
|
|
CONFIGURE_ARGS+= --enable-accuracy
|
|
.endif
|
|
|
|
post-patch:
|
|
@${SED} -e 's|%PREFIX%|${PREFIX}|g ; s|%VERSION%|${PORTVERSION}|g' \
|
|
${FILESDIR}/mad.pc.in > ${WRKDIR}/mad.pc
|
|
|
|
post-install:
|
|
${MKDIR} ${PREFIX}/libdata/pkgconfig
|
|
${INSTALL_DATA} ${WRKDIR}/mad.pc ${PREFIX}/libdata/pkgconfig
|
|
|
|
.include <bsd.port.mk>
|