pkgsrc/emulators/twin/Makefile
dholland bc73790388 This package doesn't build on amd64 because there's absolutely zero
support for it. There is ostensibly alpha support so it might be
possible to make it work (although the number of cast warnings I see
makes me dubious) but it certainly isn't going to get fixed anytime
soon.
2012-01-03 00:51:10 +00:00

47 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.32 2012/01/03 00:51:10 dholland Exp $
#
DISTNAME= twin-src-3.1.14
PKGNAME= twin-3.1.14
PKGREVISION= 4
CATEGORIES= emulators
MASTER_SITES= ftp://ftp.willows.com/pub/twin/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.willows.com/
COMMENT= Cross-platform implementation of the Win32 API
LICENSE= gnu-lgpl-v2
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/twin
GNU_CONFIGURE= yes
USE_TOOLS+= gmake lex yacc
BUILD_TARGET= depend world
CONFIGURE_ARGS+= --disable-debugger
MAKE_JOBS_SAFE= no
NOT_FOR_PLATFORM= *-*-x86_64
INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX}
INSTALLATION_DIRS+= share/doc/twin
INSTALLATION_DIRS+= include
INSTALLATION_DIRS+= ${PKGMANDIR}/man1
pre-build:
${CP} ${WRKSRC}/windows/Execfreebsd.c ${WRKSRC}/windows/Execnetbsd.c
post-install:
${INSTALL_DATA} ${WRKSRC}/documentation/* ${DESTDIR}${PREFIX}/share/doc/twin/
${INSTALL_DATA} ${WRKSRC}/include/*.h ${DESTDIR}${PREFIX}/include/
${INSTALL_DATA} ${WRKSRC}/include/*.h.in ${DESTDIR}${PREFIX}/include/
${INSTALL_DATA} ${WRKSRC}/documentation/rc.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
${INSTALL_PROGRAM} ${WRKSRC}/tools/rc/rc ${DESTDIR}${PREFIX}/bin
BUILDLINK_DEPMETHOD.libXt?= build
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"