mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-31 21:57:12 +00:00
c4803edf82
PR: ports/13627 Submitted by: Lars Koeller <lkoeller@cc.fh-lippe.de>
38 lines
1.0 KiB
Makefile
38 lines
1.0 KiB
Makefile
# New ports collection makefile for: pdflib
|
|
# Version required: 2.0
|
|
# Date created: Mon Jan 18 17:03:33 CET 1999
|
|
# Whom: Dirk Froemberg <dirk@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
DISTNAME= pdflib-2.01
|
|
CATEGORIES= print
|
|
MASTER_SITES= http://www.pdflib.com/pdflib/download/ \
|
|
http://www.physik.TU-Berlin.DE/~ibex/ports/distfiles/
|
|
|
|
MAINTAINER= dirk@FreeBSD.org
|
|
|
|
RUN_DEPENDS= ${PREFIX}/lib/afm/Courier:${PORTSDIR}/print/afm
|
|
LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff \
|
|
jpeg.9:${PORTSDIR}/graphics/jpeg
|
|
|
|
FETCH_BEFORE_ARGS= -b
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-perl5=${PERL} \
|
|
--with-tiff=${PREFIX} \
|
|
--with-jpeg=${PREFIX} \
|
|
--with-zlib=/usr
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKSRC}/pdflib/libpdf.so.2 ${PREFIX}/lib
|
|
${LN} -s libpdf.so.2 ${PREFIX}/lib/libpdf.so
|
|
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
|
|
${INSTALL_DATA} ${WRKSRC}/pdflib/pdflib.h ${PREFIX}/include
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${PREFIX}/share/doc/pdflib
|
|
${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/pdflib
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|