aboutsummaryrefslogtreecommitdiff
path: root/graphics/tkpng/Makefile
blob: 4dbf7934952ba82e7c591a9942548850803d13f7 (plain) (blame)
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
36
# New ports collection makefile for:	tkpng
# Date created:		08 October 2006
# Whom:			Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	tkpng
PORTVERSION=	0.9
PORTREVISION=	1
CATEGORIES=	graphics tk
MASTER_SITES=	SF
DISTNAME=	${PORTNAME}${PORTVERSION}
EXTRACT_SUFX=	.tgz

MAINTAINER=	ports@FreeBSD.org
COMMENT=	PNG support for Tcl/Tk

LICENSE=	BSD
LICENSE_FILE=	${WRKSRC}/license.terms

USE_TK=		84+
GNU_CONFIGURE=	yes

.include <bsd.port.pre.mk>
CONFIGURE_ARGS=	--with-tcl=${TCL_LIBDIR} \
		--with-tk=${TK_LIBDIR} \
		--with-tclinclude=${TCL_INCLUDEDIR}/generic \
		--with-tkinclude=${TK_INCLUDEDIR}/generic \
		--exec-prefix=${PREFIX} --enable-shared
CPPFLAGS=	-I${TK_INCLUDEDIR}/generic -I${LOCALBASE}/include
CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}"
TKPKG=		${PORTNAME}${PORTVERSION}
PLIST_SUB=	VER=${PORTVERSION} TKPKG=${TKPKG} TKLIBVER=${TKLIBVER}

.include <bsd.port.post.mk>