openbsd-ports/www/yui/Makefile
benoit 7ce1803235 - update yui to 2.8.1
- regen PLIST
2010-08-20 05:53:03 +00:00

50 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.7 2010/08/20 05:53:03 benoit Exp $
COMMENT-main = yahoo ui library toolkit
COMMENT-docs = yahoo ui library examples
CATEGORIES = www devel
V = 2.8.1
EXTRACT_SUFX = .zip
DISTNAME = yui_${V}
PKGNAME-main = yui-${V}
PKGNAME-docs = yui-doc-${V}
MULTI_PACKAGES = -main -docs
HOMEPAGE = http://developer.yahoo.com/yui/
MAINTAINER = Benoit Lecocq <benoit@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = http://yuilibrary.com/downloads/yui2/
EXTRACT_ONLY =
BUILD_DEPENDS = ::archivers/unzip
NO_BUILD = Yes
NO_REGRESS = Yes
PKG_ARCH = *
PREFIX = /var/www
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/htdocs/yui
@cd ${PREFIX}/htdocs && unzip -oq ${FULLDISTDIR}/${DISTFILES}
@mv ${PREFIX}/htdocs/yui/as-docs ${PREFIX}/htdocs/yui/docs
YUI = htdocs/yui
BUILD = ${YUI}/build
DOC = ${YUI}/docs
EX = ${YUI}/examples
SUBST_VARS = BUILD DOC EX YUI
RUN_DEPENDS-docs = ::${BASE_PKGPATH}
.include <bsd.port.mk>