# $OpenBSD: Makefile,v 1.16 2011/11/16 15:56:37 robert Exp $ COMMENT-main = template engine for PHP COMMENT-docs = documentation for Smarty VERSION = 2.6.26 DISTNAME = Smarty-${VERSION} PKGNAME-main = smarty-${VERSION} DISTNAME-docs = Smarty-2.6.14-docs PKGNAME-docs = smarty-docs-${VERSION} CATEGORIES = devel www REVISION = 2 HOMEPAGE = http://www.smarty.net MAINTAINER = Benoit Lecocq # PHP License PERMIT_PACKAGE_CDROM = Yes PERMIT_PACKAGE_FTP = Yes PERMIT_DISTFILES_CDROM =Yes PERMIT_DISTFILES_FTP = Yes MASTER_SITES = ${HOMEPAGE}/do_download.php?download_file= MASTER_SITES0 = ${HOMEPAGE}/distributions/manual/en/ \ ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/ \ DISTFILES = ${DISTNAME}${EXTRACT_SUFX} \ ${DISTNAME-docs}${EXTRACT_SUFX}:0 MULTI_PACKAGES = -main -docs MODULES= lang/php CHROOT_DIR = /var/www PREFIX-main = ${CHROOT_DIR} NO_BUILD = Yes NO_REGRESS = Yes PKG_ARCH = * do-install: ${INSTALL_DATA_DIR} ${WRKINST}${CHROOT_DIR}/smarty cd ${WRKSRC}/libs; tar cf - . | \ tar xf - -C ${WRKINST}${CHROOT_DIR}/smarty chown -R ${LIBOWN}:${LIBGRP} ${WRKINST}${CHROOT_DIR}/smarty ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/smarty cd ${WRKDIR}/manual; tar cf - . | \ tar xf - -C ${PREFIX}/share/doc/smarty chown -R ${DOCOWN}:${DOCGRP} ${PREFIX}/share/doc/smarty .include