blob: 39625badd2a4229ac568eafc2e078e0fafeebe51 (
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
34
35
|
# $NetBSD: Makefile,v 1.1.1.1 2001/10/01 20:54:06 jlam Exp $
.include "../pdflib/Makefile.common"
PKGNAME= tcl-pdflib-${PDFLIB_VERS}
PDFLIB_PKG_VERS= # empty
COMMENT= Tcl interface to PDFlib for generating PDF files
USE_BUILDLINK_ONLY= YES
BUILDLINK_DEPENDS.pdflib= pdflib>=${PDFLIB_DIST_VERS}
CONFIGURE_ARGS+= --with-tcl=${TCLSH}
CONFIGURE_ARGS+= --with-tclincl="${BUILDLINK_DIR}/include"
TCLSH= ${LOCALBASE}/bin/tclsh
DIRS_TO_BUILD= bind/tcl
pre-build:
${TOUCH} ${WRKSRC}/pdflib/libpdf.la
do-build:
.for DIR in ${DIRS_TO_BUILD}
cd ${WRKSRC}/${DIR} && ${SETENV} ${MAKE_ENV} \
${MAKE_PROGRAM} ${MAKE_FLAGS} ${ALL_TARGET}
.endfor
do-install:
.for DIR in ${DIRS_TO_BUILD}
cd ${WRKSRC}/${DIR} && ${SETENV} ${MAKE_ENV} \
${MAKE_PROGRAM} ${MAKE_FLAGS} ${INSTALL_TARGET}
.endfor
.include "../pdflib/buildlink.mk"
.include "../../lang/tcl/buildlink.mk"
.include "../../mk/bsd.pkg.mk"
|