1 # $NetBSD: Makefile,v 1.32 2012/01/03 00:51:10 dholland Exp $
4 DISTNAME
= twin-src-3.1
.14
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
15 WRKSRC
= ${WRKDIR}/twin
17 USE_TOOLS
+= gmake
lex yacc
18 BUILD_TARGET
= depend world
19 CONFIGURE_ARGS
+= --disable-debugger
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
32 ${CP} ${WRKSRC}/windows
/Execfreebsd.c
${WRKSRC}/windows
/Execnetbsd.c
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"