freebsd-ports/textproc/p5-Text-BibTeX/Makefile

40 lines
876 B
Makefile
Raw Normal View History

# Created by: David Bremner <bremner@unb.ca>
# $FreeBSD$
PORTNAME= Text-BibTeX
PORTVERSION= 0.71
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
2005-12-31 09:54:31 +01:00
MAINTAINER= perl@FreeBSD.org
COMMENT= Manipulate BibTeX files from perl
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
BUILD_DEPENDS= p5-Config-AutoConf>=0.16:devel/p5-Config-AutoConf \
p5-ExtUtils-LibBuilder>=0.02:devel/p5-ExtUtils-LibBuilder
TEST_DEPENDS= p5-Capture-Tiny>=0.06:devel/p5-Capture-Tiny
USES= perl5
USE_PERL5= modbuild
USE_LDCONFIG= yes
.include <bsd.port.pre.mk>
.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 <bsd.port.post.mk>