pkgsrc/emulators/twin/Makefile

48 lines
1.3 KiB
Makefile
Raw Normal View History

# $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
2007-02-09 15:58:30 +01:00
BUILDLINK_DEPMETHOD.libXt?= build
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"