openbsd-ports/games/xjewel/Makefile

45 lines
1.2 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.28 2011/10/21 16:23:45 espie Exp $
COMMENT= dropping jewels game for X11
1998-05-19 23:12:38 -04:00
DISTNAME= xjewel-1.6
2010-11-16 06:23:25 -05:00
REVISION = 2
1998-05-19 23:12:38 -04:00
CATEGORIES= games
2002-10-26 16:44:38 -04:00
MASTER_SITES= ftp://ftp.warwick.ac.uk/pub/x11/
EXTRACT_SUFX= .tar.z
2000-03-16 18:47:53 -05:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2007-11-13 09:54:30 -05:00
WANTLIB= X11 Xau Xdmcp Xext c pthread-stubs xcb
2007-11-13 09:54:30 -05:00
MAKE_FLAGS= HSCORE_FILE=/var/games/xjewel.scores \
USERDEFS='-DICON_WINDOW -DUSE_SELECT -DGETPWENT' \
BINDIR='${PREFIX}/bin' \
MANDIR='${PREFIX}/man/cat6' \
MANSUFFIX=6 \
FFILE=pcf.gz
CONFIGURE_STYLE=imake
2010-10-18 14:00:15 -04:00
USE_GROFF = Yes
2002-10-26 16:44:38 -04:00
NO_REGRESS= Yes
1998-05-19 23:12:38 -04:00
pre-install:
${INSTALL_DATA_DIR} ${PREFIX}/lib/xjewel.font
@cd ${WRKSRC}/bitmaps; ${INSTALL_DATA} seven_seg.pcf.gz \
${PREFIX}/lib/xjewel.font
1998-05-19 23:12:38 -04:00
post-install:
@mv ${PREFIX}/bin/xjewel ${PREFIX}/bin/xjewel_; \
echo "#!/bin/sh" > ${PREFIX}/bin/xjewel; \
2000-06-02 14:47:25 -04:00
echo "xset +fp ${TRUEPREFIX}/lib/xjewel.font" >> ${PREFIX}/bin/xjewel; \
echo "xjewel_" >> ${PREFIX}/bin/xjewel; \
chmod ugo+x ${PREFIX}/bin/xjewel
2004-10-01 03:48:42 -04:00
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/xjewel
${INSTALL_DATA} /dev/null ${PREFIX}/share/examples/xjewel/xjewel.scores
1998-05-19 23:12:38 -04:00
.include <bsd.port.mk>