ac690cf634
be updated to depend on lang/tcl after Tcl/Tk update.
35 lines
918 B
Makefile
35 lines
918 B
Makefile
# $NetBSD: Makefile,v 1.6 2004/03/08 19:52:51 minskim Exp $
|
|
|
|
.include "../pdflib/Makefile.common"
|
|
|
|
PKGNAME= tcl-pdflib-${PDFLIB_BASE_VERS}
|
|
PKGREVISION= 1
|
|
COMMENT= Tcl interface to PDFlib for generating PDF files
|
|
|
|
BUILDLINK_DEPENDS.pdflib= pdflib>=${PDFLIB_BASE_VERS}
|
|
|
|
CONFIGURE_ARGS+= --with-tcl=${TCLSH}
|
|
CONFIGURE_ARGS+= --with-tclincl="${BUILDLINK_PREFIX.tcl}/include"
|
|
TCLSH= ${BUILDLINK_PREFIX.tcl}/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/buildlink2.mk"
|
|
.include "../../lang/tcl83/buildlink2.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|