aboutsummaryrefslogtreecommitdiffstats
path: root/games/xemeraldia/Makefile
blob: 6b9346539a663aa9a52728e93fe6b81dbceff817 (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
# New ports collection makefile for:    xemeraldia
# Version required:     0.3
# Date created:         22 Mar 1995
# Whom:                 asami
#
# $Id: Makefile,v 1.5 1995/03/25 04:30:54 asami Exp $
#

DISTNAME=       xemeraldia-0.3
DISTFILES=  271.gz
MASTER_SITES=   ftp://ftp.kuis.kyoto-u.ac.jp/News.Archives/fj.sources/1995/
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>