aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbeech <beech@FreeBSD.org>2008-02-02 05:37:22 +0800
committerbeech <beech@FreeBSD.org>2008-02-02 05:37:22 +0800
commitbd24790bb9a450b4a7431f4938161d34837f827d (patch)
tree8307860194177adbafdf95c61e9e5553e4771267
parent0f3bda910265e8d423413e316851f26b404640f2 (diff)
downloadfreebsd-ports-gnome-bd24790bb9a450b4a7431f4938161d34837f827d.tar.gz
freebsd-ports-gnome-bd24790bb9a450b4a7431f4938161d34837f827d.tar.zst
freebsd-ports-gnome-bd24790bb9a450b4a7431f4938161d34837f827d.zip
- Fix distfiles path [1]
- Add options Reported by: pointyhat via pav [1] Approved by: Greg Larkin <glarkin@sourcehosting.net> Pointyhat to: beech
-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>