can build without installing libs.

This commit is contained in:
espie 2005-04-17 21:36:52 +00:00
parent 41140d938d
commit ecee0653ea
2 changed files with 8 additions and 5 deletions

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.13 2004/08/03 19:15:05 naddy Exp $
# $OpenBSD: Makefile,v 1.14 2005/04/17 21:36:52 espie Exp $
COMMENT= "C library to produce PDF files"
DISTNAME= pdflib-4.0.3
PKGNAME= ${DISTNAME}p0
CATEGORIES= print
HOMEPAGE= http://www.pdflib.com/pdflib/
@ -17,6 +18,7 @@ MASTER_SITES= http://www.pdflib.com/pdflib/download/
LIB_DEPENDS= png.2::graphics/png \
tiff.35::graphics/tiff
FAKE= lib
CONFIGURE_STYLE= autoconf dest
AUTOCONF_VERSION= 2.13
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/config
@ -29,8 +31,8 @@ CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--without-py \
--without-tcl
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
CPPFLAGS="-I${LOCALBASE}/include/libpng -I${LOCALBASE}/include" \
CONFIGURE_ENV= LDFLAGS="-L${DEPBASE}/lib" \
CPPFLAGS="-I${DEPBASE}/include/libpng -I${DEPBASE}/include" \
LIBS="-lm"
MAKE_ENV= ${CONFIGURE_ENV}

View File

@ -1,8 +1,10 @@
@comment $OpenBSD: PLIST,v 1.3 2004/09/15 18:32:14 espie Exp $
@comment $OpenBSD: PLIST,v 1.4 2005/04/17 21:36:52 espie Exp $
%%SHARED%%
bin/pdflib-config
include/pdflib.h
lib/libpdf.a
lib/libpdf.la
@endfake
share/doc/pdflib/
share/doc/pdflib/PDFlib-license.pdf
share/doc/pdflib/PDFlib-manual.pdf
@ -15,4 +17,3 @@ share/doc/pdflib/readme_ebcdic.txt
share/doc/pdflib/readme_mac.txt
share/doc/pdflib/readme_unix.txt
share/doc/pdflib/readme_win.txt
%%SHARED%%