35 lines
660 B
Makefile
35 lines
660 B
Makefile
# $OpenBSD: Makefile,v 1.33 2016/08/27 17:26:49 ajacoutot Exp $
|
|
|
|
COMMENT= PHP class for generating PDF documents
|
|
DISTNAME = tcpdf_6_2_13
|
|
PKGNAME = tcpdf-6.2.13
|
|
CATEGORIES= textproc
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tcpdf/}
|
|
|
|
HOMEPAGE= http://www.tcpdf.org/
|
|
|
|
# LGPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
EXTRACT_SUFX = .zip
|
|
|
|
MODULES= lang/php
|
|
MODPHP_BUILDDEP=No
|
|
|
|
NO_BUILD= Yes
|
|
NO_TEST= Yes
|
|
|
|
WRKDIST= ${WRKDIR}/tcpdf
|
|
PREFIX= ${VARBASE}/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>
|