summaryrefslogtreecommitdiff
path: root/graphics/xpaint/Makefile
blob: 39f513b76b518a8c20a01407f47ace7a4314e449 (plain)
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
# $NetBSD: Makefile,v 1.49 2005/05/22 20:08:07 jlam Exp $

DISTNAME=       xpaint-2.7.6
CATEGORIES=	graphics x11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=sf-xpaint/}
EXTRACT_SUFX=	.tar.bz2
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} xaw95-1.1.4${EXTRACT_SUFX}

MAINTAINER=	adam@NetBSD.org
HOMEPAGE=	http://sf-xpaint.sourceforge.net/
COMMENT=	Simple paint program

USE_TOOLS+=		gmake
USE_IMAKE=      	yes

BUILD_TARGET=	xaw95
MAKE_ENV+=	XMKMF="${XMKMF}"

SUBST_CLASSES=	    foo
SUBST_STAGE.foo=    pre-configure
SUBST_FILES.foo=    Local.config
SUBST_SED.foo=	    -e "s|\$${LOCALBASE}|${LOCALBASE}|g" \
		    -e "s|\$${X11BASE}|${X11BASE}|g" \
		    -e "s|\$${XPMDIR}|${BUILDLINK_PREFIX.xpm}|g"

.include "../../graphics/jpeg/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.include "../../graphics/xpm/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"