summaryrefslogtreecommitdiff
path: root/x11/xmindpath/Makefile
blob: e57361eb34e2c8f94fb1aeb506e838df0f99dc02 (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
# $NetBSD: Makefile,v 1.20 2013/04/06 14:58:21 rodent Exp $

DISTNAME=	magicpoint-1.09a
PKGNAME=	xmindpath-1.09a
PKGREVISION=	1
CATEGORIES=	x11
MASTER_SITES=	ftp://ftp.riken.go.jp/pub/misc/Japan/MagicPoint/ \
				ftp://ftp.icm.edu.pl/packages/mgp/

MAINTAINER=	pkgsrc-users@NetBSD.org
COMMENT=	MindPath PocketPoint user-level driver for X11

WRKSRC=		${WRKDIR}/${DISTNAME}/contrib/xmindpath
GNU_CONFIGURE=	yes
USE_FEATURES=	err

INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1
SPECIAL_PERMS=	bin/xmindpath uucp ${REAL_ROOT_GROUP} 4511


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

.if !empty(MISSING_FEATURES:Merr)
pre-build:
	cd ${BUILDLINK_DIR}/include && \
	{ ${ECHO} "#include <nbcompat/cdefs.h>"; \
	  ${ECHO} "#include <stdarg.h>"; \
	  ${ECHO} "#include <nbcompat/err.h>"; \
	} > err.h
.endif

BUILDLINK_DEPMETHOD.libXt?=	build

.include "../../x11/libSM/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXtst/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"