2013-03-22 12:53:34 +01:00
|
|
|
# Created by: Joe Horn <joehorn@gmail.com>
|
2010-01-31 01:44:04 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= extjs
|
2013-10-01 20:04:20 +02:00
|
|
|
PORTVERSION= 4.2.2
|
2010-01-31 01:44:04 +01:00
|
|
|
CATEGORIES= www
|
2013-07-15 16:57:01 +02:00
|
|
|
MASTER_SITES= http://cdn.sencha.com/ext/gpl/ \
|
|
|
|
http://extjs.cachefly.net/ext/gpl/ \
|
2010-12-09 07:28:55 +01:00
|
|
|
http://mirror.joehorn.idv.tw/extjs/
|
2011-05-16 19:12:52 +02:00
|
|
|
DISTNAME= ext-${PORTVERSION}-gpl
|
2010-01-31 01:44:04 +01:00
|
|
|
|
|
|
|
MAINTAINER= joehorn@gmail.com
|
2013-10-01 20:04:20 +02:00
|
|
|
COMMENT= JavaScript platform for rapid development of cross-browser web apps
|
2010-01-31 01:44:04 +01:00
|
|
|
|
2010-12-09 07:28:55 +01:00
|
|
|
LICENSE= GPLv3
|
|
|
|
|
2013-10-01 20:04:20 +02:00
|
|
|
WRKSRC= ${WRKDIR}/ext-${PORTVERSION}.1144
|
2011-07-02 20:20:51 +02:00
|
|
|
|
2014-03-10 19:01:09 +01:00
|
|
|
USES= zip
|
2010-01-31 01:44:04 +01:00
|
|
|
NO_BUILD= yes
|
|
|
|
|
2013-03-22 12:53:34 +01:00
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
2010-01-31 01:44:04 +01:00
|
|
|
|
2013-10-01 20:04:20 +02:00
|
|
|
WWW_SUB= bootstrap.js build.xml builds cmd ext-all-debug-w-comments.js \
|
|
|
|
ext-all-debug.js ext-all-dev.js \
|
|
|
|
ext-all-rtl-debug-w-comments.js ext-all-rtl-debug.js \
|
|
|
|
ext-all-rtl-dev.js ext-all-rtl.js ext-all.js \
|
|
|
|
ext-debug-w-comments.js ext-debug.js ext-dev.js \
|
|
|
|
ext-theme-access.js ext-theme-classic-sandbox.js \
|
|
|
|
ext-theme-classic.js ext-theme-gray.js ext-theme-neptune.js \
|
|
|
|
ext.js file-header.js index.html license.txt locale \
|
|
|
|
packages plugins release-notes.html resources src \
|
|
|
|
welcome
|
2010-01-31 01:44:04 +01:00
|
|
|
|
2013-03-22 12:53:34 +01:00
|
|
|
.include <bsd.port.options.mk>
|
2010-01-31 01:44:04 +01:00
|
|
|
|
|
|
|
SUB_FILES+= pkg-message
|
|
|
|
|
2013-03-23 07:20:45 +01:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2010-01-31 01:44:04 +01:00
|
|
|
SUB_LIST+= COMMENTDOCS=
|
2013-03-22 12:53:34 +01:00
|
|
|
.else
|
|
|
|
SUB_LIST+= COMMENTDOCS="\# "
|
2010-01-31 01:44:04 +01:00
|
|
|
.endif
|
|
|
|
|
2013-03-23 07:20:45 +01:00
|
|
|
.if ${PORT_OPTIONS:MEXAMPLES}
|
2010-01-31 01:44:04 +01:00
|
|
|
SUB_LIST+= COMMENTEXAMPLES=
|
2013-03-22 12:53:34 +01:00
|
|
|
.else
|
|
|
|
SUB_LIST+= COMMENTEXAMPLES="\# "
|
2010-01-31 01:44:04 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
do-install:
|
2013-10-01 20:04:20 +02:00
|
|
|
@cd ${WRKSRC} && ${COPYTREE_SHARE} "${WWW_SUB}" ${STAGEDIR}${WWWDIR}
|
|
|
|
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}
|
2013-03-22 12:53:34 +01:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2013-10-01 20:04:20 +02:00
|
|
|
@cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
|
2010-01-31 01:44:04 +01:00
|
|
|
.endif
|
2013-03-23 07:20:45 +01:00
|
|
|
.if ${PORT_OPTIONS:MEXAMPLES}
|
2013-10-01 20:04:20 +02:00
|
|
|
@cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
|
2010-01-31 01:44:04 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
2013-03-22 12:53:34 +01:00
|
|
|
.include <bsd.port.mk>
|