pkgsrc/devel/w32api/Makefile
hubertf e32afb6fea Change BUILD_DEPENDS semantics:
first component is now a package name+version/pattern, no more
executable/patchname/whatnot.

While there, introduce BUILD_USES_MSGFMT as shorthand to pull in
devel/gettext unless /usr/bin/msgfmt exists (i.e. on post-1.5 -current).

Patch by Alistair Crooks <agc@netbsd.org>
2001-03-27 03:19:43 +00:00

30 lines
967 B
Makefile

# $NetBSD: Makefile,v 1.5 2001/03/27 03:19:53 hubertf Exp $
DISTNAME= w32api-0.4-20001122-bjy
PKGNAME= w32api-0.4nb2
WRKSRC= ${WRKDIR}/${DISTNAME:S/-bjy//}
CATEGORIES= devel
MASTER_SITES= http://my.dreamwiz.com/bangjy/
MAINTAINER= oki@yha.att.ne.jp
HOMEPAGE= http://www.acc.umu.se/~anorland/gnu-win32/
COMMENT= Free headers and libraries for the Win32 API
BUILD_DEPENDS+= cross-i386-netbsdpe-1.1.4:../../cross/i386-netbsdpe
#HAS_CONFIGURE= yes
#CONFIGURE_ARGS+= "--prefix=${PREFIX}/cross/i386-netbsdpe"
#CONFIGURE_ENV+= CC="${PREFIX}/cross/i386-netbsdpe/bin/gcc -I/usr/include"
#CONFIGURE_ENV+= AS="${PREFIX}/cross/i386-netbsdpe/bin/as"
#CONFIGURE_ENV+= DLLTOOL="${PREFIX}/cross/i386-netbsdpe/bin/dlltool"
#USE_GMAKE= yes
# currently, don't build import libraries.
do-build:
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/cross/i386-netbsdpe/include
${CP} ${WRKSRC}/include/*.h ${PREFIX}/cross/i386-netbsdpe/include
.include "../../mk/bsd.pkg.mk"