aboutsummaryrefslogtreecommitdiffstats
path: root/devel/psvn/Makefile
blob: 380f8bb72ba175948860bee3934a10f8ba433194 (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:   psvn
# Date created:                18 May 2004
# Whom:                        Kimura Fuyuki <fuyuki@hadaly.org>
#
# $FreeBSD$
#

PORTNAME=   psvn
PORTVERSION=    9854
CATEGORIES= devel elisp
MASTER_SITES=   http://svn.collab.net/viewcvs/*checkout*/svn/trunk/contrib/client-side/psvn/
DISTNAME=   psvn.el\?rev=${PORTVERSION}
EXTRACT_SUFX=   # empty

MAINTAINER= fuyuki@hadaly.org
COMMENT=    Subversion interface for Emacs

RUN_DEPENDS=    svn:${PORTSDIR}/devel/subversion

EMACS_PORT_NAME?=   emacs21

DISABLE_SIZE=   yes
NO_WRKSUBDIR=   yes
EXTRACT_CMD=    ${CP}
EXTRACT_BEFORE_ARGS=    # empty
EXTRACT_AFTER_ARGS= ${WRKSRC}/psvn.el

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

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

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

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

.include <bsd.port.mk>