summaryrefslogtreecommitdiff
path: root/x11/xcursorgen/Makefile
blob: 1348c032607b76aa22b474fccb57850c2c853cab (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
# $NetBSD: Makefile,v 1.12 2004/10/03 00:18:39 tv Exp $

DISTNAME=	xcursorgen-4.3.0
PKGREVISION=	1
CATEGORIES=	x11
MASTER_SITES=	${MASTER_SITE_LOCAL}
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	xsrc-manager@NetBSD.org
HOMEPAGE=	http://www.xfree86.org/
COMMENT=	Create an X cursor file from a collection of PNG images

WRKSRC=		${WRKDIR}/${DISTNAME:C/-.*//}
USE_BUILDLINK3=	YES
USE_IMAKE=	YES

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

.if !exists(${X11BASE}/bin/xcursor-config)
PKG_SKIP_REASON="This package requires XFree86 4.3.0 or newer."
.endif

.include "../../graphics/png/buildlink3.mk"

MAKE_ENV+=       LOCAL_LDFLAGS="${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.png_DEFAULT}/lib"

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