aboutsummaryrefslogtreecommitdiff
path: root/www/yahoo-ui
diff options
context:
space:
mode:
authorBeech Rintoul <beech@FreeBSD.org>2008-02-01 21:37:22 +0000
committerBeech Rintoul <beech@FreeBSD.org>2008-02-01 21:37:22 +0000
commit212b335ed5d328121e43789115ecde44af331970 (patch)
tree6c581c08537d08959a4a778b35a3cf0c7d37de57 /www/yahoo-ui
parentd3a475d1a7e6b48af7f8fb8ab7a57ec6d988fa89 (diff)
downloadports-212b335ed5d328121e43789115ecde44af331970.tar.gz
ports-212b335ed5d328121e43789115ecde44af331970.zip
Notes
Diffstat (limited to 'www/yahoo-ui')
-rw-r--r--www/yahoo-ui/Makefile8
-rw-r--r--www/yahoo-ui/files/yui.conf.in8
2 files changed, 10 insertions, 6 deletions
diff --git a/www/yahoo-ui/Makefile b/www/yahoo-ui/Makefile
index a91ebc1a96e1..4457a1515cc6 100644
--- a/www/yahoo-ui/Makefile
+++ b/www/yahoo-ui/Makefile
@@ -7,8 +7,10 @@
PORTNAME= yahoo
PORTVERSION= 2.4.1
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= SF
+MASTER_SITE_SUBDIR= yui
PKGNAMESUFFIX= -ui
DISTNAME= yui_${PORTVERSION}
@@ -20,6 +22,10 @@ USE_ZIP= yes
WRKSRC= ${WRKDIR}/yui
NO_BUILD= yes
+OPTIONS= APACHE "Configure for Apache-2.x" off
+
+.include <bsd.port.pre.mk>
+
.if defined(WITH_APACHE)
USE_APACHE= 2.0+
CONFDIR= ${PREFIX}/${CONFDIR_REL}
@@ -32,8 +38,6 @@ SUB_FILES+= pkg-message ${CONF}
PLIST_SUB+= NOAPACHE="@comment "
.endif
-.include <bsd.port.pre.mk>
-
do-install:
@cd ${WRKSRC} && ${COPYTREE_SHARE} "assets build index.html \
tests" ${WWWDIR}
diff --git a/www/yahoo-ui/files/yui.conf.in b/www/yahoo-ui/files/yui.conf.in
index 61636c080890..0cfdf7f67599 100644
--- a/www/yahoo-ui/files/yui.conf.in
+++ b/www/yahoo-ui/files/yui.conf.in
@@ -1,8 +1,8 @@
-Alias /yui/docs %%DOCSDIR%%
-Alias /yui/examples %%EXAMPLESDIR%%
-Alias /yui %%WWWDIR%%
+Alias /yahoo/docs %%DOCSDIR%%
+Alias /yahoo/examples %%EXAMPLESDIR%%
+Alias /yahoo %%WWWDIR%%
-<Location /yui>
+<Location /yahoo>
Order deny,allow
Allow from all
</Location>