Add files from parent branch HEAD:
[pkgsrc.git] / print / pdflib-lite / Makefile
1 # $NetBSD: Makefile,v 1.1.1.1 2008/05/15 20:06:03 drochner Exp $
2 #
3
4 DISTNAME=       PDFlib-Lite-7.0.3
5 PKGNAME=        pdflib-lite-7.0.3
6 CATEGORIES=     print
7 MASTER_SITES=   http://www.pdflib.com/binaries/PDFlib/703/
8
9 MAINTAINER=     pkgsrc-users@NetBSD.org
10 HOMEPAGE=       http://www.pdflib.com/
11 COMMENT=        C library to produce PDF files
12
13 PKG_DESTDIR_SUPPORT=    user-destdir
14
15 CONFLICTS+=     pdflib-[0-9]*
16
17 GNU_CONFIGURE=  yes
18 USE_LANGUAGES=  c c++
19 USE_LIBTOOL=    yes
20 CONFIGURE_ARGS+=        --with-tcl=no
21
22 DOCDIR=         ${PREFIX}/share/doc/pdflib
23
24 INSTALLATION_DIRS=      ${DOCDIR}
25
26 post-install:
27         cd ${WRKSRC}/doc/pdflib; for file in                            \
28                 PDFlib-Lite-license.pdf                                 \
29                 PDFlib-API-reference.pdf;                               \
30         do                                                              \
31                 ${INSTALL_DATA} $${file} ${DESTDIR}${DOCDIR};           \
32         done
33
34 .include "../../mk/bsd.pkg.mk"