2007-11-13 09:54:30 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.22 2007/11/13 14:54:31 steven Exp $
|
2001-05-05 21:06:09 -04:00
|
|
|
|
2007-08-27 06:39:21 -04:00
|
|
|
COMMENT= dropping jewels game for X11
|
1998-05-19 23:12:38 -04:00
|
|
|
|
|
|
|
DISTNAME= xjewel-1.6
|
2007-11-13 09:54:30 -05:00
|
|
|
PKGNAME= ${DISTNAME}p1
|
1998-05-19 23:12:38 -04:00
|
|
|
CATEGORIES= games
|
2002-10-26 16:44:38 -04:00
|
|
|
|
1998-11-08 20:49:54 -05: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
|
|
|
|
|
2006-11-02 05:54:15 -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
|
|
|
|
|
|
|
|
FAKE_FLAGS= ${MAKE_FLAGS} DESTDIR=${WRKINST}
|
2000-03-16 18:47:53 -05:00
|
|
|
|
2000-10-22 11:41:23 -04:00
|
|
|
CONFIGURE_STYLE=imake
|
2006-11-13 05:08:12 -05:00
|
|
|
USE_X11= Yes
|
2002-10-26 16:44:38 -04:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
1998-05-19 23:12:38 -04:00
|
|
|
pre-install:
|
2001-03-22 17:06:35 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/lib/xjewel.font
|
2007-08-27 06:39:21 -04:00
|
|
|
@(cd ${WRKSRC}/bitmaps; ${INSTALL_DATA} seven_seg.pcf.gz \
|
1998-05-19 23:12:38 -04:00
|
|
|
${PREFIX}/lib/xjewel.font)
|
|
|
|
|
|
|
|
post-install:
|
2000-02-10 20:09:59 -05:00
|
|
|
@(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; \
|
2000-02-10 20:09:59 -05:00
|
|
|
echo "xjewel_" >> ${PREFIX}/bin/xjewel; \
|
1999-10-02 18:24:54 -04:00
|
|
|
${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>
|