aboutsummaryrefslogtreecommitdiffstats
path: root/games/golddig/Makefile
blob: 180497974cbe472c4b9b514feade5e3367cdb738 (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:    golddig
# Version required:     2
# Date created:         20 November 1994
# Whom:                 jmz
#
# $Id: Makefile,v 1.4 1995/04/11 00:20:13 asami Exp $
#

DISTNAME=   golddig2
PKGNAME=    golddig-2.0
CATEGORIES= games
MASTER_SITES=   ftp://qiclab.scn.rain.com/pub/games/
EXTRACT_SUFX=   .tar.Z

MAINTAINER= jmz@FreeBSD.org

pre-patch:
    @(cd ${WRKSRC}; for i in 245 244 246 247; do \
        awk '{if (/^#!/) x++} {if(x) print $$0'} $$i| /bin/sh; \
      done; mv golddig2/* .)

pre-install:
    @mkdir -p ${PREFIX}/bin
    @mkdir -p ${PREFIX}/lib/golddig
    @mkdir -p ${PREFIX}/man/man6

.include <bsd.port.mk>