aboutsummaryrefslogtreecommitdiffstats
path: root/games/xemeraldia/Makefile
blob: 5b09e451989a860fee6cbaae64807e976df6a612 (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
28
29
30
31
32
33
34
35
36
37
38
# New ports collection makefile for:    xemeraldia
# Version required:     0.3
# Date created:         22 Mar 1995
# Whom:                 asami
#
# $Id: Makefile,v 1.6 1995/03/28 09:20:05 asami Exp $
#

DISTNAME=       xemeraldia-0.3
DISTFILES=  271.gz
MASTER_SITES=   ftp://ftp.kuis.kyoto-u.ac.jp/News.Archives/fj.sources/1995/
CATEGORIES+=    games
MAINTAINER= asami@FreeBSD.ORG
USE_IMAKE=      yes
NO_INSTALL_MANPAGES=    yes
EXTRACT_COOKIE?=    ${.CURDIR}/work/.extract_done

extract: fetch ${EXTRACT_COOKIE}

${EXTRACT_COOKIE}:
    @${MAKE} ${.MAKEFLAGS} checksum pre-extract
    @echo "===>  Extracting for ${DISTNAME}"
    @(cd ${DISTDIR}; \
      if [ ! -f ${DISTNAME}.tar.gz ]; then \
        zcat ${DISTFILES} | uudecode; \
      fi)
    @rm -rf ${WRKDIR}
    @mkdir -p ${WRKDIR}
    @(cd ${WRKDIR}; tar -xzf \
        ${DISTDIR}/${DISTNAME}.tar.gz)
    @${TOUCH} ${TOUCH_FLAGS} ${EXTRACT_COOKIE}


pre-install:
    touch ${PREFIX}/lib/X11/.xemeraldia.scores
    chmod 666 ${PREFIX}/lib/X11/.xemeraldia.scores

.include <bsd.port.mk>