aboutsummaryrefslogtreecommitdiff
path: root/x11/gcursor/Makefile
blob: e81e6775e4625d0e7b88ded426dbd5324355b2db (plain) (blame)
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
# New ports collection makefile for:	gcursor
# Date created:				08 March 2004
# Whom:					Mezz <mezz7@cox.net>
#
# $FreeBSD$
#

PORTNAME=	gcursor
PORTVERSION=	0.061
PORTREVISION=	6
CATEGORIES=	x11 gnome
MASTER_SITES=	http://download.qballcow.nl/programs/gcursor/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A mouse cursor theme selector for GNOME

RUN_DEPENDS=	file-roller:${PORTSDIR}/archivers/file-roller

USE_GMAKE=	yes
USE_XLIB=	yes
USE_GNOME=	gnomehack gnomeprefix gnometarget intlhack libgnomeui
USE_GETTEXT=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"

DOCS=		AUTHORS COPYING ChangeLog INSTALL TODO

post-patch:
	@${REINPLACE_CMD} -e 's|%%X11BASE%%|${X11BASE}|g ; \
		s|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/src/gcursor.c
	@${REINPLACE_CMD} -e 's|share/applications|share/gnome/applications|g' \
		${WRKSRC}/data/Makefile.in

.ifndef (NOPORTDOCS)
post-install:
	@${MKDIR} ${DOCSDIR}
.for i in ${DOCS}
	@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>