ports/www/p5-Apache-AuthTicket/Makefile
Muhammad Moinur Rahman 40843b1ccb Mk/Uses/apache.mk: Refactor after removal of older versions
apache22 and apache25 had been removed a long time ago however the
apache.mk file has never been refactored and is out of sync from the
file Mk/bsd.default-versions.mk. These changes refactors the removals of
the older versions. In addition:

- Move some keywords like USE_APACHE, USE_APACHE_BUILD, USE_APACHE_RUN
  from SANITY_DEPRECATED to SANITY_UNSUPPORTED
- Remove apache versions from ports Makefiles as currently there is only
  one available version in the tree. However the version checks are
  still valid and should work flawlessly whenever a new version is
  added. For example USES=apache:2.2+ are simply replaced with
  USES=apache. As currently there are no other versions available for
  test this could not be checked on it's own ground.
- Update FOO_USE=APACHE=yes to FOO_USES=apache
- Remove trailing whitespaces

Approved by:    portmgr
Differential Revision: https://reviews.freebsd.org/D38113
2023-01-25 11:54:07 -06:00

33 lines
954 B
Makefile

PORTNAME= Apache-AuthTicket
PORTVERSION= 0.94
CATEGORIES= www perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Perl modules that implement a cookie-based authentication system
WWW= https://metacpan.org/release/Apache-AuthTicket
LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= ${APACHE_PKGNAMEPREFIX}mod_perl2>=1.9922:www/mod_perl2 \
p5-Apache-AuthCookie>=3.0:www/p5-Apache-AuthCookie \
p5-CGI>=3.12:www/p5-CGI \
p5-Class-Accessor>=0:devel/p5-Class-Accessor \
p5-DBI>=0:databases/p5-DBI \
p5-MRO-Compat>=0:devel/p5-MRO-Compat \
p5-ModPerl-VersionUtil>=0:www/p5-ModPerl-VersionUtil \
p5-SQL-Abstract>=0:databases/p5-SQL-Abstract
NO_ARCH= yes
USES= apache perl5
USE_PERL5= configure
# Remove README.apache-2.4.pod to avoid conflicts with p5-Apache-AuthCookie
post-patch:
@${RM} ${WRKSRC}/README.apache-2.4.pod
.include <bsd.port.mk>