Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / emulators / twin / Makefile
blob0d27763bb9d162867beed544d1d363ec7da08eef
1 # $NetBSD: Makefile,v 1.32 2012/01/03 00:51:10 dholland Exp $
4 DISTNAME= twin-src-3.1.14
5 PKGNAME= twin-3.1.14
6 PKGREVISION= 4
7 CATEGORIES= emulators
8 MASTER_SITES= ftp://ftp.willows.com/pub/twin/
10 MAINTAINER= pkgsrc-users@NetBSD.org
11 HOMEPAGE= http://www.willows.com/
12 COMMENT= Cross-platform implementation of the Win32 API
13 LICENSE= gnu-lgpl-v2
15 WRKSRC= ${WRKDIR}/twin
16 GNU_CONFIGURE= yes
17 USE_TOOLS+= gmake lex yacc
18 BUILD_TARGET= depend world
19 CONFIGURE_ARGS+= --disable-debugger
21 MAKE_JOBS_SAFE= no
23 NOT_FOR_PLATFORM= *-*-x86_64
25 INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX}
27 INSTALLATION_DIRS+= share/doc/twin
28 INSTALLATION_DIRS+= include
29 INSTALLATION_DIRS+= ${PKGMANDIR}/man1
31 pre-build:
32 ${CP} ${WRKSRC}/windows/Execfreebsd.c ${WRKSRC}/windows/Execnetbsd.c
34 post-install:
35 ${INSTALL_DATA} ${WRKSRC}/documentation/* ${DESTDIR}${PREFIX}/share/doc/twin/
36 ${INSTALL_DATA} ${WRKSRC}/include/*.h ${DESTDIR}${PREFIX}/include/
37 ${INSTALL_DATA} ${WRKSRC}/include/*.h.in ${DESTDIR}${PREFIX}/include/
38 ${INSTALL_DATA} ${WRKSRC}/documentation/rc.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
39 ${INSTALL_PROGRAM} ${WRKSRC}/tools/rc/rc ${DESTDIR}${PREFIX}/bin
41 BUILDLINK_DEPMETHOD.libXt?= build
43 .include "../../x11/libX11/buildlink3.mk"
44 .include "../../x11/libXt/buildlink3.mk"
45 .include "../../mk/bsd.pkg.mk"