blob: cce50b954f4db7452873ff22025257979503bc12 (
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
|
# $NetBSD: Makefile,v 1.56 2007/09/08 21:57:58 jlam Exp $
DISTNAME= xpm-3.4k
PKGREVISION= 7
CATEGORIES= graphics x11
MASTER_SITES= http://koala.ilog.fr/ftp/pub/xpm/ \
${MASTER_SITE_XCONTRIB:=libraries/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://koala.ilog.fr/lehors/xpm.html
COMMENT= The X Pixmap library
PKG_INSTALLATION_TYPES= overwrite pkgviews
CONFLICTS+= libXpm-[0-9]*
USE_FEATURES= snprintf
USE_IMAKE= yes
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS" || !empty(LOWER_OPSYS:Mirix5*)
post-install:
cd ${PREFIX}/lib && \
rm -f libXpm.so.4 && \
ln -s libXpm.so.4.11 libXpm.so.4
.endif
.if !empty(LOWER_OPSYS:Mirix5*)
SUBST_CLASSES+= sodots
SUBST_STAGE.sodots= post-configure
SUBST_FILES.sodots= lib/Makefile
SUBST_SED.sodots= -e 's,\.so$$(SOXPMLIBREV),.so.$$(SOXPMLIBREV),g'
IMAKEOPTS+= -DExtraLibraries=${LIBS:Q}
IMAKEOPTS+= -DInstallCmd=${INSTALL:Q}
post-configure:
${MKDIR} ${WRKSRC}/usrlib
.endif
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../x11/xextproto/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|