1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/www/lighttpd-mod_geoip/Makefile
Mathieu Arnold 7b849f772f Release www/lighttpd* from my maintainership.
Sponsored by:	Absolight
2015-08-06 13:59:39 +00:00

36 lines
987 B
Makefile

# Created by: Martin Matuska <mm@FreeBSD.org>
# $FreeBSD$
PORTNAME= mod_geoip
CATEGORIES= www geography
PKGNAMEPREFIX= lighttpd-
DISTNAME= lighttpd-${PORTVERSION}
COMMENT= GeoIP module for lighttpd
LIB_DEPENDS= libGeoIP.so:${PORTSDIR}/net/GeoIP
BUILD_DEPENDS= ${LOCALBASE}/sbin/lighttpd:${PORTSDIR}/www/lighttpd
RUN_DEPENDS= ${LOCALBASE}/sbin/lighttpd:${PORTSDIR}/www/lighttpd
MASTERDIR= ${.CURDIR}/../lighttpd
DESCR= ${.CURDIR}/pkg-descr
PLIST= ${.CURDIR}/pkg-plist
PATCH_SITES+= LOCAL/mm
PATCHFILES+= lighttpd-1.4.26_mod_geoip.patch.gz
BUILD_WRKSRC= ${WRKSRC}/src
ALL_TARGET= ${PORTNAME}.la
_BUILDING_LIGHTTPD_MODULE= yes
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/lighttpd
@${INSTALL_LIB} ${WRKSRC}/src/.libs/${PORTNAME}.so \
${STAGEDIR}${PREFIX}/lib/lighttpd
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/lighttpd/conf.d
@${INSTALL_DATA} ${WRKSRC}/doc/config/conf.d/geoip.conf \
${STAGEDIR}${PREFIX}/etc/lighttpd/conf.d/geoip.conf.sample
.include "${MASTERDIR}/Makefile"