openbsd-ports/games/xjewel/Makefile

33 lines
820 B
Makefile
Raw Normal View History

2002-10-26 16:44:38 -04:00
# $OpenBSD: Makefile,v 1.15 2002/10/26 20:44:39 naddy Exp $
COMMENT= "dropping jewels game for X11"
1998-05-19 23:12:38 -04:00
DISTNAME= xjewel-1.6
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
CONFIGURE_STYLE=imake
1998-05-19 23:12:38 -04:00
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 fonts.dir \
1998-05-19 23:12:38 -04:00
${PREFIX}/lib/xjewel.font)
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)
1998-05-19 23:12:38 -04:00
.include <bsd.port.mk>