aboutsummaryrefslogtreecommitdiff
path: root/databases/geoserver-mysql-plugin/Makefile
blob: 6fe7076e528400af8ebc421994611e8f88e476b1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
PORTNAME=	geoserver
PORTVERSION=	2.24.0
CATEGORIES=	databases geography java
MASTER_SITES=	SF/${PORTNAME}/GeoServer/${PORTVERSION}/extensions
PKGNAMESUFFIX=	-mysql-plugin
DISTNAME=	${PORTNAME}-${PORTVERSION}${PKGNAMESUFFIX}

MAINTAINER=	bofh@FreeBSD.org
COMMENT=	MySQL DataStore implementation for GeoServer
WWW=		http://geoserver.org/display/GEOSDOC/MySQL+DataStore

LICENSE=	LGPL21

RUN_DEPENDS=	${LOCALBASE}/geoserver/start.jar:graphics/geoserver

USES=		cpe zip

CPE_VENDOR=	osgeo

NO_ARCH=	yes
NO_BUILD=	yes
SUB_FILES=	pkg-message

GSLIBDIR=	geoserver/webapps/geoserver/WEB-INF/lib
PLIST_FILES=	${GSLIBDIR}/gt-jdbc-mysql-30.0.jar \
		${GSLIBDIR}/mysql-connector-java-8.0.28.jar

do-install:
	@${MKDIR} ${STAGEDIR}${PREFIX}/${GSLIBDIR}
.for f in ${PLIST_FILES:S,^${GSLIBDIR}/,,}
	${INSTALL_DATA} ${WRKDIR}/${f} ${STAGEDIR}${PREFIX}/${GSLIBDIR}
.endfor

.include <bsd.port.mk>