openbsd-ports/games/zoom/Makefile

43 lines
1007 B
Makefile

# $OpenBSD: Makefile,v 1.11 2009/08/10 06:31:43 kili Exp $
COMMENT= Z-code interpreter for X11
DISTNAME= zoom-1.1.2
PKGNAME= ${DISTNAME}p0
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_X11= Yes
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>