2005-04-17 17:36:52 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.14 2005/04/17 21:36:52 espie Exp $
|
2001-05-05 23:19:44 -04:00
|
|
|
|
|
|
|
COMMENT= "C library to produce PDF files"
|
2000-09-28 16:36:56 -04:00
|
|
|
|
2002-07-03 12:36:48 -04:00
|
|
|
DISTNAME= pdflib-4.0.3
|
2005-04-17 17:36:52 -04:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
2000-09-28 16:36:56 -04:00
|
|
|
CATEGORIES= print
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.pdflib.com/pdflib/
|
|
|
|
|
|
|
|
PERMIT_PACKAGE_CDROM= No
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= No
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= http://www.pdflib.com/pdflib/download/
|
|
|
|
|
2003-12-26 12:07:56 -05:00
|
|
|
LIB_DEPENDS= png.2::graphics/png \
|
2000-09-28 16:36:56 -04:00
|
|
|
tiff.35::graphics/tiff
|
|
|
|
|
2005-04-17 17:36:52 -04:00
|
|
|
FAKE= lib
|
2003-12-26 12:07:56 -05:00
|
|
|
CONFIGURE_STYLE= autoconf dest
|
|
|
|
AUTOCONF_VERSION= 2.13
|
2004-08-03 15:15:05 -04:00
|
|
|
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/config
|
2001-09-11 09:54:35 -04:00
|
|
|
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
|
|
|
|
|
2005-04-17 17:36:52 -04:00
|
|
|
CONFIGURE_ENV= LDFLAGS="-L${DEPBASE}/lib" \
|
|
|
|
CPPFLAGS="-I${DEPBASE}/include/libpng -I${DEPBASE}/include" \
|
2002-04-03 23:06:37 -05:00
|
|
|
LIBS="-lm"
|
2001-09-11 09:54:35 -04:00
|
|
|
MAKE_ENV= ${CONFIGURE_ENV}
|
|
|
|
|
2002-10-28 08:38:53 -05:00
|
|
|
REGRESS_TARGET= test
|
|
|
|
|
2001-09-11 09:54:35 -04:00
|
|
|
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>
|