15b04968d8
Now supporting new format: DTED, RAW. indexing TIFF images is now possible and lots of other updates/fixes. OK landry@, jasper@
56 lines
1.5 KiB
Makefile
56 lines
1.5 KiB
Makefile
# $OpenBSD: Makefile,v 1.3 2010/09/21 08:27:32 sebastia Exp $
|
|
|
|
SHARED_ONLY = Yes
|
|
|
|
COMMENT = image extension for Tcl/Tk
|
|
|
|
V = 1.4
|
|
DISTNAME = tkimg$V
|
|
PKGNAME = tkimg-$V
|
|
SHLIB_VERSION = 0.0
|
|
.for _lib in tkimgbmp14 tkimg14 tkimggif14 tkimgico14 tkimgjpeg14 \
|
|
tkimgpcx14 tkimgpixmap14 tkimgpng14 tkimgppm14 tkimgps14 \
|
|
tkimgsgi14 tkimgsun14 tkimgtga14 tkimgtiff14 tkimgwindow14 \
|
|
tkimgxbm14 tkimgxpm14 tkimgraw14 tkimgdted14 zlibtcl125 \
|
|
jpegtcl82 pngtcl143 tifftcl394
|
|
SHARED_LIBS += ${_lib} ${SHLIB_VERSION}
|
|
.endfor
|
|
|
|
CATEGORIES = graphics
|
|
|
|
HOMEPAGE = http://tkimg.sourceforge.net/
|
|
|
|
MAINTAINER = Sebastian Reitenbach <sebastia@openbsd.org>
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM = Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
WANTLIB += X11 Xau Xdmcp Xext Xft Xrender Xss expat fontconfig
|
|
WANTLIB += freetype m z pthread-stubs xcb
|
|
|
|
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=tkimg/}
|
|
|
|
MODULES = x11/tk
|
|
BUILD_DEPENDS = ${MODTK_BUILD_DEPENDS} \
|
|
::devel/tcllib
|
|
RUN_DEPENDS = ${MODTK_RUN_DEPENDS}
|
|
REGRESS_DEPENDS = ::${PKGPATH}
|
|
|
|
SEPARATE_BUILD = simple
|
|
CONFIGURE_STYLE = gnu
|
|
CONFIGURE_ARGS= --with-tcl=${MODTCL_LIBDIR} \
|
|
--with-tclinclude=$(MODTCL_INCDIR) \
|
|
--with-tk=${MODTK_LIBDIR} \
|
|
--with-tkinclude=${MODTK_INCDIR} \
|
|
--with-x \
|
|
--x-includes=${X11BASE}/include
|
|
REGRESS_IS_INTERACTIVE = X11
|
|
REGRESS_TARGET = test
|
|
INSTALL_TARGET = collate
|
|
FAKE_FLAGS+= INSTALL_ROOT=${DESTDIR}
|
|
CONFIGURE_ENV = SHLIB_VERSION=${SHLIB_VERSION}
|
|
|
|
.include <bsd.port.mk>
|