c487cb967a
in the process. (More information on tech-pkg.) Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and installing .la files. Bump PKGREVISION (only) of all packages depending directly on the above via a buildlink3 include.
29 lines
984 B
Makefile
29 lines
984 B
Makefile
# $NetBSD: Makefile,v 1.4 2004/10/03 00:18:26 tv Exp $
|
|
|
|
DISTNAME= mini_httpd-1.19
|
|
PKGREVISION= 2
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://www.acme.com/software/mini_httpd/
|
|
|
|
MAINTAINER= pkgsrc@bjan.freeshell.org
|
|
HOMEPAGE= http://www.acme.com/software/mini_httpd/
|
|
COMMENT= Small, forking webserver with IPv6 and SSL support
|
|
|
|
USE_BUILDLINK3= yes
|
|
MAKE_ENV+= PKG_CFLAGS="${CFLAGS}"
|
|
LDFLAGS+= -lssl -lcrypto -lcrypt -lutil
|
|
|
|
do-install:
|
|
for FILE in mini_httpd.8 htpasswd.1; do \
|
|
${MV} -f ${WRKSRC}/$${FILE} ${WRKSRC}/$${FILE}.bak; \
|
|
${SED} -e 's/\([^.]\)htpasswd/\1mhtpasswd/g' \
|
|
-e 's/^htpasswd/m&/' \
|
|
${WRKSRC}/$${FILE}.bak > ${WRKSRC}/$${FILE}; \
|
|
done
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mini_httpd ${PREFIX}/sbin/
|
|
${INSTALL_PROGRAM} ${WRKSRC}/htpasswd ${PREFIX}/sbin/mhtpasswd
|
|
${INSTALL_MAN} ${WRKSRC}/mini_httpd.8 ${PREFIX}/man/man8/
|
|
${INSTALL_MAN} ${WRKSRC}/htpasswd.1 ${PREFIX}/man/man1/mhtpasswd.1
|
|
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|