2018-08-22 11:43:40 +02:00
|
|
|
# $NetBSD: Makefile,v 1.44 2018/08/22 09:46:14 wiz Exp $
|
1999-02-28 16:17:54 +01:00
|
|
|
|
2001-10-01 22:51:45 +02:00
|
|
|
.include "Makefile.common"
|
1999-02-28 16:17:54 +01:00
|
|
|
|
2001-12-03 09:14:20 +01:00
|
|
|
PKGNAME= pdflib-${PDFLIB_BASE_VERS}
|
2018-08-22 11:43:40 +02:00
|
|
|
PKGREVISION= 22
|
2001-02-17 18:42:09 +01:00
|
|
|
COMMENT= C library to produce PDF files
|
1999-02-28 16:17:54 +01:00
|
|
|
|
2004-12-03 16:14:50 +01:00
|
|
|
BUILD_TARGET= pdflib
|
2001-07-29 07:38:40 +02:00
|
|
|
DOCDIR= ${PREFIX}/share/doc/pdflib
|
|
|
|
|
2008-06-12 04:14:13 +02:00
|
|
|
INSTALLATION_DIRS+= ${DOCDIR}
|
|
|
|
|
2001-07-29 07:38:40 +02:00
|
|
|
post-install:
|
|
|
|
cd ${WRKSRC}/doc; for file in \
|
|
|
|
PDFlib-license.pdf \
|
|
|
|
PDFlib-manual.pdf \
|
|
|
|
aladdin-license.pdf; \
|
|
|
|
do \
|
2008-06-12 04:14:13 +02:00
|
|
|
${INSTALL_DATA} $${file} ${DESTDIR}${DOCDIR}; \
|
2001-07-29 07:38:40 +02:00
|
|
|
done
|
|
|
|
|
1999-02-28 16:17:54 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|