[Midnightbsd-cvs] mports [22369] trunk/print: add fpdf

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Mar 5 10:17:23 EST 2017


Revision: 22369
          http://svnweb.midnightbsd.org/mports/?rev=22369
Author:   laffer1
Date:     2017-03-05 10:17:23 -0500 (Sun, 05 Mar 2017)
Log Message:
-----------
add fpdf

Modified Paths:
--------------
    trunk/print/Makefile
    trunk/print/fontforge/Makefile

Added Paths:
-----------
    trunk/print/fpdf/
    trunk/print/fpdf/Makefile
    trunk/print/fpdf/distinfo
    trunk/print/fpdf/files/
    trunk/print/fpdf/files/pkg-message.in
    trunk/print/fpdf/pkg-descr
    trunk/print/fpdf/pkg-plist

Modified: trunk/print/Makefile
===================================================================
--- trunk/print/Makefile	2017-03-05 15:16:08 UTC (rev 22368)
+++ trunk/print/Makefile	2017-03-05 15:17:23 UTC (rev 22369)
@@ -19,6 +19,7 @@
 SUBDIR += foomatic-db
 SUBDIR += foomatic-db-engine
 SUBDIR += foomatic-db-hpijs
+SUBDIR += fpdf
 SUBDIR += freetype
 SUBDIR += freetype2
 SUBDIR += ghostscript8-base

Modified: trunk/print/fontforge/Makefile
===================================================================
--- trunk/print/fontforge/Makefile	2017-03-05 15:16:08 UTC (rev 22368)
+++ trunk/print/fontforge/Makefile	2017-03-05 15:17:23 UTC (rev 22369)
@@ -12,6 +12,8 @@
 LICENSE=	gpl3
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+USE_GCC=	4.8+
+
 BUILD_DEPENDS=	${LOCALBASE}/include/uthash.h:devel/uthash \
 		${LOCALBASE}/bin/gnulib-tool:devel/gnulib
 LIB_DEPENDS=	libuninameslist.so:textproc/libuninameslist \
@@ -36,6 +38,7 @@
 CONFIGURE_ARGS=	--enable-tile-path --enable-gtk2-use
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
+MAKE_ENV+=	-D__FreeBSD_version=90100
 
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes

Added: trunk/print/fpdf/Makefile
===================================================================
--- trunk/print/fpdf/Makefile	                        (rev 0)
+++ trunk/print/fpdf/Makefile	2017-03-05 15:17:23 UTC (rev 22369)
@@ -0,0 +1,47 @@
+# Created by: Thierry Thomas <thierry at pompo.net>
+# $FreeBSD: head/print/fpdf/Makefile 413746 2016-04-21 16:43:14Z swills $
+# $MidnightBSD$
+
+PORTNAME=	fpdf
+PORTVERSION=	1.7
+PORTEPOCH=	1
+CATEGORIES=	print www
+MASTER_SITES=	http://www.fpdf.org/en/
+DISTNAME=	${PORTNAME}${PORTVERSION:S|.||}
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	Free PHP class to generate PDF files with pure PHP
+
+LICENSE=	unknown
+
+USE_PHP=	zlib
+
+FETCH_CMD=	${FETCH_BINARY} -ARr -o ${DISTDIR}/${DISTFILES}
+USES=		dos2unix tar:tgz
+NO_BUILD=	yes
+
+FPDF_DIR?=	share/fpdf
+
+SUB_FILES=	pkg-message
+SUB_LIST=	FPDF_DIR=${FPDF_DIR}
+PLIST_SUB=	FPDF_DIR=${FPDF_DIR}
+
+EXT2CNV=	afm css htm php txt
+DOCS=		FAQ.htm changelog.htm doc fpdf.css install.txt license.txt tutorial
+
+OPTIONS_DEFINE=	DOCS
+
+do-fetch:
+	@if [ ! -f ${DISTDIR}/${DISTFILES} ]; then \
+	${FETCH_CMD} ${FETCH_BEFORE_ARGS}	\
+		'${MASTER_SITES}dl.php?v=${PORTVERSION:S|.||}&f=${EXTRACT_SUFX:S|.||}'; \
+	fi
+
+do-install:
+	${MKDIR} ${STAGEDIR}${PREFIX}/${FPDF_DIR}
+	${INSTALL_DATA} ${WRKSRC}/fpdf.php ${STAGEDIR}${PREFIX}/${FPDF_DIR}
+	(cd ${WRKSRC} && ${COPYTREE_SHARE} "font makefont" ${STAGEDIR}${PREFIX}/${FPDF_DIR}/)
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	(cd ${WRKSRC} && ${COPYTREE_SHARE} "${DOCS}" ${STAGEDIR}${DOCSDIR}/)
+
+.include <bsd.port.mk>


Property changes on: trunk/print/fpdf/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/print/fpdf/distinfo
===================================================================
--- trunk/print/fpdf/distinfo	                        (rev 0)
+++ trunk/print/fpdf/distinfo	2017-03-05 15:17:23 UTC (rev 22369)
@@ -0,0 +1,2 @@
+SHA256 (fpdf17.tgz) = 7c4299c02a344f5ef1219e23b690fdf913f0cf9445c9b6ee1bdccecf0e601c60
+SIZE (fpdf17.tgz) = 127077


Property changes on: trunk/print/fpdf/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/print/fpdf/files/pkg-message.in
===================================================================
--- trunk/print/fpdf/files/pkg-message.in	                        (rev 0)
+++ trunk/print/fpdf/files/pkg-message.in	2017-03-05 15:17:23 UTC (rev 22369)
@@ -0,0 +1,2 @@
+You should add the FPDF path %%PREFIX%%/%%FPDF_DIR%%
+to the "include_path=" directive in your php.ini.


