539203f259
- regen PLIST ok ajacoutot@
50 lines
1.0 KiB
Makefile
50 lines
1.0 KiB
Makefile
# $OpenBSD: Makefile,v 1.6 2009/09/20 13:24:11 benoit Exp $
|
|
|
|
COMMENT-main = yahoo ui library toolkit
|
|
COMMENT-docs = yahoo ui library examples
|
|
CATEGORIES = www devel
|
|
|
|
V = 2.8.0r4
|
|
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>
|