openbsd-ports/games/zoom/Makefile
2017-05-02 23:29:11 +00:00

36 lines
831 B
Makefile

# $OpenBSD: Makefile,v 1.21 2017/05/02 23:29:11 espie Exp $
COMMENT= Z-code interpreter for X11
DISTNAME= zoom-1.1.5
CATEGORIES= games
HOMEPAGE= http://www.logicalshift.co.uk/unix/zoom/
# LGPLv2.1
PERMIT_PACKAGE_CDROM= Yes
WANTLIB += ICE SM X11 Xext Xrender c fontconfig m png t1 z
MASTER_SITES= http://www.logicalshift.co.uk/unix/zoom/
LIB_DEPENDS= devel/t1lib \
graphics/png
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
CPPFLAGS="-I${LOCALBASE}/include"
CFLAGS += -fgnu89-inline
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>