blob: 3635dd005c688df38e87d3e6cd8ba07771bb4378 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# $NetBSD: Makefile,v 1.33 2013/01/05 00:34:11 gdt Exp $
.include "Makefile.common"
PKGNAME= pdflib-${PDFLIB_BASE_VERS}
PKGREVISION= 13
COMMENT= C library to produce PDF files
# Available only as a pdf, so it is not present in licenses/
LICENSE= pdflib-license
RESTRICTED= No permission to redistribute
NO_SOURCE_ON_FTP= ${RESTRICTED}
NO_SOURCE_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_FTP= ${RESTRICTED}
NO_BIN_ON_CDROM= ${RESTRICTED}
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"
|