pkgsrc/print/pdflib/Makefile

23 lines
511 B
Makefile

# $NetBSD: Makefile,v 1.43 2016/07/10 10:32:57 rillig Exp $
.include "Makefile.common"
PKGNAME= pdflib-${PDFLIB_BASE_VERS}
PKGREVISION= 21
COMMENT= C library to produce PDF files
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"