summaryrefslogblamecommitdiff
path: root/games/xjewel/Makefile
blob: 02d345718fa1724b5c19733a20444cbd35e21d84 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                              


                                        
           

 

                      
                     
                                                  
                                          
                      
 
                               
                                        
 
                   







                                                           
                        
 

                                    
 

                                         
                                                  
 
             

                                                                                
 
                           
# New ports collection makefile for:    xjewel
# Date created:         22 November 1994
# Whom:                 jmz
#
# $FreeBSD$
#

PORTNAME=	xjewel
PORTVERSION=	1.6
CATEGORIES=	games
MASTER_SITES=	ftp://ftp.warwick.ac.uk/pub/x11/ \
		ftp://ftp.x.org/R5contrib/
EXTRACT_SUFX=	.tar.z

MAINTAINER=	jmz@FreeBSD.org
COMMENT=	X11 dropping jewels game

USE_IMAKE=	yes

.include <bsd.port.pre.mk>

.if ${XFREE86_VERSION} == 4
BUILD_DEPENDS=	bdftopcf:${PORTSDIR}/x11/XFree86-4-clients
RUN_DEPENDS=	mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
.endif

MAN6=		xjewel.6

FONTSDIR=	lib/X11/fonts/local
PLIST_SUB=	FONTSDIR=${FONTSDIR}

pre-install:
	@${SETENV} PKG_PREFIX=${PREFIX} \
		${SH} ${PKGREQ} ${PKGNAME} INSTALL

post-install:
	${INSTALL_DATA} ${WRKSRC}/bitmaps/seven_seg.pcf.gz ${PREFIX}/${FONTSDIR}
	@(cd ${PREFIX}/${FONTSDIR} ; mkfontdir)

.include <bsd.port.post.mk>