aboutsummaryrefslogtreecommitdiffstats
path: root/www/cocoon
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2015-03-28 20:18:05 +0800
committersunpoet <sunpoet@FreeBSD.org>2015-03-28 20:18:05 +0800
commit03e96142f22b61893419392618ad2ad6a544cd9d (patch)
tree6959e2b8e7abbf54e846d6bddf684dbc4038f518 /www/cocoon
parent7b6ecd74ff402b633fb82762d969ed6e53727102 (diff)
downloadfreebsd-ports-gnome-03e96142f22b61893419392618ad2ad6a544cd9d.tar.gz
freebsd-ports-gnome-03e96142f22b61893419392618ad2ad6a544cd9d.tar.zst
freebsd-ports-gnome-03e96142f22b61893419392618ad2ad6a544cd9d.zip
- Add CPE information
PR: 198961 Submitted by: shun <shun.fbsd.pr@dropcut.net>
Diffstat (limited to 'www/cocoon')
-rw-r--r--www/cocoon/Makefile49
1 files changed, 24 insertions, 25 deletions
diff --git a/www/cocoon/Makefile b/www/cocoon/Makefile
index 88ec62a44f98..56ffdd454cd6 100644
--- a/www/cocoon/Makefile
+++ b/www/cocoon/Makefile
@@ -11,17 +11,18 @@ DISTNAME= ${PDISTNAME}-src
MAINTAINER= ports@FreeBSD.org
COMMENT= XML Web Development Framework
-USE_RC_SUBR= ${PORTNAME}
-USE_JAVA= yes
-JAVA_VERSION= 1.6
-USES= python
-MAKE_ENV= JAVA_HOME=${JAVA_HOME}
-WRKSRC= ${WRKDIR}/${PDISTNAME}
-APP_NAME?= ${PORTNAME}
-APP_HOME?= ${PREFIX}/${APP_NAME}
-LATEST_LINK= ${APP_NAME}
-PLIST= ${WRKDIR}/pkg-plist
-PDISTNAME= ${PORTNAME}-${PORTVERSION}
+USE_RC_SUBR= ${PORTNAME}
+USE_JAVA= yes
+JAVA_VERSION= 1.6
+USES= cpe python
+CPE_VENDOR= apache
+MAKE_ENV= JAVA_HOME=${JAVA_HOME}
+WRKSRC= ${WRKDIR}/${PDISTNAME}
+APP_NAME?= ${PORTNAME}
+APP_HOME?= ${PREFIX}/${APP_NAME}
+LATEST_LINK= ${APP_NAME}
+PLIST= ${WRKDIR}/pkg-plist
+PDISTNAME= ${PORTNAME}-${PORTVERSION}
PKGMESSAGE= ${WRKDIR}/pkg-message
COCOON_LIB= ${JAVASHAREDIR}/${APP_NAME}
@@ -37,8 +38,7 @@ GROUP?= www
GID?= 80
LOG_FILE?= ${APP_HOME}/${APP_NAME}.log
-SUB_LIST= \
- APP_HOME=${APP_HOME} \
+SUB_LIST= APP_HOME=${APP_HOME} \
APP_NAME=${APP_NAME} \
PORT=${PORT} \
COCOON_LIB=${COCOON_LIB} \
@@ -52,8 +52,7 @@ SUB_LIST= \
LOG_FILE=${LOG_FILE} \
PYTHON_CMD=${PYTHON_CMD}
-SUB_FILES= \
- pkg-install \
+SUB_FILES= pkg-install \
pkg-deinstall \
${APP_NAME}ctl \
upstreams-cocoon.sh \
@@ -79,23 +78,23 @@ post-configure:
${CP} ${WRKSRC}/build.properties ${WRKSRC}/local.build.properties
.if ! ${PORT_OPTIONS:MDOCS}
${REINPLACE_CMD} \
- -e 's/^#\(exclude.webapp.documentation=\)/\1/' \
- -e 's/^#\(exclude.webapp.javadocs=\)/\1/' \
- -e 's/^#\(exclude.documentation=\)/\1/' \
- -e 's/^#\(exclude.javadocs=\)/\1/' \
- ${WRKSRC}/local.build.properties
+ -e 's/^#\(exclude.webapp.documentation=\)/\1/' \
+ -e 's/^#\(exclude.webapp.javadocs=\)/\1/' \
+ -e 's/^#\(exclude.documentation=\)/\1/' \
+ -e 's/^#\(exclude.javadocs=\)/\1/' \
+ ${WRKSRC}/local.build.properties
.endif
.if ! ${PORT_OPTIONS:MSAMPLES}
${REINPLACE_CMD} \
- -e 's/^#\(exclude.webapp.samples=\)/\1/' \
- -e 's/^#\(exclude.webapp.test-suite=\)/\1/' \
- ${WRKSRC}/local.build.properties
+ -e 's/^#\(exclude.webapp.samples=\)/\1/' \
+ -e 's/^#\(exclude.webapp.test-suite=\)/\1/' \
+ ${WRKSRC}/local.build.properties
.endif
# Include Java source code into the binary jar files
.if (defined(WITH_SOURCES))
${REINPLACE_CMD} \
- -e 's/^#\(include.sources-in-jars=\)/\1/' \
- ${WRKSRC}/local.build.properties
+ -e 's/^#\(include.sources-in-jars=\)/\1/' \
+ ${WRKSRC}/local.build.properties
.endif
pre-build: