Advertisement
Guest User

Makefile

a guest
May 13th, 2014
10
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.09 KB | None | 0 0
  1. # $FreeBSD$
  2.  
  3. PORTNAME=    appname
  4. PORTVERSION=    0.2
  5. CATEGORIES=    www java
  6.  
  7. MAINTAINER=    me
  8. COMMENT=    app description
  9.  
  10.  
  11. BUILD_DEPENDS+=    ${LOCALBASE}/apache-tomcat-7.0/bin/bootstrap.jar:${PORTSDIR}/www/tomcat7
  12. RUN_DEPENDS+=    ${JAVAJARDIR}/servlet-api.jar:${PORTSDIR}/www/servlet-api
  13. RUN_DEPENDS+=    ${LOCALBASE}/apache-tomcat-7.0/bin/bootstrap.jar:${PORTSDIR}/www/tomcat7
  14.  
  15. WEBAPPDIR=    ${PREFIX}/apache-tomcat-7.0/webapps
  16.  
  17. SUB_FILES=    pkg-message
  18. SUB_FILES+=    ${PORTNAME}-${PORTVERSION}.zip
  19. SUB_FILES+=    somefile.properties
  20. SUB_FILES+=    somescript.sh
  21. SUB_FILES+=    tomcat.keystore
  22. SUB_FILES+=    tomcat-configuration.xml
  23.  
  24. #java dependency
  25. USE_JAVA=    yes
  26. JAVA_VERSION=    1.7+
  27. JAVA_VENDOR=    freebsd bsdjava sun openjdk
  28.  
  29. #use zip for distfile (distfile is included in files directory)
  30. USE_ZIP=    yes
  31.  
  32. # mysql server dependency
  33. USE_MYSQL=     server
  34. WANT_MYSQL_VER= 56
  35.  
  36. #open ssl dependency
  37. # USE_OPENSSL=     yes
  38.  
  39. # webapp file ownership
  40. USER=    www
  41. GROUP=    www
  42.  
  43. NO_ARCH=    yes
  44. NO_BUILD=    yes
  45. NO_STAGE=    yes
  46. .include <bsd.port.options.mk>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement