mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-01 10:59:55 +00:00
- Add LICENSE
- Switch to options helpers - Cosmetic fixes
This commit is contained in:
parent
c0c9a53322
commit
9c29058e24
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=422487
@ -12,10 +12,13 @@ DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}_${PORTVERSION}
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Deegree Catalogue Service(CSW)
|
||||
|
||||
LICENSE= LGPL21+
|
||||
|
||||
USES= zip
|
||||
USE_JAVA= yes
|
||||
|
||||
NO_BUILD= yes
|
||||
NO_ARCH= yes
|
||||
TOMCATDIR= ${PREFIX}/${TOMCATVER}
|
||||
APPHOME= ${LOCALBASE}/${TOMCATVER}
|
||||
WEBAPPDIR= ${TOMCATDIR}/webapps
|
||||
@ -35,14 +38,14 @@ OPTIONS_DEFINE= DOCS
|
||||
|
||||
.if ${PORT_OPTIONS:MTOMCAT6}
|
||||
TOMCATVER= apache-tomcat-6.0
|
||||
TCPORT= 8180
|
||||
TCPORT= 8180
|
||||
BUILD_DEPENDS+= ${APPHOME}/bin/bootstrap.jar:www/tomcat6
|
||||
RUN_DEPENDS+= ${APPHOME}/bin/bootstrap.jar:www/tomcat6
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MTOMCAT7}
|
||||
TOMCATVER= apache-tomcat-7.0
|
||||
TCPORT= 8080
|
||||
TCPORT= 8080
|
||||
BUILD_DEPENDS+= ${APPHOME}/bin/bootstrap.jar:www/tomcat7
|
||||
RUN_DEPENDS+= ${APPHOME}/bin/bootstrap.jar:www/tomcat7
|
||||
.endif
|
||||
@ -52,9 +55,11 @@ post-extract:
|
||||
@${TAR} xf ${WRKDIR}/deegree-csw.war -C ${WRKDIR}/${PORTDIRNAME}
|
||||
|
||||
do-install:
|
||||
${INSTALL} -d ${STAGEDIR}${WEBAPPDIR}/${PORTDIRNAME}
|
||||
@${MKDIR} ${STAGEDIR}${WEBAPPDIR}/${PORTDIRNAME}
|
||||
@cd ${WRKDIR}/${PORTDIRNAME} && ${COPYTREE_SHARE} \* ${STAGEDIR}${WEBAPPDIR}/${PORTDIRNAME}
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
do-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKDIR}/|} ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user