openbsd-ports/print/pdflib/Makefile

45 lines
1.0 KiB
Makefile
Raw Normal View History

2002-05-26 23:03:23 -04:00
# $OpenBSD: Makefile,v 1.8 2002/05/27 03:03:23 brad Exp $
COMMENT= "C library to produce PDF files"
2000-09-28 16:36:56 -04:00
DISTNAME= pdflib-4.0.1
2000-09-28 16:36:56 -04:00
CATEGORIES= print
2002-05-26 23:03:23 -04:00
NEED_VERSION= 1.525
2000-09-28 16:36:56 -04:00
HOMEPAGE= http://www.pdflib.com/pdflib/
MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
PERMIT_PACKAGE_CDROM= No
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= No
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://www.pdflib.com/pdflib/download/
LIB_DEPENDS= jpeg.62::graphics/jpeg \
png.2::graphics/png \
2000-09-28 16:36:56 -04:00
tiff.35::graphics/tiff
CONFIGURE_STYLE= gnu dest
2002-05-26 23:03:23 -04:00
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC} ${WRKSRC}/config
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--with-tifflib \
--with-pnglib \
--with-zlib \
2000-09-28 16:36:56 -04:00
--without-perl \
--without-java \
--without-py \
--without-tcl
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
2002-05-26 23:03:23 -04:00
CPPFLAGS="-I${LOCALBASE}/include/libpng -I${LOCALBASE}/include" \
2002-04-03 23:06:37 -05:00
LIBS="-lm"
MAKE_ENV= ${CONFIGURE_ENV}
post-install:
2000-09-28 16:36:56 -04:00
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pdflib
${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/pdflib
.include <bsd.port.mk>