head	1.4;
access;
symbols;
locks; strict;
comment	@# @;


1.4
date	2008.12.09.14.32.00;	author garga;	state dead;
branches;
next	1.3;

1.3
date	2008.12.09.12.44.39;	author garga;	state Exp;
branches;
next	1.2;

1.2
date	2008.01.30.06.47.45;	author beech;	state dead;
branches;
next	1.1;

1.1
date	2008.01.30.03.32.36;	author beech;	state Exp;
branches;
next	;


desc
@@


1.4
log
@- Remove recently added www/yui since it already exists as www/yahoo-ui
@
text
@# New ports collection makefile for:	yui
# Date created:		2008-12-09
# Whom:			BluePex Security Solutions <freebsd-ports@@bluepex.com>
#
# $FreeBSD: ports/www/yui/Makefile,v 1.3 2008/12/09 12:44:39 garga Exp $
#

PORTNAME=	yui
PORTVERSION=	2.6.0
CATEGORIES=	www
MASTER_SITES=	SF
DISTFILES=	${PORTNAME}_${PORTVERSION}${EXTRACT_SUFX}

MAINTAINER=	freebsd-ports@@bluepex.com
COMMENT=	The Yahoo! User Interface Library

USE_ZIP=	yes
NO_BUILD=	yes

WRKSRC=		${WRKDIR}/${PORTNAME}
YUIDIR=		${PREFIX}/www/${PORTNAME}

PORTDOCS=	*
PORTEXAMPLES=	*

do-install:
	${MKDIR} ${YUIDIR}
	@@${CP} -Rv ${WRKSRC}/build/* ${YUIDIR}
	${CHOWN} -R ${WWWOWN}:${WWWGRP} ${YUIDIR}
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
	@@${CP} -Rv ${WRKSRC}/docs/* ${DOCSDIR}
	${CHOWN} -R root:wheel ${DOCSDIR}
.endif
.if !defined(NOPORTEXAMPLES)
	${MKDIR} ${EXAMPLESDIR}
	@@${CP} -Rv ${WRKSRC}/examples/* ${EXAMPLESDIR}
	${CHOWN} -R root:wheel ${EXAMPLESDIR}
.endif

.include <bsd.port.mk>
@


1.3
log
@The YUI Library is a set of utilities and controls, written in JavaScript, for
building richly interactive web applications using techniques such as DOM
scripting, DHTML and AJAX. YUI is available under a BSD license and is free for
all uses. The YUI project includes the YUI Library and two build-time tools: YUI
Compressor (minification) and YUI Doc (documentation engine for JavaScript
code).

WWW:    http://developer.yahoo.com/yui/

PR:		ports/129520
Submitted by:	BluePex Security Solutions <freebsd-ports at bluepex.com>
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.2
log
@- Back out
@
text
@d2 2
a3 2
# Date created:		2008-01-29
# Whom:			Greg Larkin <glarkin@@sourcehosting.net>
d5 1
a5 1
# $FreeBSD: ports/www/yui/Makefile,v 1.1 2008/01/30 03:32:36 beech Exp $
d9 1
a9 1
PORTVERSION=	2.4.1
d12 1
a12 1
DISTNAME=	${PORTNAME}_${PORTVERSION}
d14 2
a15 2
MAINTAINER=	glarkin@@sourcehosting.net
COMMENT=	The Yahoo! User Interface (YUI) Library
d18 1
d21 1
a21 13
NO_BUILD=	yes

.if defined(WITH_APACHE)
USE_APACHE=	2.0+
CONFDIR=	${PREFIX}/${CONFDIR_REL}
CONFDIR_REL=	${APACHEETCDIR}/Includes
PLIST_SUB+=	NOAPACHE="" CONFDIR=${CONFDIR_REL}

CONF=		yui.conf
SUB_FILES+=	pkg-message ${CONF}
.else
PLIST_SUB+=	NOAPACHE="@@comment "
.endif
d23 2
a24 1
.include <bsd.port.pre.mk>
d27 7
a33 25
	@@cd ${WRKSRC} && ${COPYTREE_SHARE} "assets build index.html \
		tests" ${WWWDIR}
	${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
	@@${ECHO_CMD} '@@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} \
		${WWWDIR:S|^${PREFIX}/|%D/|}' >> ${TMPPLIST}
	${FIND} ${WWWDIR} -type f -print0 | ${XARGS} -0 ${CHMOD} 644
	@@${ECHO_CMD} '@@exec ${FIND} ${WWWDIR} -type f -print0 | \
		${XARGS} -0 ${CHMOD} 644' >> ${TMPPLIST}
	${FIND} ${WWWDIR} -type d -print0 | ${XARGS} -0 ${CHMOD} 755
	@@${ECHO_CMD} '@@exec ${FIND} ${WWWDIR} -type d -print0 | \
		${XARGS} -0 ${CHMOD} 755' >> ${TMPPLIST}

post-install:
.if defined(WITH_APACHE)
	@@if [ -d "${CONFDIR}" ]; then \
	  ${CP} ${WRKDIR}/${CONF} ${CONFDIR}; \
	else \
	  ${ECHO_MSG} "" ; \
	  ${ECHO_MSG} "Please check your Apache 2.x installation -" ; \
	  ${ECHO_MSG} "${CONFDIR} doesn't exist," ; \
	  ${ECHO_MSG} "so I cannot install ${CONF} there!" ; \
	  ${ECHO_MSG} "" ; \
	  ${FALSE} ; \
	fi
	@@${CAT} ${PKGMESSAGE}
d35 4
a38 3
.if !defined(NOPORTDOCS)
	@@cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${DOCSDIR}
	@@${CP} ${WRKSRC}/README ${DOCSDIR}
a39 1
	@@cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR}
d41 1
a41 1
.include <bsd.port.post.mk>
@


1.1
log
@The Yahoo! User Interface (YUI) Library is a set of utilities and
controls, written in JavaScript, for building richly interactive
web applications using techniques such as DOM scripting, DHTML and
AJAX. The YUI Library also includes several core CSS resources. All
components in the YUI Library have been released as open source
under a BSD license and are free for all uses.

PR:		ports/120135
Submitted by:	Greg Larkin <glarkin at sourcehosting.net> (maintainer)
@
text
@d5 1
a5 1
# $FreeBSD$
@

