summaryrefslogtreecommitdiff
path: root/x11/Xaw-Xpm/Makefile
blob: 630fb9cb5625ff3f33dc50316f2757a3f08777ef (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
# $NetBSD: Makefile,v 1.28 2009/07/22 09:01:51 wiz Exp $
#

DISTNAME=		Xaw-XPM-1.1
PKGNAME=		Xaw-Xpm-1.1
PKGREVISION=		3
CATEGORIES=		x11
MASTER_SITES=		${MASTER_SITE_SUNSITE:=libs/X/}

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://www.zip.com.au/~bb/XawXpm/
COMMENT=		Enhanced 3-D widgets based on the Athena Widget set and Xaw3d

PKG_DESTDIR_SUPPORT=	user-destdir

CONFLICTS=		Xaw3d-[0-9]*

WRKSRC=			${WRKDIR}/XawXpm
USE_IMAKE=		YES
PLIST_SRC=		${WRKDIR}/.PLIST_SRC

INSTALLATION_DIRS=	share/doc/Xaw-Xpm share/pixmaps

post-install:
	${INSTALL_DATA} ${WRKSRC}/README-XPM ${DESTDIR}${PREFIX}/share/doc/Xaw-Xpm
	${INSTALL_DATA} ${WRKSRC}/defaults-XawXpm ${DESTDIR}${PREFIX}/share/doc/Xaw-Xpm
	${INSTALL_DATA} ${WRKSRC}/pixmaps/*.xpm ${DESTDIR}${PREFIX}/share/pixmaps
	${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
	cd ${DESTDIR}${PREFIX} && ${LS} lib/libXaw3d* >> ${PLIST_SRC}

.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXmu/buildlink3.mk"
.include "../../x11/libXp/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"
.include "../../x11/xextproto/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"