summaryrefslogtreecommitdiff
path: root/net/archie.el/Makefile
blob: b2a3580c719276d02fbab540d2c5c2afe59856fc (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
39
40
41
# New ports collection makefile for:	archie.el
# Version required:	3.0.2
# Date created:		99/10/6
# Whom:			Satoshi Taoka <taoka@FreeBSD.org>
#
# $FreeBSD$
#

DISTNAME=	archie.el
PKGNAME=	archie.el-3.0.2
CATEGORIES=	net elisp
# I don't know the master site
MASTER_SITES=	ftp://ftp.cis.ohio-state.edu/pub/elisp-lisp/interfaces/ \
		ftp://ftp.kddlabs.co.jp/.2/gnu-attic/ohio-elisp/interfaces/
EXTRACT_SUFX=	.Z

MAINTAINER=	taoka@FreeBSD.org

RUN_DEPENDS=	archie:${PORTSDIR}/net/archie

NO_WRKSUBDIR=	yes
NO_BUILD=	yes
WRKSRC=		${WRKDIR}

ELISPDIR=	${PREFIX}/share/emacs/site-lisp
XELISPDIR=	${PREFIX}/lib/xemacs/site-lisp

do-extract:
	${RM} -rf ${WRKDIR}
	${MKDIR} ${WRKDIR}
	${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/${DISTFILES} \
		> ${WRKDIR}/${PKGNAME}

do-install:
	${MKDIR} ${ELISPDIR}
	${INSTALL_DATA} ${WRKDIR}/${PKGNAME} ${ELISPDIR}/archie.el
# For XEmacs
	${MKDIR} ${XELISPDIR}
	${LN} -sf ${ELISPDIR}/archie.el ${XELISPDIR}

.include <bsd.port.mk>