summaryrefslogtreecommitdiff
path: root/print/p5-biblatex-biber/Makefile
blob: e39247e4a5f22daf013297d2bfdabf9830ef5dca (plain)
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# $NetBSD: Makefile,v 1.2 2012/10/03 21:57:19 wiz Exp $
#

VER=		0.9.9
DISTNAME=	biblatex-biber
PKGNAME=	p5-biblatex-biber-${VER}
PKGREVISION=	1
CATEGORIES=	wip
MASTER_SITES=	http://sourceforge.net/projects/biblatex-biber/files/biblatex-biber/${VER}/
# TODO: can I express this with MASTER_SITES_SOURCEFORGE ?

MAINTAINER=	INSERT_YOUR_MAIL_ADDRESS_HERE
HOMEPAGE=	http://biblatex-biber.sourceforge.net/
COMMENT=	Replacement of bibtex for users of BibLaTeX
DIST_SUBDIR=	${DISTNAME}-${VER}
LICENSE=	gnu-gpl-v1 OR artistic-2.0

PKG_DESTDIR_SUPPORT=	user-destdir

# TODO: Look for the dependencies in Build.PL.
# no - that's for building the self-contained binary, which we won't.

WRKSRC=			${WRKDIR}/biblatex-biber-v0.9.9	# XXX not ${VER} - that only works for >= 1.0

PERL5_MODULE_TYPE=	Module::Build
PERL5_PACKLIST=		auto/Biber/Config/.packlist
USE_LANGUAGES=		# empty
USE_TOOLS=		perl
REPLACE_PERL+=		bin/biber

DEPENDS+=		p5-Data-Compare:../../devel/p5-Data-Compare
DEPENDS+=		p5-Data-Dump:../../devel/p5-Data-Dump
DEPENDS+=		p5-Date-Simple:../../devel/p5-Date-Simple
DEPENDS+=		p5-File-Slurp:../../devel/p5-File-Slurp
DEPENDS+=		p5-File-Slurp-Unicode:../../devel/p5-File-Slurp-Unicode
DEPENDS+=		p5-List-AllUtils:../../devel/p5-List-AllUtils
DEPENDS+=		p5-Log-Log4perl:../../devel/p5-Log-Log4perl
DEPENDS+=		p5-Regexp-Common:../../textproc/p5-Regexp-Common
DEPENDS+=		p5-Unicode-Collate>=0.89:../../converters/p5-Unicode-Collate
DEPENDS+=		p5-XML-LibXML-Simple:../../textproc/p5-XML-LibXML-Simple
DEPENDS+=		p5-XML-LibXSLT:../../textproc/p5-XML-LibXSLT
DEPENDS+=		p5-XML-Writer:../../textproc/p5-XML-Writer
DEPENDS+=		p5-XML-Writer-String:../../textproc/p5-XML-Writer-String
DEPENDS+=		p5-Business-ISSN:../../wip/p5-Business-ISSN
DEPENDS+=		p5-Business-ISMN:../../wip/p5-Business-ISMN

DEPENDS+=		p5-Readonly-XS:../../devel/p5-Readonly-XS
DEPENDS+=		tex-biblatex-1.7:../../print/tex-biblatex

DEPENDS+=		p5-IPC-Run3:../../devel/p5-IPC-Run3
DEPENDS+=		p5-Text-BibTeX:../../textproc/p5-Text-BibTeX
DEPENDS+=		p5-libwww:../../www/p5-libwww

BUILD_DEPENDS+=		p5-ExtUtils-LibBuilder>=0.4:../../devel/p5-ExtUtils-LibBuilder
BUILD_DEPENDS+=		p5-Config-AutoConf>=0.1:../../devel/p5-Config-AutoConf

.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"


post-install:
		${INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/bin
		${INSTALL_SCRIPT} ${WRKSRC:Q}/bin/biber ${DESTDIR}${PREFIX}/bin