aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-Text-BibTeX/Makefile
blob: fa54ac20ff12d111672575901bc75f2a4d3f384d (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
# New ports collection makefile for:    p5-Text-BibTeX
# Date created:             Mon Jan 19 2003
# Whom:                 David Bremner <bremner@unb.ca>
#
# $FreeBSD$
#

PORTNAME=   Text-BibTeX
PORTVERSION=    0.36
PORTREVISION=   0
CATEGORIES= textproc perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN:C/$/:text,btparse/g}
MASTER_SITE_SUBDIR= ../by-authors/id/A/AM/AMBS/Text/:text \
            ../by-authors/id/A/AM/AMBS/btparse/:btparse
PKGNAMEPREFIX=  p5-
DISTFILES=  ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}:text \
        btparse-${BTPARSE_VER}${EXTRACT_SUFX}:btparse

MAINTAINER= perl@FreeBSD.org
COMMENT=    Manipulate BibTeX files from perl

BTPARSE_VER=    0.35

USE_PERL5=  yes
PERL_CONFIGURE= yes

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 \
        btool_faq.3

.include <bsd.port.pre.mk>

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

.include <bsd.port.post.mk>