e5b2fdbc78
'Please use ${ECHO_N} instead of "echo -n".'
39 lines
1 KiB
Makefile
39 lines
1 KiB
Makefile
# $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"
|