| @@ -1,62 +1,62 @@ | | | @@ -1,62 +1,62 @@ |
1 | # $NetBSD: Makefile,v 1.3 2012/10/08 13:45:43 asau Exp $ | | 1 | # $NetBSD: Makefile,v 1.4 2012/11/23 00:35:29 ryoon Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | VER= 0.9.9 | | 4 | VER= 0.9.9 |
5 | DISTNAME= biblatex-biber | | 5 | DISTNAME= biblatex-biber |
6 | PKGNAME= p5-biblatex-biber-${VER} | | 6 | PKGNAME= p5-biblatex-biber-${VER} |
7 | PKGREVISION= 1 | | 7 | PKGREVISION= 1 |
8 | CATEGORIES= wip | | 8 | CATEGORIES= print |
9 | MASTER_SITES= http://sourceforge.net/projects/biblatex-biber/files/biblatex-biber/${VER}/ | | 9 | MASTER_SITES= http://sourceforge.net/projects/biblatex-biber/files/biblatex-biber/${VER}/ |
10 | # TODO: can I express this with MASTER_SITES_SOURCEFORGE ? | | 10 | # TODO: can I express this with MASTER_SITES_SOURCEFORGE ? |
11 | | | 11 | |
12 | MAINTAINER= INSERT_YOUR_MAIL_ADDRESS_HERE | | 12 | MAINTAINER= pkgsrc-users@NetBSD.org |
13 | HOMEPAGE= http://biblatex-biber.sourceforge.net/ | | 13 | HOMEPAGE= http://biblatex-biber.sourceforge.net/ |
14 | COMMENT= Replacement of bibtex for users of BibLaTeX | | 14 | COMMENT= Replacement of bibtex for users of BibLaTeX |
15 | DIST_SUBDIR= ${DISTNAME}-${VER} | | 15 | DIST_SUBDIR= ${DISTNAME}-${VER} |
16 | LICENSE= gnu-gpl-v1 OR artistic-2.0 | | 16 | LICENSE= gnu-gpl-v1 OR artistic-2.0 |
17 | | | 17 | |
18 | # TODO: Look for the dependencies in Build.PL. | | 18 | # TODO: Look for the dependencies in Build.PL. |
19 | # no - that's for building the self-contained binary, which we won't. | | 19 | # no - that's for building the self-contained binary, which we won't. |
20 | | | 20 | |
21 | WRKSRC= ${WRKDIR}/biblatex-biber-v0.9.9 # XXX not ${VER} - that only works for >= 1.0 | | 21 | WRKSRC= ${WRKDIR}/biblatex-biber-v0.9.9 # XXX not ${VER} - that only works for >= 1.0 |
22 | | | 22 | |
23 | PERL5_MODULE_TYPE= Module::Build | | 23 | PERL5_MODULE_TYPE= Module::Build |
24 | PERL5_PACKLIST= auto/Biber/Config/.packlist | | 24 | PERL5_PACKLIST= auto/Biber/Config/.packlist |
25 | USE_LANGUAGES= # empty | | 25 | USE_LANGUAGES= # empty |
26 | USE_TOOLS= perl | | 26 | USE_TOOLS+= perl |
27 | REPLACE_PERL+= bin/biber | | 27 | REPLACE_PERL+= bin/biber |
28 | | | 28 | |
29 | DEPENDS+= p5-Data-Compare:../../devel/p5-Data-Compare | | 29 | DEPENDS+= p5-Data-Compare-[0-9]*:../../devel/p5-Data-Compare |
30 | DEPENDS+= p5-Data-Dump:../../devel/p5-Data-Dump | | 30 | DEPENDS+= p5-Data-Dump-[0-9]*:../../devel/p5-Data-Dump |
31 | DEPENDS+= p5-Date-Simple:../../devel/p5-Date-Simple | | 31 | DEPENDS+= p5-Date-Simple-[0-9]*:../../devel/p5-Date-Simple |
32 | DEPENDS+= p5-File-Slurp:../../devel/p5-File-Slurp | | 32 | DEPENDS+= p5-File-Slurp-[0-9]*:../../devel/p5-File-Slurp |
33 | DEPENDS+= p5-File-Slurp-Unicode:../../devel/p5-File-Slurp-Unicode | | 33 | DEPENDS+= p5-File-Slurp-Unicode-[0-9]*:../../devel/p5-File-Slurp-Unicode |
34 | DEPENDS+= p5-List-AllUtils:../../devel/p5-List-AllUtils | | 34 | DEPENDS+= p5-List-AllUtils-[0-9]*:../../devel/p5-List-AllUtils |
35 | DEPENDS+= p5-Log-Log4perl:../../devel/p5-Log-Log4perl | | 35 | DEPENDS+= p5-Log-Log4perl-[0-9]*:../../devel/p5-Log-Log4perl |
36 | DEPENDS+= p5-Regexp-Common:../../textproc/p5-Regexp-Common | | 36 | DEPENDS+= p5-Regexp-Common-[0-9]*:../../textproc/p5-Regexp-Common |
37 | DEPENDS+= p5-Unicode-Collate>=0.89:../../converters/p5-Unicode-Collate | | 37 | DEPENDS+= p5-Unicode-Collate>=0.89:../../converters/p5-Unicode-Collate |
38 | DEPENDS+= p5-XML-LibXML-Simple:../../textproc/p5-XML-LibXML-Simple | | 38 | DEPENDS+= p5-XML-LibXML-Simple-[0-9]*:../../textproc/p5-XML-LibXML-Simple |
39 | DEPENDS+= p5-XML-LibXSLT:../../textproc/p5-XML-LibXSLT | | 39 | DEPENDS+= p5-XML-LibXSLT-[0-9]*:../../textproc/p5-XML-LibXSLT |
40 | DEPENDS+= p5-XML-Writer:../../textproc/p5-XML-Writer | | 40 | DEPENDS+= p5-XML-Writer-[0-9]*:../../textproc/p5-XML-Writer |
41 | DEPENDS+= p5-XML-Writer-String:../../textproc/p5-XML-Writer-String | | 41 | DEPENDS+= p5-XML-Writer-String-[0-9]*:../../textproc/p5-XML-Writer-String |
42 | DEPENDS+= p5-Business-ISSN:../../wip/p5-Business-ISSN | | 42 | DEPENDS+= p5-Business-ISSN-[0-9]*:../../wip/p5-Business-ISSN |
43 | DEPENDS+= p5-Business-ISMN:../../wip/p5-Business-ISMN | | 43 | DEPENDS+= p5-Business-ISMN-[0-9]*:../../wip/p5-Business-ISMN |
44 | | | 44 | |
45 | DEPENDS+= p5-Readonly-XS:../../devel/p5-Readonly-XS | | 45 | DEPENDS+= p5-Readonly-XS-[0-9]*:../../devel/p5-Readonly-XS |
46 | DEPENDS+= tex-biblatex-1.7:../../print/tex-biblatex | | 46 | DEPENDS+= tex-biblatex-1.7-[0-9]*:../../print/tex-biblatex |
47 | | | 47 | |
48 | DEPENDS+= p5-IPC-Run3:../../devel/p5-IPC-Run3 | | 48 | DEPENDS+= p5-IPC-Run3-[0-9]*:../../devel/p5-IPC-Run3 |
49 | DEPENDS+= p5-Text-BibTeX:../../textproc/p5-Text-BibTeX | | 49 | DEPENDS+= p5-Text-BibTeX-[0-9]*:../../textproc/p5-Text-BibTeX |
50 | DEPENDS+= p5-libwww:../../www/p5-libwww | | 50 | DEPENDS+= p5-libwww-[0-9]*:../../www/p5-libwww |
51 | | | 51 | |
52 | BUILD_DEPENDS+= p5-ExtUtils-LibBuilder>=0.4:../../devel/p5-ExtUtils-LibBuilder | | 52 | BUILD_DEPENDS+= p5-ExtUtils-LibBuilder>=0.4:../../devel/p5-ExtUtils-LibBuilder |
53 | BUILD_DEPENDS+= p5-Config-AutoConf>=0.1:../../devel/p5-Config-AutoConf | | 53 | BUILD_DEPENDS+= p5-Config-AutoConf>=0.1:../../devel/p5-Config-AutoConf |
54 | | | 54 | |
55 | .include "../../lang/perl5/module.mk" | | 55 | .include "../../lang/perl5/module.mk" |
56 | .include "../../mk/bsd.pkg.mk" | | 56 | .include "../../mk/bsd.pkg.mk" |
57 | | | 57 | |
58 | | | 58 | |
59 | post-install: | | 59 | post-install: |
60 | ${INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/bin | | 60 | ${INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/bin |
61 | ${INSTALL_SCRIPT} ${WRKSRC:Q}/bin/biber ${DESTDIR}${PREFIX}/bin | | 61 | ${INSTALL_SCRIPT} ${WRKSRC:Q}/bin/biber ${DESTDIR}${PREFIX}/bin |
62 | | | 62 | |