blob: 1e1deab0352bc726237a027d66953a75113fb7c7 (
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
46
|
# $NetBSD: Makefile,v 1.51 2006/10/28 21:29:47 wiz Exp $
DISTNAME= xpm-3.4k
PKGREVISION= 6
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
USE_IMAKE= yes
.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
.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'
# needs snprintf()
. include "../../pkgtools/libnbcompat/buildlink3.mk"
IMAKEOPTS+= -DExtraLibraries=${BUILDLINK_LDADD.libnbcompat:Q}
IMAKEOPTS+= -DInstallCmd=${INSTALL:Q}
post-configure:
${MKDIR} ${WRKSRC}/usrlib
post-install:
cd ${PREFIX}/lib && \
${RM} -f libXpm.so.4 && \
${LN} -sf libXpm.so.4.11 libXpm.so.4
.endif
.include "../../mk/bsd.pkg.mk"
|