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.
35 lines
810 B
Makefile
35 lines
810 B
Makefile
# ex:ts=8
|
|
# New ports collection makefile for: minidom
|
|
# Date created: Aug 13, 2001
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= minidom
|
|
PORTVERSION= 0.1.4
|
|
PORTREVISION= 0
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= http://helm.cs.unibo.it/mml-widget/sources/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A minimal implementation of the Document Object Model
|
|
|
|
LIB_DEPENDS= xml2:${PORTSDIR}/textproc/libxml2
|
|
|
|
USE_ICONV= yes
|
|
USE_REINPLACE= yes
|
|
USE_GNOME= glib12
|
|
USE_AUTOTOOLS= libtool:15
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LIBS="-L${LOCALBASE}/lib"
|
|
CONFIGURE_ARGS= --with-libxml2=yes
|
|
INSTALLS_SHLIB= yes
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|-lglib|-lglib12|g ; \
|
|
s|glib-config|${GLIB_CONFIG}|g ; \
|
|
s|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \
|
|
${WRKSRC}/configure
|
|
|
|
.include <bsd.port.mk>
|