pkgsrc/misc/chipmunk/Makefile
dholland aee9a51701 Remove ONLY_FOR_PLATFORM and fix amd64 netbsd build. The package appears
to support at least some other OSes and machines, so leave it unrestricted
until we find what it really does and doesn't work on.
2015-01-04 09:06:17 +00:00

29 lines
734 B
Makefile

# $NetBSD: Makefile,v 1.27 2015/01/04 09:06:17 dholland Exp $
#
DISTNAME= chipmunk-1.4
PKGREVISION= 2
CATEGORIES= misc
MASTER_SITES= http://www.bitwizard.nl/chipmunk/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.bitwizard.nl/chipmunk/index.html
COMMENT= Shell-like tool for hardware debugging
BUILD_TARGET= chipmunk
MAKE_ENV+= CONFIG_OPTIONS=${CPPFLAGS:M*:Q}
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD"
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
MAKE_ENV+= EXTRA_LIBS=-l${MACHINE_ARCH}
.endif
.endif
INSTALLATION_DIRS= sbin
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/chipmunk ${DESTDIR}${PREFIX}/sbin/chipmunk
.include "../../mk/readline.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"