32 lines
863 B
Makefile
32 lines
863 B
Makefile
# Created by: Alexander Logvinov <ports@logvinov.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= geoserver
|
|
PORTVERSION= 2.5.2
|
|
CATEGORIES= databases geography java
|
|
MASTER_SITES= SF/${PORTNAME}/GeoServer/${PORTVERSION}/extensions
|
|
PKGNAMESUFFIX= -mysql-plugin
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}${PKGNAMESUFFIX}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= MySQL DataStore implementation for GeoServer
|
|
|
|
LICENSE= LGPL21
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/geoserver/start.jar:${PORTSDIR}/graphics/geoserver
|
|
|
|
USES= zip
|
|
NO_BUILD= yes
|
|
|
|
GSLIBDIR= geoserver/webapps/geoserver/WEB-INF/lib
|
|
SUB_FILES= pkg-message
|
|
PLIST_FILES= ${GSLIBDIR}/gt-jdbc-mysql-11.2.jar \
|
|
${GSLIBDIR}/mysql-connector-java-5.1.17.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>
|