summaryrefslogtreecommitdiff
path: root/graphics/xpm/Makefile
blob: cce54dd37f674960f66b8137d5951fc7d5e87f9c (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
# $NetBSD: Makefile,v 1.16 2001/01/14 13:46:09 tron 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

USE_IMAKE=	yes

.if !defined(CHECK_XPM)
IS_BUILTIN_XPM!=	${MAKE} CHECK_XPM=YES USE_XPM=YES VARNAME=IS_BUILTIN_XPM show-var
.if (${IS_BUILTIN_XPM} != "0")
IGNORE=		"The Xpm library is included in your X11 distribution."
.endif
.endif

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

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

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