2013-01-19 22:04:43 +01:00
|
|
|
# $NetBSD: Makefile,v 1.35 2013/01/19 21:04:43 riastradh Exp $
|
1998-01-23 12:24:57 +01:00
|
|
|
|
1998-04-20 13:56:17 +02:00
|
|
|
DISTNAME= pixmap2.6
|
2002-01-09 03:51:12 +01:00
|
|
|
PKGNAME= pixmap-2.6.4
|
2013-01-19 22:04:43 +01:00
|
|
|
PKGREVISION= 8
|
1998-04-20 13:56:17 +02:00
|
|
|
CATEGORIES= graphics
|
1999-04-15 22:39:38 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_XCONTRIB:=applications/pixmap/}
|
2002-01-09 03:37:47 +01:00
|
|
|
|
2000-12-13 20:21:42 +01:00
|
|
|
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
|
1998-01-23 12:24:57 +01:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2001-02-16 16:22:13 +01:00
|
|
|
COMMENT= Pixmap editor based on XPM library
|
1998-01-23 12:24:57 +01:00
|
|
|
|
2004-01-20 13:18:15 +01:00
|
|
|
WRKSRC= ${WRKDIR}/pixmap
|
2000-08-24 01:14:21 +02:00
|
|
|
USE_IMAKE= YES
|
1998-01-23 12:24:57 +01:00
|
|
|
|
2008-11-30 09:43:16 +01:00
|
|
|
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
|
2002-01-09 03:37:47 +01:00
|
|
|
|
2013-01-19 22:04:43 +01:00
|
|
|
.include "../../x11/libX11/buildlink3.mk"
|
|
|
|
.include "../../x11/libXmu/buildlink3.mk"
|
2006-12-15 21:32:52 +01:00
|
|
|
.include "../../x11/libXpm/buildlink3.mk"
|
2013-01-19 22:04:43 +01:00
|
|
|
.include "../../x11/libXt/buildlink3.mk"
|
2004-04-25 08:58:43 +02:00
|
|
|
.include "../../mk/motif.buildlink3.mk"
|
2002-10-08 14:33:23 +02:00
|
|
|
|
1998-04-15 12:38:15 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|