# $OpenBSD: Makefile,v 1.5 2013/03/11 11:10:56 espie Exp $ SHARED_ONLY = Yes COMMENT = PNG photo image extension for Tcl/Tk DISTNAME = tkpng0.9 PKGNAME = tkpng-0.9 REVISION = 1 SHARED_LIBS = tkpng09 0.0 CATEGORIES = graphics HOMEPAGE = http://www.muonics.com/FreeStuff/TkPNG/ MAINTAINER = Sebastian Reitenbach # BSD PERMIT_PACKAGE_CDROM = Yes WANTLIB = z MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=tkpng/} EXTRACT_SUFX = .tgz MODULES = x11/tk BUILD_DEPENDS = ${MODTK_BUILD_DEPENDS} RUN_DEPENDS = ${MODTK_RUN_DEPENDS} FAKE_FLAGS = PKG_DIR=tkpng \ INSTALL_PROGRAM='${INSTALL_DATA}' SEPARATE_BUILD =Yes CONFIGURE_STYLE=gnu CONFIGURE_ARGS+=${CONFIGURE_SHARED} \ --with-tcl=${MODTCL_LIBDIR} \ --with-tk=${MODTK_LIBDIR} \ --with-tkinclude=${MODTK_INCDIR} \ --libdir=${MODTCL_TCLDIR} \ LIBtkpng09_VERSION=${LIBtkpng09_VERSION} \ CFLAGS="${CFLAGS} -pthread" NO_TEST = Yes SUBST_VARS = SHLIB_VERSION post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tkpng ${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/license.terms \ ${PREFIX}/share/doc/tkpng .include