| @@ -1,18 +1,18 @@ | | | @@ -1,18 +1,18 @@ |
1 | # $NetBSD: Makefile,v 1.12 2023/07/06 09:41:45 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.13 2024/01/18 22:13:46 rillig Exp $ |
2 | | | 2 | |
3 | DISTNAME= Publican-v4.3.1 | | 3 | DISTNAME= Publican-v4.3.1 |
4 | PKGNAME= p5-${DISTNAME:S/v//1} | | 4 | PKGNAME= p5-${DISTNAME:S/v//1} |
5 | PKGREVISION= 8 | | 5 | PKGREVISION= 9 |
6 | CATEGORIES= textproc | | 6 | CATEGORIES= textproc |
7 | #MASTER_SITES= https://fedorahosted.org/releases/p/u/publican/ | | 7 | #MASTER_SITES= https://fedorahosted.org/releases/p/u/publican/ |
8 | | | 8 | |
9 | MAINTAINER= pkgsrc-users@NetBSD.org | | 9 | MAINTAINER= pkgsrc-users@NetBSD.org |
10 | HOMEPAGE= https://sourceware.org/publican/en-US/index.html | | 10 | HOMEPAGE= https://sourceware.org/publican/en-US/index.html |
11 | COMMENT= Single source publishing tool based on DocBook XML | | 11 | COMMENT= Single source publishing tool based on DocBook XML |
12 | LICENSE= gnu-gpl-v2 | | 12 | LICENSE= gnu-gpl-v2 |
13 | | | 13 | |
14 | TOOL_DEPENDS+= p5-Test-Pod-Coverage-[0-9]*:../../devel/p5-Test-Pod-Coverage | | 14 | TOOL_DEPENDS+= p5-Test-Pod-Coverage-[0-9]*:../../devel/p5-Test-Pod-Coverage |
15 | TOOL_DEPENDS+= p5-Test-Pod-[0-9]*:../../devel/p5-Test-Pod | | 15 | TOOL_DEPENDS+= p5-Test-Pod-[0-9]*:../../devel/p5-Test-Pod |
16 | TOOL_DEPENDS+= p5-File-HomeDir-[0-9]*:../../devel/p5-File-HomeDir | | 16 | TOOL_DEPENDS+= p5-File-HomeDir-[0-9]*:../../devel/p5-File-HomeDir |
17 | TOOL_DEPENDS+= p5-Devel-Cover-[0-9]*:../../devel/p5-Devel-Cover | | 17 | TOOL_DEPENDS+= p5-Devel-Cover-[0-9]*:../../devel/p5-Devel-Cover |
18 | DEPENDS+= p5-XML-TreeBuilder-[0-9]*:../../textproc/p5-XML-TreeBuilder | | 18 | DEPENDS+= p5-XML-TreeBuilder-[0-9]*:../../textproc/p5-XML-TreeBuilder |
| @@ -42,15 +42,20 @@ DEPENDS+= p5-List-MoreUtils-[0-9]*:../.. | | | @@ -42,15 +42,20 @@ DEPENDS+= p5-List-MoreUtils-[0-9]*:../.. |
42 | DEPENDS+= p5-File-Copy-Recursive-[0-9]*:../../sysutils/p5-File-Copy-Recursive | | 42 | DEPENDS+= p5-File-Copy-Recursive-[0-9]*:../../sysutils/p5-File-Copy-Recursive |
43 | DEPENDS+= p5-File-Find-Rule-[0-9]*:../../devel/p5-File-Find-Rule | | 43 | DEPENDS+= p5-File-Find-Rule-[0-9]*:../../devel/p5-File-Find-Rule |
44 | DEPENDS+= p5-File-pushd-[0-9]*:../../devel/p5-File-pushd | | 44 | DEPENDS+= p5-File-pushd-[0-9]*:../../devel/p5-File-pushd |
45 | DEPENDS+= p5-Lingua-EN-Syllable-[0-9]*:../../textproc/p5-Lingua-EN-Syllable | | 45 | DEPENDS+= p5-Lingua-EN-Syllable-[0-9]*:../../textproc/p5-Lingua-EN-Syllable |
46 | DEPENDS+= p5-Lingua-EN-Fathom-[0-9]*:../../textproc/p5-Lingua-EN-Fathom | | 46 | DEPENDS+= p5-Lingua-EN-Fathom-[0-9]*:../../textproc/p5-Lingua-EN-Fathom |
47 | DEPENDS+= p5-Locale-Msgfmt-[0-9]*:../../devel/p5-Locale-Msgfmt | | 47 | DEPENDS+= p5-Locale-Msgfmt-[0-9]*:../../devel/p5-Locale-Msgfmt |
48 | DEPENDS+= p5-Locale-Maketext-Lexicon-[0-9]*:../../misc/p5-Locale-Maketext-Lexicon | | 48 | DEPENDS+= p5-Locale-Maketext-Lexicon-[0-9]*:../../misc/p5-Locale-Maketext-Lexicon |
49 | | | 49 | |
50 | # TODO: Look for the dependencies in Build.PL. | | 50 | # TODO: Look for the dependencies in Build.PL. |
51 | | | 51 | |
52 | PERL5_MODULE_TYPE= Module::Build | | 52 | PERL5_MODULE_TYPE= Module::Build |
53 | USE_LANGUAGES= # none | | 53 | USE_LANGUAGES= # none |
54 | | | 54 | |
| | | 55 | SUBST_CLASSES+= destdir |
| | | 56 | SUBST_STAGE.destdir= post-install |
| | | 57 | SUBST_FILES.destdir= ${DESTDIR}${PREFIX}/${PERL5_SUB_INSTALLVENDORARCH}/auto/Publican/.packlist |
| | | 58 | SUBST_SED.destdir= -e 's|^${DESTDIR}||' |
| | | 59 | |
55 | .include "../../lang/perl5/module.mk" | | 60 | .include "../../lang/perl5/module.mk" |
56 | .include "../../mk/bsd.pkg.mk" | | 61 | .include "../../mk/bsd.pkg.mk" |