Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # $FreeBSD$
- PORTNAME= appname
- PORTVERSION= 0.2
- CATEGORIES= www java
- MAINTAINER= me
- COMMENT= app description
- BUILD_DEPENDS+= ${LOCALBASE}/apache-tomcat-7.0/bin/bootstrap.jar:${PORTSDIR}/www/tomcat7
- RUN_DEPENDS+= ${JAVAJARDIR}/servlet-api.jar:${PORTSDIR}/www/servlet-api
- RUN_DEPENDS+= ${LOCALBASE}/apache-tomcat-7.0/bin/bootstrap.jar:${PORTSDIR}/www/tomcat7
- WEBAPPDIR= ${PREFIX}/apache-tomcat-7.0/webapps
- SUB_FILES= pkg-message
- SUB_FILES+= ${PORTNAME}-${PORTVERSION}.zip
- SUB_FILES+= somefile.properties
- SUB_FILES+= somescript.sh
- SUB_FILES+= tomcat.keystore
- SUB_FILES+= tomcat-configuration.xml
- #java dependency
- USE_JAVA= yes
- JAVA_VERSION= 1.7+
- JAVA_VENDOR= freebsd bsdjava sun openjdk
- #use zip for distfile (distfile is included in files directory)
- USE_ZIP= yes
- # mysql server dependency
- USE_MYSQL= server
- WANT_MYSQL_VER= 56
- #open ssl dependency
- # USE_OPENSSL= yes
- # webapp file ownership
- USER= www
- GROUP= www
- NO_ARCH= yes
- NO_BUILD= yes
- NO_STAGE= yes
- .include <bsd.port.options.mk>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement