aboutsummaryrefslogtreecommitdiffstats
path: root/lang/quack/Makefile
blob: b4a3551bf05d77344057322d5c7d29e97ddfddbb (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
# Created by: Kimura Fuyuki <fuyuki@nigredo.org>
# $FreeBSD$

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

MAINTAINER= ports@FreeBSD.org
COMMENT=    Enhanced support for editing and running Scheme code

LICENSE=    GPLv2

RUN_DEPENDS=    wget:ftp/wget

USE_EMACS=  yes

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

PLIST_FILES=    ${EMACS_VERSION_SITE_LISPDIR}/quack/quack.el \
        ${EMACS_VERSION_SITE_LISPDIR}/quack/quack.elc
PLIST_DIRS= ${EMACS_VERSION_SITE_LISPDIR}/quack

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

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

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

.include <bsd.port.mk>