blob: 0013c6e266fefa5b464b2e9a684302aa8c2a6b08 (
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
|
# $NetBSD: Makefile,v 1.58 2022/06/28 11:36:29 wiz Exp $
DISTNAME= Text-BibTeX-0.88
PKGNAME= p5-${DISTNAME}
PKGREVISION= 2
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Text/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://www.gerg.ca/software/btOOL/
#HOMEPAGE= http://search.cpan.org/dist/Text-BibTeX/
COMMENT= Perl library for reading, parsing, and processing BibTeX files
LICENSE= ${PERL5_LICENSE}
BUILD_DEPENDS+= p5-Capture-Tiny>=0.06:../../devel/p5-Capture-Tiny
BUILD_DEPENDS+= p5-Config-AutoConf>=0.14:../../devel/p5-Config-AutoConf
BUILD_DEPENDS+= p5-ExtUtils-LibBuilder>=0.01:../../devel/p5-ExtUtils-LibBuilder
#BUILD_DEPENDS+= {perl>=5.14.1,p5-ExtUtils-CBuilder>=0.27}:../../devel/p5-ExtUtils-CBuilder
USE_LANGUAGES+= c c99
PERL5_PACKLIST= auto/Text/BibTeX/.packlist
PERL5_MODULE_TYPE= Module::Build
ALL_ENV+= TMPDIR=${WRKDIR}/tmp
pre-configure:
${MKDIR} ${WRKDIR}/tmp
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "Darwin"
post-build:
. for f in bin/biblex bin/bibparse bin/dumpnames usrlib/libbtparse.dylib
${CHMOD} u+w ${WRKSRC}/blib/${f}
. endfor
.endif
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"
|