blob: e4b5a9d5975ea376e14016188ea2eec6b2967231 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# 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>
#
# $Id: Makefile,v 1.3 1999/07/30 21:03:54 dirk Exp $
#
DISTNAME= pdflib-2.0
CATEGORIES= print
MASTER_SITES= http://www.ifconnection.de/~tm/pdflib/ \
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/tiff34 \
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>
|