1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/print/fpdf/Makefile
Thierry Thomas 1a83e9b473 Tarball has been rerolled with the same version number.
The only change is a CSS file :

diff -urN fpdf17.orig/fpdf.css fpdf17/fpdf.css
--- fpdf17.orig/fpdf.css	2008-06-08 20:45:41.000000000 +0200
+++ fpdf17/fpdf.css	2008-07-19 15:04:48.000000000 +0200
@@ -1,6 +1,6 @@
 body {font-family:"Times New Roman",serif}
 h1 {font:bold 135% Arial,sans-serif; color:#4000A0; margin-bottom:0.9em}
-h2 {font:bold 100% Arial,sans-serif; color:#900000; margin-top:1.5em}
+h2 {font:bold 95% Arial,sans-serif; color:#900000; margin-top:1.5em; margin-bottom:1em}
 dl.param dt {text-decoration:underline}
 dl.param dd {margin-top:1em; margin-bottom:1em}
 dl.param ul {margin-top:1em; margin-bottom:1em}

Since I'm there, "stagify".

PR:		ports/183010
Submitted by:	marino
2013-10-16 21:11:27 +00:00

52 lines
1.2 KiB
Makefile

# Created by: Thierry Thomas <thierry@pompo.net>
# $FreeBSD$
PORTNAME= fpdf
PORTVERSION= 1.7
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= print www
MASTER_SITES= http://www.fpdf.org/en/
DISTNAME= ${PORTNAME}${PORTVERSION:S|.||}
EXTRACT_SUFX= .tgz
MAINTAINER= thierry@FreeBSD.org
COMMENT= A free PHP class to generate PDF files with pure PHP
USE_PHP= zlib
FETCH_CMD= ${FETCH_BINARY} -ARr -o ${DISTDIR}/${DISTFILES}
USE_DOS2UNIX= yes
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
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}/)
.if !defined(NOPORTDOCS)
${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${COPYTREE_SHARE} "${DOCS}" ${STAGEDIR}${DOCSDIR}/)
.endif
post-install:
@${ECHO_MSG}
@${CAT} ${PKGMESSAGE}
@${ECHO_MSG}
.include <bsd.port.mk>