# Created by: David Bremner # $FreeBSD$ PORTNAME= Text-BibTeX PORTVERSION= 0.71 CATEGORIES= textproc perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Manipulate BibTeX files from perl LICENSE= ART10 GPLv1 LICENSE_COMB= dual BUILD_DEPENDS= p5-Config-AutoConf>=0.16:${PORTSDIR}/devel/p5-Config-AutoConf \ p5-ExtUtils-LibBuilder>=0.02:${PORTSDIR}/devel/p5-ExtUtils-LibBuilder TEST_DEPENDS= p5-Capture-Tiny>=0.06:${PORTSDIR}/devel/p5-Capture-Tiny USES= perl5 USE_PERL5= modbuild USE_LDCONFIG= yes .include .if ${ARCH} == "amd64" || ${ARCH} == "ia64" CFLAGS+= -fPIC .endif STRIP_FILES= bin/dumpnames bin/biblex bin/bibparse \ ${SITE_ARCH_REL}/auto/Text/BibTeX/BibTeX.so \ lib/libbtparse.so post-install: cd ${STAGEDIR}${PREFIX} && \ ${CHMOD} +w ${STRIP_FILES} && \ ${STRIP_CMD} ${STRIP_FILES} .include