summaryrefslogtreecommitdiff
path: root/graphics/xpm/Makefile
blob: 50db8e8a0e41d0ca8095cc574d5251eaaba7a9c1 (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.19 2001/07/02 08:02:34 jlam Exp $

DISTNAME=       xpm-3.4k
CATEGORIES=	graphics x11
MASTER_SITES=	ftp://avahi.inria.fr/pub/xpm/

MAINTAINER=	mycroft@netbsd.org
HOMEPAGE=	http://www.inria.fr/koala/lehors/xpm.html
COMMENT=	The X Pixmap library

USE_IMAKE=		# defined
CHECK_XPM=		# defined

.include "../../mk/bsd.prefs.mk"

.if ${HAVE_BUILTIN_XPM} != "NO"
IGNORE=		"The Xpm library is included in your X11 distribution."
.endif

.if (${OPSYS} == SunOS)
post-install:
	cd ${PREFIX}/lib && \
	${RM} -f libXpm.so.4 && \
	${LN} -f libXpm.so.4.11 libXpm.so.4
.endif

.if defined(HAVE_OPENWINDOWS)
PLIST_SUBST+=	INCDIR=include/X11/X11
.else
PLIST_SUBST+=	INCDIR=include/X11
.endif

.include "../../mk/bsd.pkg.mk"