blob: 8e6d1ae1299bf3dce6800e60eb83d31e14094b71 (
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.60 2008/03/11 18:47:40 tnn 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(MACHINE_PLATFORM:MIRIX-5*)
post-install:
cd ${PREFIX}/lib && \
rm -f libXpm.so.4 && \
ln -s libXpm.so.4.11 libXpm.so.4
.endif
.if ${OPSYS} == "IRIX"
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"
|