38 lines
1,011 B
Makefile
38 lines
1,011 B
Makefile
# $NetBSD: Makefile,v 1.2 2020/08/17 20:19:11 leot Exp $
|
|
#
|
|
|
|
DISTNAME= tkimg-1.3-2008-01-16
|
|
PKGNAME= tkimg-1.3.20080116
|
|
PKGREVISION= 1
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://www.flightlab.com/~joe/downloads/
|
|
|
|
MAINTAINER= egavilan@eie.fceia.unr.edu.ar
|
|
HOMEPAGE= http://www.flightlab.com/~joe/downloads/
|
|
COMMENT= Add support for several image formats to Tk
|
|
LICENSE= 2-clause-bsd # XXX ? Same as Tcl
|
|
|
|
WRKSRC= ${WRKDIR}/tkimg-1.3
|
|
GNU_CONFIGURE= yes
|
|
TEST_TARGET= test
|
|
INSTALLATION_DIRS+= lib/Img1.3.9
|
|
|
|
.include "options.mk"
|
|
|
|
.if ${MACHINE_ARCH} == "sparc64"
|
|
CONFIGURE_ARGS+= --enable-64bit-vis
|
|
.else
|
|
. for plat in ${LP64PLATFORMS}
|
|
. if ${MACHINE_PLATFORM:M${plat}}
|
|
CONFIGURE_ARGS+= --enable-64bit
|
|
. endif
|
|
. endfor
|
|
.endif
|
|
|
|
.include "../../mk/dlopen.buildlink3.mk"
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
.include "../../mk/jpeg.buildlink3.mk"
|
|
.include "../../graphics/tiff/buildlink3.mk"
|
|
.include "../../x11/tk/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|