summaryrefslogtreecommitdiffstats
path: root/games/xemeraldia/Makefile
blob: e3ab995142936a7ae483017c6cfeddba5e3f2162 (plain)
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
# New ports collection makefile for:    xemeraldia
# Version required:     0.2
# Date created:         22 Mar 1995
# Whom:                 swallace
#
# $Id: Makefile,v 1.1.1.1 1995/01/03 08:46:26 swallace Exp $
#

DISTNAME=       xemeraldia-0.2
DISTFILES=	250.gz
MASTER_SITES=	ftp://ftp.kuis.kyoto-u.ac.jp/News.Archives/fj.sources/1995/
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}; ${EXTRACT_CMD} ${EXTRACT_ARGS} \
		${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>
OpenPOWER on IntegriCloud