# New ports collection makefile for: fpdf # Date created: 21 March 2005 # Whom: Thierry Thomas # # $FreeBSD$ # PORTNAME= fpdf PORTVERSION= 1.53 PORTREVISION= 4 CATEGORIES= print www MASTER_SITES= http://www.fpdf.org/fr/ 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= /usr/bin/fetch -ARr -o ${DISTDIR}/${DISTFILES} 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 doc/* fpdf.css histo.htm install.txt tutoriel do-fetch: @if [ ! -f ${DISTDIR}/${DISTFILES} ]; then \ ${FETCH_CMD} ${FETCH_BEFORE_ARGS} \ '${MASTER_SITES}dl.php?v=${PORTVERSION:S|.||}&f=${EXTRACT_SUFX:S|.||}'; \ fi pre-patch: @${ECHO_MSG} "===> Converting DOS text files to UNIX text files" .for ext in ${EXT2CNV} @${FIND} ${WRKSRC} -type f -name "*.${ext}" -print0 | \ ${XARGS} -0 ${REINPLACE_CMD} -i '' -e 's/ $$//' .endfor @${FIND} ${WRKSRC} -type f | ${XARGS} ${CHMOD} ${SHAREMODE} do-install: ${MKDIR} ${PREFIX}/${FPDF_DIR} ${INSTALL_DATA} ${WRKSRC}/fpdf.php ${PREFIX}/${FPDF_DIR} ${CP} -R ${WRKSRC}/font ${PREFIX}/${FPDF_DIR} .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} ${CP} -R ${DOCS:S|^|${WRKSRC}/|} ${DOCSDIR} .endif post-install: @${ECHO_MSG} @${CAT} ${PKGMESSAGE} @${ECHO_MSG} .include /option> FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* SHA256ifyedwin2006-01-241-0/+1
* SIZEify (maintainer timeout)trevor2004-03-311-0/+1
* Update to 0.9.1b:linimon2004-02-112-3/+2
* - Update to 0.9bclement2004-02-083-16/+12
* De-pkg-comment.knu2003-02-21