2011-10-21 16:23:44 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.28 2011/10/21 16:23:45 espie Exp $
|
2001-05-06 01:06:09 +00:00
|
|
|
|
2007-08-27 10:39:21 +00:00
|
|
|
COMMENT= dropping jewels game for X11
|
1998-05-20 03:12:38 +00:00
|
|
|
|
|
|
|
DISTNAME= xjewel-1.6
|
2010-11-16 11:23:25 +00:00
|
|
|
REVISION = 2
|
1998-05-20 03:12:38 +00:00
|
|
|
CATEGORIES= games
|
2002-10-26 20:44:38 +00:00
|
|
|
|
1998-11-09 01:49:54 +00:00
|
|
|
MASTER_SITES= ftp://ftp.warwick.ac.uk/pub/x11/
|
|
|
|
EXTRACT_SUFX= .tar.z
|
|
|
|
|
2000-03-16 23:47:53 +00:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2007-11-13 14:54:30 +00:00
|
|
|
|
2009-08-10 06:29:51 +00:00
|
|
|
WANTLIB= X11 Xau Xdmcp Xext c pthread-stubs xcb
|
2007-11-13 14:54:30 +00:00
|
|
|
|
2006-11-02 10:54:15 +00: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
|
|
|
|
|
2000-10-22 15:41:23 +00:00
|
|
|
CONFIGURE_STYLE=imake
|
2010-10-18 18:00:15 +00:00
|
|
|
USE_GROFF = Yes
|
2002-10-26 20:44:38 +00:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
1998-05-20 03:12:38 +00:00
|
|
|
pre-install:
|
2001-03-22 22:06:35 +00:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/lib/xjewel.font
|
2011-10-21 16:23:44 +00:00
|
|
|
@cd ${WRKSRC}/bitmaps; ${INSTALL_DATA} seven_seg.pcf.gz \
|
|
|
|
${PREFIX}/lib/xjewel.font
|
1998-05-20 03:12:38 +00:00
|
|
|
|
|
|
|
post-install:
|
2011-10-21 16:23:44 +00:00
|
|
|
@mv ${PREFIX}/bin/xjewel ${PREFIX}/bin/xjewel_; \
|
2000-02-11 01:09:59 +00:00
|
|
|
echo "#!/bin/sh" > ${PREFIX}/bin/xjewel; \
|
2000-06-02 18:47:25 +00:00
|
|
|
echo "xset +fp ${TRUEPREFIX}/lib/xjewel.font" >> ${PREFIX}/bin/xjewel; \
|
2000-02-11 01:09:59 +00:00
|
|
|
echo "xjewel_" >> ${PREFIX}/bin/xjewel; \
|
2011-10-21 16:23:44 +00:00
|
|
|
chmod ugo+x ${PREFIX}/bin/xjewel
|
2004-10-01 07:48:42 +00:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/xjewel
|
|
|
|
${INSTALL_DATA} /dev/null ${PREFIX}/share/examples/xjewel/xjewel.scores
|
1998-05-20 03:12:38 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|