aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-Text-BibTeX/Makefile
blob: 803d1079a37c8d6c2c127b8e31b96b00dfeb13da (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Created by: David Bremner <bremner@unb.ca>
# $FreeBSD$

PORTNAME=   Text-BibTeX
PORTVERSION=    0.66
CATEGORIES= textproc perl5
MASTER_SITES=   CPAN
MASTER_SITE_SUBDIR= CPAN:AMBS/Text
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

PERL_MODBUILD=  yes
USE_LDCONFIG=   yes

MAN1=       bt_format_names.1 bt_input.1 bt_language.1 \
        bt_macros.1 bt_misc.1 bt_post_processing.1 \
        bt_postprocess.1 bt_split_names.1 bt_traversal.1 \
        btool_faq.1 btparse.1

MAN3=       Text::BibTeX.3 \
        Text::BibTeX::Bib.3 \
        Text::BibTeX::BibFormat.3 \
        Text::BibTeX::BibSort.3 \
        Text::BibTeX::Entry.3 \
        Text::BibTeX::File.3 \
        Text::BibTeX::Name.3 \
        Text::BibTeX::NameFormat.3 \
        Text::BibTeX::Structure.3 \
        Text::BibTeX::Value.3

.include <bsd.port.pre.mk>

.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
CFLAGS+=    -fPIC
.endif

.include <bsd.port.post.mk>