pkgsrc/print/pdflib/Makefile
wiz e8d8834f6a Bump PKGREVISION for libpng shlib name change.
Also add some patches to remove use of deprecated symbols and fix other
problems when looking for or compiling against libpng-1.4.x.
2010-06-13 22:43:46 +00:00

27 lines
587 B
Makefile

# $NetBSD: Makefile,v 1.28 2010/06/13 22:45:16 wiz Exp $
PKG_DESTDIR_SUPPORT= user-destdir
.include "Makefile.common"
PKGNAME= pdflib-${PDFLIB_BASE_VERS}
PKGREVISION= 10
COMMENT= C library to produce PDF files
PKG_INSTALLATION_TYPES= overwrite pkgviews
BUILD_TARGET= pdflib
DOCDIR= ${PREFIX}/share/doc/pdflib
INSTALLATION_DIRS+= ${DOCDIR}
post-install:
cd ${WRKSRC}/doc; for file in \
PDFlib-license.pdf \
PDFlib-manual.pdf \
aladdin-license.pdf; \
do \
${INSTALL_DATA} $${file} ${DESTDIR}${DOCDIR}; \
done
.include "../../mk/bsd.pkg.mk"