aboutsummaryrefslogtreecommitdiffstats
path: root/games/xemeraldia/Makefile
blob: 4f6ac5ec7afe45ce5521d66b601bf8ced620679b (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
# New ports collection makefile for:    xemeraldia
# Version required:     0.2
# Date created:         22 Mar 1995
# Whom:                 asami
#
# $Id: Makefile,v 1.3 1995/03/24 05:51:15 asami Exp $
#

DISTNAME=       xemeraldia-0.2
DISTFILES=  250.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}; zcat ${DISTFILES} | uudecode)
    @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>