openbsd-ports/games/zoom/Makefile
2010-10-24 20:58:58 +00:00

41 lines
974 B
Makefile

# $OpenBSD: Makefile,v 1.13 2010/10/24 21:19:03 ajacoutot Exp $
COMMENT= Z-code interpreter for X11
DISTNAME= zoom-1.1.4
CATEGORIES= games
HOMEPAGE= http://www.logicalshift.co.uk/unix/zoom/
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= ICE SM X11 Xau Xdmcp Xext Xft Xrender c expat \
fontconfig freetype m pthread-stubs xcb z
MASTER_SITES= ${HOMEPAGE}
LIB_DEPENDS= png.>=6::graphics/png \
t1.>=6::devel/t1lib
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
CPPFLAGS="-I${LOCALBASE}/include \
-I${LOCALBASE}/include/libpng"
VMEM_WARNING= Yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/zoom
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/zoom/README
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/zoom
${INSTALL_DATA} ${WRKSRC}/src/zoomrc \
${PREFIX}/share/examples/zoom/dot.zoomrc
.include <bsd.port.mk>