blob: b8c4cf0974053e20faaa0f3f32cb18a354d48632 (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# $NetBSD: Makefile,v 1.35 2013/01/19 21:04:43 riastradh Exp $
DISTNAME= pixmap2.6
PKGNAME= pixmap-2.6.4
PKGREVISION= 8
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_XCONTRIB:=applications/pixmap/}
PATCH_SITES= ${MASTER_SITES}
PATCHFILES= pixmap_2.6.patch1.gz \
pixmap_2.6.patch2.gz \
pixmap_2.6.patch3.gz \
pixmap_2.6.patch4.gz
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Pixmap editor based on XPM library
WRKSRC= ${WRKDIR}/pixmap
USE_IMAKE= YES
MAKE_ENV+= LOCAL_LDFLAGS=${LDFLAGS:Q}
MAKE_ENV+= MOTIFBASE=${MOTIFBASE}
.include "../../mk/bsd.prefs.mk"
.if ${X11_TYPE} == "modular"
DEPENDS+= rgb>=1.0.1:../../x11/rgb
RGBTXT= ${PREFIX}/share/X11/rgb.txt
.else
RGBTXT= ${X11BASE}/lib/X11/rgb.txt
.endif
SUBST_CLASSES+= rgb
SUBST_STAGE.rgb= pre-configure
SUBST_FILES.rgb= Imakefile
SUBST_VARS.rgb= RGBTXT
post-extract:
rm -rf ${WRKSRC}/X11
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXmu/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../mk/motif.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|