diff options
-rw-r--r-- | www/yahoo-ui/Makefile | 8 | ||||
-rw-r--r-- | www/yahoo-ui/files/yui.conf.in | 8 |
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> |