pkgsrc/www/ap2-xsendfile/Makefile
wiz 67ea766c4c apache22: remove, it was eol'd in June 2017
Remove packages that only work with apache22.
Remove apache22 references.
2018-01-01 10:23:04 +00:00

26 lines
831 B
Makefile

# $NetBSD: Makefile,v 1.4 2018/01/01 10:23:08 wiz Exp $
DISTNAME= mod_xsendfile-0.12
PKGNAME= ${APACHE_PKG_PREFIX}-${DISTNAME:S/mod_//}
CATEGORIES= www
MASTER_SITES= https://tn123.org/mod_xsendfile/
MAINTAINER= filip@joyent.com
HOMEPAGE= https://tn123.org/mod_xsendfile/
COMMENT= Apache 2 module that processes X-SENDFILE headers
LICENSE= apache-2.0
APACHE_MODULE= YES
APACHE_MODULE_NAME= ${DISTNAME:C|-.*||}.so
APACHE_MODULE_SRC= ${DISTNAME:C|-.*||}.c
APACHE_MODULE_LA= ${DISTNAME:C|-.*||}.la
do-build:
cd ${WRKSRC} && ${APXS} ${CPPFLAGS} ${LDFLAGS} -c -o ${APACHE_MODULE_NAME} ${APACHE_MODULE_SRC}
do-install:
${INSTALL_LIB_DIR} ${DESTDIR}${PREFIX}/lib/httpd
cd ${WRKSRC} && ${APXS} -i -S LIBEXECDIR=${DESTDIR}${PREFIX}/lib/httpd ${APACHE_MODULE_LA}
.include "../../mk/apache.mk"
.include "../../mk/bsd.pkg.mk"