# New ports collection makefile for: LT XML # Date created: 20 Oct 2000 # Whom: Samuel Tardieu # # $FreeBSD$ # PORTNAME= ltxml PORTVERSION= 1.2.9 CATEGORIES= textproc MASTER_SITES= GENTOO/distfiles \ ftp://ftp.cogsci.ed.ac.uk/pub/LTXML/ MAINTAINER= ports@FreeBSD.org COMMENT= XML Toolkit LICENSE= GPLv2 LICENSE_FILE= ${WRKDIR}/${DISTNAME}/COPYING OPTIONS= OPTIMIZED_CFLAGS "Extra optimizations" off WRKSRC= ${WRKDIR}/${DISTNAME}/XML USE_PERL5= yes USE_GMAKE= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-zlib=/usr --datadir=${PREFIX}/lib/ltxml12 MAKE_JOBS_SAFE= yes .include .if defined(WITH_OPTIMIZED_CFLAGS) CFLAGS+= -Wuninitialized -ffast-math -finline-functions -fomit-frame-pointer -fexpensive-optimizations -O3 .endif .if ${ARCH} == "amd64" || ${ARCH} == "ia64" CFLAGS+= -fPIC .endif post-patch: @${REINPLACE_CMD} -e 's|CFLAGS=.*$$|CFLAGS=\$$CFLAGS|g ; \ s|CXXFLAGS=.*$$|CXXFLAGS=\$$CXXFLAGS|g' ${WRKSRC}/configure .include