summaryrefslogtreecommitdiff
path: root/editors/uemacs/Makefile
blob: cf05fd63ab3169e6684e167bccece98ed12b3a60 (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:	MicroEmacs
# Version required:     3.12
# Date created:         16 Jan 1995
# Whom:                 thomas@ghpc8.ihf.rwth-aachen.de
#
# $Id:$
#

DISTNAME=	uemacs
PKGNAME=	uemacs-3.12
CATEGORIES+=	editors
MASTER_SITES=	ftp://midas.mgmt.purdue.edu/pub/ue312/
DISTFILES=	ue312dev.zip

EXEC_DEPENDS=	unzip:${PORTSDIR}/archivers/unzip

NO_WRKSUBDIR=	yes
PATCH_STRIP=	-p1

# one weakness of the ports scheme: it doesn't allow arguments
# to ${EXTRACT_CMD} after the filename, which is required for unzip.

# Satoshi: it does now, so please update it when you see this.... :)

pre-extract: exec_depends
	@echo "===>  Extracting for ${DISTNAME}"
	@rm -rf ${WRKDIR}
	@mkdir -p ${WRKDIR}
	@unzip -Laq ${DISTDIR}/${DISTFILES} -d ${WRKDIR}

extract: fetch pre-extract ${EXTRACT_COOKIE}
	@${TOUCH} ${TOUCH_FLAGS} ${EXTRACT_COOKIE}

.include <bsd.port.mk>