1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/textproc/ltxml/Makefile
Alejandro Pulver 03e4d6bf2a - User needs to agree to EULA before download.
- Remove MASTER_SITES.
- Reformat pkg-descr, update WWW.
- Pet portlint.

PR:		ports/104541
Submitted by:	Thomas Abthorpe <thomas@goodking.ca>
2006-10-31 23:09:45 +00:00

64 lines
1.6 KiB
Makefile

# New ports collection makefile for: LT XML
# Date created: 20 Oct 2000
# Whom: Samuel Tardieu <sam@inf.enst.fr>
#
# $FreeBSD$
#
PORTNAME= ltxml
PORTVERSION= 1.2.7
CATEGORIES= textproc
MASTER_SITES= #
MAINTAINER= ports@FreeBSD.org
COMMENT= XML Toolkit
WRKSRC= ${WRKDIR}/${DISTNAME}/XML
USE_PERL5= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-zlib=/usr --enable-multi-byte
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
MAN1= ltxml.1 xmlnorm.1 pesis.1 sgcount.1 sggrep.1 sgmlsb.1 \
sgmlseg.1 sgmltoken.1 sgmltrans.1 sgrpg.1 textonly.1 \
unknit.1 sgsort.1 nslwhere.1 knit.1 nslshowddb.1 getindex.1
MAN5= ltxml-query.5
PROGRAMS= getindex intersect knit nslshowddb nslwhere pesis sgcount \
sggrep sgmlsb sgmlseg sgmltrans sgrpg sgsort simple simpleq \
textonly unknit xmlnorm
OPTIONS= OPTIMIZED_CFLAGS "Extra optimizations" off
.include <bsd.port.pre.mk>
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
ECHO_MSG=/usr/bin/printf
IGNORE= :\n\
You have to download the distribution manually from \n\
http://www.inf.ed.ac.uk/research/isdd/admin/package?download=74.\n\
Download the file ${DISTNAME}${EXTRACT_SUFX}, and place it in\n\
${DISTDIR}.\n
.endif
.ifdef 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-install:
.for file in ${PROGRAMS:S/sgmlseg//}
${STRIP_CMD} ${PREFIX}/bin/${file}
.endfor
post-patch:
@${PERL} -pi -e 's|CFLAGS=.*$$|CFLAGS=\$$CFLAGS|g ; \
s|CXXFLAGS=.*$$|CXXFLAGS=\$$CXXFLAGS|g' ${WRKSRC}/configure
.include <bsd.port.post.mk>