freebsd-ports/www/p5-MasonX-WebApp/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

27 lines
805 B
Makefile

PORTNAME= MasonX-WebApp
PORTVERSION= 0.12
PORTREVISION= 6
CATEGORIES= www perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Works with HTML::Mason to do processing before Mason is invoked
WWW= https://metacpan.org/release/MasonX-WebApp
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= mp2bug:www/mod_perl2 \
p5-HTML-Mason>=0:www/p5-HTML-Mason \
p5-Apache-Session-Wrapper>=0:www/p5-Apache-Session-Wrapper \
p5-Exception-Class>=0:devel/p5-Exception-Class \
p5-Class-Data-Inheritable>=0:devel/p5-Class-Data-Inheritable \
p5-Class-Factory-Util>=0:devel/p5-Class-Factory-Util \
p5-URI>0:net/p5-URI
TEST_DEPENDS= p5-Test-Exception>=0:devel/p5-Test-Exception \
p5-Test-Output>=0:devel/p5-Test-Output
USES= apache:run perl5
USE_PERL5= modbuild
.include <bsd.port.mk>