openbsd-ports/textproc/tcpdf/Makefile

38 lines
742 B
Makefile
Raw Normal View History

2011-11-16 10:56:36 -05:00
# $OpenBSD: Makefile,v 1.26 2011/11/16 15:56:37 robert Exp $
COMMENT= PHP class for generating PDF documents
2011-04-16 19:10:13 -04:00
DISTNAME= tcpdf_5_9_068
PKGNAME= tcpdf-5.9.068
EXTRACT_SUFX= .zip
2011-07-08 20:42:30 -04:00
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tcpdf/}
2011-11-16 10:56:36 -05:00
REVISION= 2
2011-07-08 18:31:59 -04:00
HOMEPAGE= http://www.tcpdf.org/
# LGPL
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
2011-07-08 18:31:59 -04:00
MODULES= lang/php
MODPHP_BUILDDEP=No
NO_BUILD= Yes
NO_REGRESS= Yes
WRKDIST= ${WRKDIR}/tcpdf
PREFIX= /var/www
INSTDIR= ${PREFIX}/tcpdf
do-install:
cd ${WRKDIST} && \
find . -type d \
-exec ${INSTALL_DATA_DIR} ${INSTDIR}/{} \; && \
find . ! -type d \
-exec ${INSTALL_DATA} -m 644 {} ${INSTDIR}/{} \;
.include <bsd.port.mk>