Fix PORTNAME, use PKGNAMESUFFIX and remove DISTNAME

- Add LICENSE
- Add NO_ARCH
- Sort PLIST
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2017-05-28 23:16:09 +00:00
parent 62b0e4c66c
commit d116e8b4cc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=441942
2 changed files with 10 additions and 5 deletions

View file

@ -1,26 +1,31 @@
# Created by: Lars Balker Rasmussen <lbr@FreeBSD.org>
# $FreeBSD$
PORTNAME= Catalyst-Model-Xapian10
PORTNAME= Catalyst-Model-Xapian
PORTVERSION= 0.06
PORTREVISION= 3
CATEGORIES= www perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:MRAMBERG
PKGNAMEPREFIX= p5-
DISTNAME= ${PORTNAME:S/10$//}-${PORTVERSION}
PKGNAMESUFFIX= 10
MAINTAINER= perl@FreeBSD.org
COMMENT= Catalyst model for Search::Xapian
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
BUILD_DEPENDS= p5-Catalyst-Runtime>=5.30:www/p5-Catalyst-Runtime \
p5-Catalyst-Devel>=1.00:www/p5-Catalyst-Devel \
p5-Data-Page>=0:databases/p5-Data-Page \
p5-Search-Xapian10>=0.9.2.4:databases/p5-Search-Xapian10
RUN_DEPENDS:= ${BUILD_DEPENDS}
NO_ARCH= yes
USES= perl5 shebangfix
SHEBANG_FILES= sample-indexer.pl
USE_PERL5= configure
SHEBANG_FILES= sample-indexer.pl
.include <bsd.port.mk>

View file

@ -1,6 +1,6 @@
%%PERL5_MAN3%%/Catalyst::Helper::Model::Xapian.3.gz
%%PERL5_MAN3%%/Catalyst::Model::Xapian.3.gz
%%SITE_PERL%%/Catalyst/Helper/Model/Xapian.pm
%%SITE_PERL%%/Catalyst/Model/Xapian.pm
%%SITE_PERL%%/Catalyst/Model/Xapian/Result.pm
%%SITE_PERL%%/Catalyst/Model/sample-indexer.pl
%%PERL5_MAN3%%/Catalyst::Helper::Model::Xapian.3.gz
%%PERL5_MAN3%%/Catalyst::Model::Xapian.3.gz