diff options
author | Pete Fritchman <petef@FreeBSD.org> | 2003-05-19 00:43:17 +0000 |
---|---|---|
committer | Pete Fritchman <petef@FreeBSD.org> | 2003-05-19 00:43:17 +0000 |
commit | 06b4254dc323818047044c5286a1b61c56258e54 (patch) | |
tree | e46c9544e24498563c0aede3f1cddcccc9fea983 /textproc/ltxml | |
parent | - install pkg-config .pc file to the correct place (diff) |
- unbreak
- just set WRKSRC, not {CONFIGURE,BUILD,INSTALL}_WRKSRC
- respect CFLAGS/CXXFLAGS
- use a .for loop to strip files after install
- bump PORTREVISION
PR: 52141
Submitted by: Ports Fury
Notes
Notes:
svn path=/head/; revision=81313
Diffstat (limited to 'textproc/ltxml')
-rw-r--r-- | textproc/ltxml/Makefile | 59 |
1 files changed, 22 insertions, 37 deletions
diff --git a/textproc/ltxml/Makefile b/textproc/ltxml/Makefile index 91e8affe87b5..5216b2abbb89 100644 --- a/textproc/ltxml/Makefile +++ b/textproc/ltxml/Makefile @@ -7,51 +7,36 @@ PORTNAME= ltxml PORTVERSION= 1.2.5 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= textproc MASTER_SITES= ftp://ftp.cogsci.ed.ac.uk/pub/LTXML/ MAINTAINER= ports@FreeBSD.org COMMENT= XML Toolkit -.include <bsd.port.pre.mk> +WRKSRC= ${WRKDIR}/${DISTNAME}/XML -.if ${OSVERSION} >= 500113 -BROKEN= "Installation fails" -.endif +USE_PERL5= yes +USE_GMAKE= yes +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-zlib=/usr --enable-multi-byte -CONFIGURE_WRKSRC= ${WRKSRC}/XML -BUILD_WRKSRC= ${CONFIGURE_WRKSRC} -INSTALL_WRKSRC= ${CONFIGURE_WRKSRC} +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 -GNU_CONFIGURE= yes -CONFIGURE_ARGS+= --with-zlib=/usr --enable-multi-byte -USE_GMAKE= yes +PROGRAMS= getindex intersect knit nslshowddb nslwhere pesis sgcount \ + sggrep sgmlsb sgmlseg sgmltrans sgrpg sgsort simple simpleq \ + textonly unknit xmlnorm + +post-patch: + @${PERL} -pi -e 's|CFLAGS=.*$$|CFLAGS=\$$CFLAGS|g ; \ + s|CXXFLAGS=.*$$|CXXFLAGS=\$$CXXFLAGS|g' ${WRKSRC}/configure post-install: - ${STRIP_CMD} ${PREFIX}/bin/unknit - ${STRIP_CMD} ${PREFIX}/bin/sgmlsb - ${STRIP_CMD} ${PREFIX}/bin/simple - ${STRIP_CMD} ${PREFIX}/bin/textonly - ${STRIP_CMD} ${PREFIX}/bin/simpleq - ${STRIP_CMD} ${PREFIX}/bin/sggrep - ${STRIP_CMD} ${PREFIX}/bin/sgcount - ${STRIP_CMD} ${PREFIX}/bin/sgmltrans - ${STRIP_CMD} ${PREFIX}/bin/getindex - ${STRIP_CMD} ${PREFIX}/bin/sgsort - ${STRIP_CMD} ${PREFIX}/bin/xmlnorm - ${STRIP_CMD} ${PREFIX}/bin/knit - ${STRIP_CMD} ${PREFIX}/bin/nslwhere - ${STRIP_CMD} ${PREFIX}/bin/pesis - ${STRIP_CMD} ${PREFIX}/bin/sgrpg - ${STRIP_CMD} ${PREFIX}/bin/nslshowddb - ${STRIP_CMD} ${PREFIX}/bin/intersect - -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 - -.include <bsd.port.post.mk> +.for file in ${PROGRAMS:S/sgmlseg//} + ${STRIP_CMD} ${PREFIX}/bin/${file} +.endfor + +.include <bsd.port.mk> |