1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/graphics/geoserver/Makefile
Martin Wilke 0763edf745 - Update to 1.6.4b
PR:		124697
Submitted by:	Wen heping <wenheping@gmail.com> (maintainer)
2008-06-20 12:08:24 +00:00

47 lines
1.0 KiB
Makefile

# New ports collection makefile for: geoserver
# Date created: 10 March 2008
# Whom: Wen heping<wenheping@gmail.com>
#
# $FreeBSD$
#
PORTNAME= geoserver
PORTVERSION= 1.6.4b
PORTREVISION= 1
CATEGORIES= graphics geography java
MASTER_SITES= SF
DISTNAME= ${PORTNAME}-${PORTVERSION}-bin
MAINTAINER= wenheping@gmail.com
COMMENT= An Open Source GIS Server
USE_JAVA= yes
USE_ZIP= yes
JAVA_VERSION= 1.5+
NO_BUILD= YES
WRKSRC= ${WRKDIR}/geoserver
GEOSERVERDIR= ${PREFIX}/lib/${PORTNAME}
.include <bsd.port.pre.mk>
USE_RC_SUBR= geoserver.sh
RC_SCRIPTS_SUB= PREFIX=${PREFIX}
post-patch:
@${REINPLACE_CMD} -e 's|$$GEOSERVER_HOME|${GEOSERVERDIR}|g' \
${WRKSRC}/bin/startup.sh ${WRKSRC}/bin/shutdown.sh
pre-install:
@${FIND} ${WRKSRC} -name "*.bak" -o -name "*.orig" | ${XARGS} ${RM}
do-install:
@${MKDIR} ${GEOSERVERDIR}
@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${GEOSERVERDIR}/
@${CHMOD} -R 755 ${GEOSERVERDIR}
post-install:
@${CAT} ${PKGMESSAGE} | ${SED} -e 's|%%PREFIX%%|${PREFIX}|g'
.include <bsd.port.post.mk>