d26cf36e57
or USE_X11BASE set, but don't include mk/x11.buildlink3.mk directly or via buildlink3.mks - introduce BUILDLINK_PREFIX.libXpm as alias for BUILDLINK_PREFIX.xpm in the !modular case - fix some cases where the check for libX11 couldn't work at all by using C++ for compilation without including the proper headers Verified using a full X11_TYPE=xorg bulk build without additional breakage. Discussed with salo@, wiz@ and send to packages@ for feedback.
42 lines
1.2 KiB
Makefile
42 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.20 2006/12/27 13:37:37 joerg Exp $
|
|
|
|
DISTNAME= zoom-1.0.3
|
|
PKGREVISION= 3
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://www.logicalshift.co.uk/unix/zoom/
|
|
|
|
MAINTAINER= dillo@NetBSD.org
|
|
HOMEPAGE= http://www.logicalshift.demon.co.uk/unix/zoom/
|
|
COMMENT= Plays Infocom-compatible games, with graphics support
|
|
|
|
USE_LIBTOOL= yes
|
|
USE_PKGLOCALEDIR= yes
|
|
USE_TOOLS+= gmake perl
|
|
GNU_CONFIGURE= yes
|
|
|
|
.if ${MACHINE_ARCH} == "alpha"
|
|
GCC_REQD+= 3.0
|
|
.endif
|
|
UNLIMIT_RESOURCES+= datasize
|
|
|
|
DOCDIR= ${PREFIX}/share/doc/html/zoom
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${DOCDIR}
|
|
for f in colours.png configXwin.html configmac.html fonts.png \
|
|
game.png generalset.png idx index.html intro.html \
|
|
resources.png troubleshooting.html ui.png zicon.gif \
|
|
zoom-icon.png zoom.html ztitle.html; \
|
|
do \
|
|
${INSTALL_DATA} ${WRKSRC}/manual/$$f ${DOCDIR}; \
|
|
done
|
|
|
|
BUILDLINK_DEPMETHOD.libXt= build
|
|
|
|
.include "../../fonts/fontconfig/buildlink3.mk"
|
|
.include "../../fonts/t1lib/buildlink3.mk"
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
.include "../../x11/libXft/buildlink3.mk"
|
|
.include "../../x11/libSM/buildlink3.mk"
|
|
.include "../../x11/libX11/buildlink3.mk"
|
|
.include "../../x11/libXt/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|