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.
40 lines
1.1 KiB
Makefile
40 lines
1.1 KiB
Makefile
# New ports collection makefile for: libvisual
|
|
# Date created: 23 oktober 2004
|
|
# Whom: Koop Mast <kwm@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
# WARNING: when updating this port check if the ports that use libvisual
|
|
# can work with it. Backwards compatiblity is known to be broken in the past.
|
|
|
|
PORTNAME= libvisual
|
|
PORTVERSION= 0.2.0
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= kwm@FreeBSD.org
|
|
COMMENT= Abstraction library that sits between apps and visual plugin
|
|
|
|
USE_XLIBS= yes
|
|
USE_GNOME= gnomehack pkgconfig
|
|
USE_REINPLACE= yes
|
|
USE_AUTOTOOLS= libtool:15
|
|
CONFIGURE_ENV= CFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}" \
|
|
LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}"
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
INSTALLS_SHLIB= yes
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 500001
|
|
EXTRA_PATCHES= ${PATCHDIR}/extra-patch-libvisual_lv_cpu.c
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|-Wno-unused-variable||g' \
|
|
-e 's|-O3|${CFLAGS}|g' \
|
|
${WRKSRC}/libvisual/Makefile.in
|
|
|
|
.include <bsd.port.post.mk>
|