freebsd-ports/www/p5-Apache-MP3/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
696 B
Makefile

PORTNAME= Apache-MP3
PORTVERSION= 4.00
PORTREVISION= 4
CATEGORIES= www audio perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= MP3 browsing and streaming under mod_perl and Apache
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= p5-Audio-Wav>=0:audio/p5-Audio-Wav \
p5-CGI>=4.03:www/p5-CGI \
p5-CGI-Session>=0:www/p5-CGI-Session \
p5-MP3-Info>=0:audio/p5-MP3-Info \
p5-Ogg-Vorbis-Header>=0:audio/p5-Ogg-Vorbis-Header \
${APACHE_PKGNAMEPREFIX}mod_perl2>=0:www/mod_perl2
USES= apache perl5
USE_PERL5= configure
NO_ARCH= yes
post-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/apache_mp3/* ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>