blob: b86ce4682526c0809ea31383987ecfe53e405149 (
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
31
32
33
|
# $NetBSD: Makefile,v 1.54 2006/02/05 23:09:41 joerg Exp $
DISTNAME= xpaint-2.7.8.1
PKGREVISION= 1
CATEGORIES= graphics x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sf-xpaint/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= adam@NetBSD.org
HOMEPAGE= http://sf-xpaint.sourceforge.net/
COMMENT= Simple paint program
USE_IMAKE= yes
USE_TOOLS+= gmake
MAKE_ENV+= XMKMF=${XMKMF:Q}
SUBST_CLASSES+= foo
SUBST_STAGE.foo= pre-configure
SUBST_FILES.foo= Local.config configure
SUBST_SED.foo= -e "s|@LOCALBASE@|${LOCALBASE}|g" \
-e "s|@PREFIX@|${PREFIX}|g" \
-e "s|@XAWDIR@|${BUILDLINK_PREFIX.Xaw3d}|g" \
-e "s|@XPMDIR@|${BUILDLINK_PREFIX.xpm}|g"
pre-configure:
cd ${WRKSRC} && ./configure xaw3dg
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.include "../../graphics/xpm/buildlink3.mk"
.include "../../x11/Xaw3d/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|