2013-01-09 13:48:01 +01:00
|
|
|
# Created by: David Bremner <bremner@unb.ca>
|
2004-01-20 00:55:40 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= Text-BibTeX
|
2017-08-31 17:31:57 +02:00
|
|
|
PORTVERSION= 0.85
|
2004-01-20 00:55:40 +01:00
|
|
|
CATEGORIES= textproc perl5
|
2011-02-17 03:45:14 +01:00
|
|
|
MASTER_SITES= CPAN
|
2004-01-20 00:55:40 +01:00
|
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
|
2005-12-31 09:54:31 +01:00
|
|
|
MAINTAINER= perl@FreeBSD.org
|
2005-12-31 09:45:05 +01:00
|
|
|
COMMENT= Manipulate BibTeX files from perl
|
|
|
|
|
2017-09-15 10:58:46 +02:00
|
|
|
LICENSE= ART10 GPLv1+
|
2011-07-31 12:52:04 +02:00
|
|
|
LICENSE_COMB= dual
|
2011-06-16 07:37:28 +02:00
|
|
|
|
2016-04-01 16:25:16 +02:00
|
|
|
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
|
2004-01-20 00:55:40 +01:00
|
|
|
|
2013-08-02 20:52:07 +02:00
|
|
|
USES= perl5
|
|
|
|
USE_PERL5= modbuild
|
2011-07-31 12:52:04 +02:00
|
|
|
USE_LDCONFIG= yes
|
2011-02-17 03:45:14 +01:00
|
|
|
|
2016-04-21 17:06:17 +02:00
|
|
|
STRIP_FILES= bin/dumpnames bin/biblex bin/bibparse \
|
|
|
|
${SITE_ARCH_REL}/auto/Text/BibTeX/BibTeX.so \
|
|
|
|
lib/libbtparse.so
|
|
|
|
|
2006-01-08 15:06:39 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2016-07-05 11:08:37 +02:00
|
|
|
.if ${PERL_LEVEL} < 502300
|
|
|
|
BUILD_DEPENDS+= p5-Scalar-List-Utils>=0.42:lang/p5-Scalar-List-Utils
|
|
|
|
RUN_DEPENDS+= p5-Scalar-List-Utils>=0.42:lang/p5-Scalar-List-Utils
|
|
|
|
.endif
|
|
|
|
|
2006-01-08 15:06:39 +01:00
|
|
|
.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
|
2011-07-31 12:52:04 +02:00
|
|
|
CFLAGS+= -fPIC
|
2006-01-08 15:06:39 +01:00
|
|
|
.endif
|
|
|
|
|
2015-07-20 03:16:56 +02:00
|
|
|
post-install:
|
2016-04-21 17:06:17 +02:00
|
|
|
${STRIP_CMD} ${STRIP_FILES:S|^|${STAGEDIR}${PREFIX}/|}
|
2015-07-20 03:16:56 +02:00
|
|
|
|
2006-01-08 15:06:39 +01:00
|
|
|
.include <bsd.port.post.mk>
|