6ae32afa16
lighttpd for example can make use of the digests thus created. This package contains just htdigest, renamed as apache-htdigest to avoid conflicts. It means that the htdigest utility is available without installing the entire Apache distribution. WWW: http://httpd.apache.org/
37 lines
937 B
Makefile
37 lines
937 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= htdigest
|
|
PORTVERSION= 2.4.6
|
|
CATEGORIES= www ipv6
|
|
MASTER_SITES= ${MASTER_SITE_APACHE_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:${PORTSDIR}/devel/apr1 \
|
|
libexpat.so:${PORTSDIR}/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>
|