rpe 9a8b5ccd06 Change the shebang line from /bin/sh to /bin/ksh in all ports rc.d
daemon scripts and bump subpackages that contain the *.rc scripts.

discussed with and OK aja@
OK tb
2018-01-11 19:27:01 +00:00

42 lines
979 B
Makefile

# $OpenBSD: Makefile,v 1.11 2018/01/11 19:27:02 rpe Exp $
COMMENT= GIS WMTS/TMS tile caching server
DISTNAME = mapcache-1.6.1
SHARED_LIBS += mapcache 2.0
REVISION = 0
CATEGORIES= geo www
HOMEPAGE= http://www.mapserver.org/
MASTER_SITES= http://download.osgeo.org/mapserver/
# MIT
PERMIT_PACKAGE_CDROM= Yes
MAINTAINER= Landry Breuil <landry@openbsd.org>
MODULES= devel/cmake
RUN_DEPENDS = www/spawn-fcgi
NO_TEST = Yes
LIB_DEPENDS= devel/apr-util \
databases/sqlite3 \
geo/gdal \
geo/geos \
www/fcgi
WANTLIB += apr-1 aprutil-1 c curl fcgi gdal geos_c jpeg m pixman-1
WANTLIB += png pthread sqlite3 z
CONFIGURE_ARGS += -DWITH_APACHE:Bool=Off
post-install:
${INSTALL_DATA_DIR} ${WRKINST}/${VARBASE}/www/cgi-bin
${INSTALL_DATA_DIR} ${WRKINST}/${VARBASE}/www/conf
${INSTALL_PROGRAM} ${PREFIX}/bin/mapcache.fcgi ${WRKINST}/${VARBASE}/www/cgi-bin/mapcache
${INSTALL_DATA} ${WRKSRC}/mapcache.xml ${WRKINST}/${VARBASE}/www/conf/mapcache.xml
.include <bsd.port.mk>