freebsd-ports/print/pdflib3/Makefile

39 lines
1.0 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: pdflib
# Date created: Mon Jan 18 17:03:33 CET 1999
# Whom: Dirk Froemberg <dirk@FreeBSD.org>
#
1999-08-30 21:53:22 -04:00
# $FreeBSD$
#
2000-04-09 13:50:59 -04:00
PORTNAME= pdflib
PORTVERSION= 3.03
CATEGORIES= print
MASTER_SITES= http://www.pdflib.com/pdflib/download/
MAINTAINER= billf@FreeBSD.org
RUN_DEPENDS= ${LOCALBASE}/lib/afm/Courier:${PORTSDIR}/print/afm
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
2001-09-10 22:59:20 -04:00
png.5:${PORTSDIR}/graphics/png
RESTRICTED= "many odd restrictions on usage and distribution"
INSTALLS_SHLIB= yes
USE_LIBTOOL= yes
CONFIGURE_ARGS= --with-perl5=${PERL} \
--with-jpeg=${PREFIX} \
--with-pnglib=${PREFIX} \
--enable-shared-pdflib \
--enable-cxx \
--with-zlib=/usr
do-install:
${INSTALL_DATA} ${WRKSRC}/pdflib/.libs/libpdf.so.3 ${PREFIX}/lib
${LN} -s libpdf.so.3 ${PREFIX}/lib/libpdf.so
${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>