mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-13 03:03:15 +00:00
39510de2b4
- Reset maintainer
47 lines
1.0 KiB
Makefile
47 lines
1.0 KiB
Makefile
# New ports collection makefile for: jspwiki
|
|
# Date created: 29 April, 2009
|
|
# Whom: wenheping@gmail.com
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= jspwiki
|
|
PORTVERSION= 2.8.4
|
|
CATEGORIES= www java
|
|
MASTER_SITES= http://www.ecyrd.com/~jalkanen/JSPWiki/${PORTVERSION}/
|
|
DISTNAME= JSPWiki-${PORTVERSION}-bin
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A feature-rich and extensible Wiki engine built around J2EE
|
|
|
|
RUN_DEPENDS= ${TOMCATDIR}:${PORTSDIR}/www/tomcat55
|
|
|
|
USE_ZIP= yes
|
|
USE_JAVA= 1.5+
|
|
|
|
NO_BUILD= yes
|
|
TOMCATVER= tomcat5.5
|
|
TOMCATDIR= ${PREFIX}/${TOMCATVER}
|
|
TOMCATOWN= www
|
|
TOMCATGRP= www
|
|
WEBAPPDIR= ${TOMCATDIR}/webapps
|
|
PORTDOCS= LICENSE README ReleaseNotes
|
|
PLIST_FILES= ${TOMCATVER}/webapps/JSPWiki.war
|
|
WRKSRC= ${WRKDIR}/JSPWiki
|
|
|
|
do-install:
|
|
cd ${WRKSRC} && \
|
|
${INSTALL} -g ${TOMCATGRP} -o ${TOMCATOWN} -m 444 JSPWiki.war ${WEBAPPDIR};
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
.for i in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
post-install:
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|