aboutsummaryrefslogtreecommitdiffstats
path: root/games/xscrabble/Makefile
blob: e516c90a133fa7286126f0b8145d7074f3a6ddd1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# New ports collection makefile for:    xscrabble
# Version required: 1.0
# Date created:     27 July 1997
# Whom:         Thomas Gellekum <tg@FreeBSD.org>
#
# $Id: Makefile,v 1.5 1999/04/18 23:22:35 mharo Exp $
#

DISTNAME=   xscrabble
PKGNAME=    xscrabble-1.0
CATEGORIES= games
MASTER_SITES=   http://www.freebsd.org/~mph/distfiles/

MAINTAINER= ports@FreeBSD.ORG

LIB_DEPENDS=    Xpm.4:${PORTSDIR}/graphics/xpm

USE_IMAKE=      yes
NO_INSTALL_MANPAGES=    yes

post-patch:
    @/usr/bin/perl -pi.bak -e "s|\@XSCRABBLEDIR\@|${PREFIX}/lib/X11/xscrabble|;" \
        ${WRKSRC}/Imakefile
    @/usr/bin/perl -pi.bak -e "s|\@XSCRABBLEDIR\@|${PREFIX}/lib/X11/xscrabble|;" \
        ${WRKSRC}/XScrabble.ad

.include <bsd.port.mk>