openbsd-ports/games/zoom/Makefile
2010-11-16 11:23:25 +00:00

42 lines
971 B
Makefile

# $OpenBSD: Makefile,v 1.15 2010/11/16 11:23:29 espie 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 \
png>=6 t1>=6
MASTER_SITES= ${HOMEPAGE}
LIB_DEPENDS= graphics/png \
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>