1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/www/htdigest/Makefile
Daniel Engberg df5b1d616c www/htdigest: Update MASTER_SITES
Use a direct URL to Apache's release archive site as it's not mirrored
by upstream mirror sites

Approved by:	rene (portmgr blanket), arrowd (mentor)
Differential Revision:	https://reviews.freebsd.org/D32433
2021-10-12 10:39:21 +02:00

37 lines
922 B
Makefile

PORTNAME= htdigest
PORTVERSION= 2.4.6
PORTREVISION= 4
CATEGORIES= www
MASTER_SITES= https://archive.apache.org/dist/httpd/
DISTNAME= httpd-${PORTVERSION}
DIST_SUBDIR= apache24
MAINTAINER= crees@FreeBSD.org
COMMENT= Utility from the Apache distribution for creating htdigest files
LICENSE= APACHE20
LIB_DEPENDS= libaprutil-1.so:devel/apr1 \
libexpat.so:textproc/expat2
USES= iconv
PLIST_FILES= bin/apache-${PORTNAME} man/man1/apache-${PORTNAME}.1.gz
GNU_CONFIGURE= yes
ALL_TARGET= ${PORTNAME}
BUILD_WRKSRC= ${WRKSRC}/support
# Don't actually need pcre, so hack around
post-patch:
${REINPLACE_CMD} -e '/^[[:space:]]*as_fn_error[^"]*"[^"]*pcre/d' \
${WRKSRC}/${CONFIGURE_SCRIPT}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/support/${PORTNAME} \
${STAGEDIR}${PREFIX}/bin/apache-htdigest
${INSTALL_MAN} ${WRKSRC}/docs/man/${PORTNAME}.1 \
${STAGEDIR}${PREFIX}/man/man1/apache-htdigest.1
.include <bsd.port.mk>