1995-04-10 20:20:58 -04:00
|
|
|
# New ports collection makefile for: xjewel
|
|
|
|
# Version required: 1.6
|
|
|
|
# Date created: 22 November 1994
|
|
|
|
# Whom: jmz
|
|
|
|
#
|
|
|
|
# $Id$
|
|
|
|
#
|
|
|
|
|
1994-11-22 13:21:47 -05:00
|
|
|
DISTNAME= xjewel-1.6
|
1995-04-01 07:51:41 -05:00
|
|
|
CATEGORIES+= games
|
1995-04-10 20:20:58 -04:00
|
|
|
MASTER_SITES= ftp://ftp.warwick.ac.uk/pub/x11/
|
|
|
|
DISTFILES= xjewel-1.6.tar.z
|
|
|
|
|
1994-11-22 13:21:47 -05:00
|
|
|
USE_IMAKE= yes
|
|
|
|
|
|
|
|
pre-install:
|
|
|
|
@mkdir -p ${PREFIX}/bin
|
|
|
|
@mkdir -p ${PREFIX}/lib/xjewel.font
|
|
|
|
@mkdir -p ${PREFIX}/man/man6
|
|
|
|
@(cd ${WRKSRC}; ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} install.man)
|
|
|
|
@(cd ${WRKSRC}/bitmaps/; install -c seven_seg.pcf.Z fonts.dir \
|
|
|
|
${PREFIX}/lib/xjewel.font)
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|
|
|
|
|
|
|
|
install:
|
|
|
|
@(mv ${PREFIX}/bin/xjewel ${PREFIX}/bin/xjewel_; \
|
|
|
|
echo "#!/bin/sh" >${PREFIX}/bin/xjewel; \
|
|
|
|
echo "xset +fp ${PREFIX}/lib/xjewel.font" >>${PREFIX}/bin/xjewel; \
|
|
|
|
echo "xjewel_" >>${PREFIX}/bin/xjewel; \
|
|
|
|
chmod ugo+x ${PREFIX}/bin/xjewel)
|