Property changes on: trunk/print/fpdf/files/pkg-message.in
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/print/fpdf/pkg-descr
===================================================================
--- trunk/print/fpdf/pkg-descr	                        (rev 0)
+++ trunk/print/fpdf/pkg-descr	2017-03-05 15:17:23 UTC (rev 22369)
@@ -0,0 +1,23 @@
+FPDF is a PHP class which allows to generate PDF files with pure PHP, that is
+to say without using the PDFlib library. The advantage is that PDFlib requires
+a fee for a commercial usage. F from FPDF stands for Free: you may use it for
+any kind of usage and modify it to suit your needs.
+
+FPDF has other advantages: high level functions.
+Here is a list of its main features:
+
+    * Choice of measure unit, page format and margins
+    * Page header and footer management
+    * Automatic page break
+    * Automatic line break and text justification
+    * Image support (JPEG and PNG)
+    * Colors
+    * Links
+    * TrueType, Type1 and encoding support
+    * Page compression
+
+Of course, the generation speed of the document is less than with PDFlib.
+However, the performance penalty keeps very reasonable and suits in most
+cases, unless your documents are particularly complex or heavy.
+
+WWW: http://www.fpdf.org/


Property changes on: trunk/print/fpdf/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/print/fpdf/pkg-plist
===================================================================
--- trunk/print/fpdf/pkg-plist	                        (rev 0)
+++ trunk/print/fpdf/pkg-plist	2017-03-05 15:17:23 UTC (rev 22369)
@@ -0,0 +1,112 @@
+%%PORTDOCS%%%%DOCSDIR%%/FAQ.htm
+%%PORTDOCS%%%%DOCSDIR%%/changelog.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/acceptpagebreak.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/addfont.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/addlink.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/addpage.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/aliasnbpages.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/cell.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/close.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/error.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/footer.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/fpdf.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/getstringwidth.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/getx.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/gety.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/header.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/image.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/index.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/line.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/link.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/ln.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/multicell.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/output.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/pageno.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/rect.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/setauthor.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/setautopagebreak.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/setcompression.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/setcreator.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/setdisplaymode.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/setdrawcolor.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/setfillcolor.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/setfont.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/setfontsize.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/setkeywords.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/setleftmargin.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/setlinewidth.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/setlink.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/setmargins.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/setrightmargin.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/setsubject.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/settextcolor.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/settitle.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/settopmargin.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/setx.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/setxy.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/sety.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/text.htm
+%%PORTDOCS%%%%DOCSDIR%%/doc/write.htm
+%%PORTDOCS%%%%DOCSDIR%%/fpdf.css
+%%PORTDOCS%%%%DOCSDIR%%/install.txt
+%%PORTDOCS%%%%DOCSDIR%%/license.txt
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/20k_c1.txt
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/20k_c2.txt
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/calligra.php
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/calligra.ttf
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/calligra.z
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/countries.txt
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/index.htm
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/logo.png
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/makefont.php
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/tuto1.htm
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/tuto1.php
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/tuto2.htm
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/tuto2.php
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/tuto3.htm
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/tuto3.php
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/tuto4.htm
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/tuto4.php
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/tuto5.htm
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/tuto5.php
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/tuto6.htm
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/tuto6.php
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/tuto7.htm
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/tuto7.php
+%%FPDF_DIR%%/font/courier.php
+%%FPDF_DIR%%/font/courierb.php
+%%FPDF_DIR%%/font/courierbi.php
+%%FPDF_DIR%%/font/courieri.php
+%%FPDF_DIR%%/font/helvetica.php
+%%FPDF_DIR%%/font/helveticab.php
+%%FPDF_DIR%%/font/helveticabi.php
+%%FPDF_DIR%%/font/helveticai.php
+%%FPDF_DIR%%/font/symbol.php
+%%FPDF_DIR%%/font/times.php
+%%FPDF_DIR%%/font/timesb.php
+%%FPDF_DIR%%/font/timesbi.php
+%%FPDF_DIR%%/font/timesi.php
+%%FPDF_DIR%%/font/zapfdingbats.php
+%%FPDF_DIR%%/fpdf.php
+%%FPDF_DIR%%/makefont/cp1250.map
+%%FPDF_DIR%%/makefont/cp1251.map
+%%FPDF_DIR%%/makefont/cp1252.map
+%%FPDF_DIR%%/makefont/cp1253.map
+%%FPDF_DIR%%/makefont/cp1254.map
+%%FPDF_DIR%%/makefont/cp1255.map
+%%FPDF_DIR%%/makefont/cp1257.map
+%%FPDF_DIR%%/makefont/cp1258.map
+%%FPDF_DIR%%/makefont/cp874.map
+%%FPDF_DIR%%/makefont/iso-8859-1.map
+%%FPDF_DIR%%/makefont/iso-8859-11.map
+%%FPDF_DIR%%/makefont/iso-8859-15.map
+%%FPDF_DIR%%/makefont/iso-8859-16.map
+%%FPDF_DIR%%/makefont/iso-8859-2.map
+%%FPDF_DIR%%/makefont/iso-8859-4.map
+%%FPDF_DIR%%/makefont/iso-8859-5.map
+%%FPDF_DIR%%/makefont/iso-8859-7.map
+%%FPDF_DIR%%/makefont/iso-8859-9.map
+%%FPDF_DIR%%/makefont/koi8-r.map
+%%FPDF_DIR%%/makefont/koi8-u.map
+%%FPDF_DIR%%/makefont/makefont.php
+%%FPDF_DIR%%/makefont/ttfparser.php


Property changes on: trunk/print/fpdf/pkg-plist
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property


More information about the Midnightbsd-cvs mailing list