aboutsummaryrefslogtreecommitdiffstats
path: root/lang/quack/Makefile
blob: b0b9926d338378e431dddd78b82ff16d9e02bc93 (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
# New ports collection makefile for:    Quack
# Date created:             24 October 2003
# Whom:                 Kimura Fuyuki <fuyuki@nigredo.org>
#
# $FreeBSD$
#

PORTNAME=   quack
PORTVERSION=    0.23
CATEGORIES= lang scheme elisp
MASTER_SITES=   http://www.neilvandyke.org/quack/
DISTNAME=   ${PORTNAME}
EXTRACT_SUFX=   .el
DIST_SUBDIR=    ${PORTNAME}-${PORTVERSION}

MAINTAINER= fuyuki@nigredo.org
COMMENT=    Enhanced support for editing and running Scheme code

RUN_DEPENDS=    wget:${PORTSDIR}/ftp/wget

EMACS_PORT_NAME?=   emacs21

NO_WRKSUBDIR=   yes
EXTRACT_CMD=    ${CP}
EXTRACT_BEFORE_ARGS=    # empty
EXTRACT_AFTER_ARGS= ${WRKSRC}

ELISPDIR=   ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}

do-build:
    cd ${WRKSRC}; ${EMACS_CMD} -batch -q -f batch-byte-compile quack.el

do-install:
    ${MKDIR} ${ELISPDIR}
    ${INSTALL_DATA} ${WRKSRC}/quack.* ${ELISPDIR}

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>