summaryrefslogtreecommitdiff
path: root/devel/psvn/Makefile
blob: 69a5d83515192c0665ccdf1f75d095ee996db4b4 (plain)
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
# $NetBSD: Makefile,v 1.2 2007/05/29 16:41:44 wiz Exp $
#

DISTNAME=	psvn.el
PKGNAME=	psvn-${VER}
CATEGORIES=	devel editors scm
MASTER_SITES=	http://www.xsteve.at/prg/emacs/
DIST_SUBDIR=	psvn-${VER}
EXTRACT_SUFX=	# empty

MAINTAINER=	pkgsrc-useres@NetBSD.org
HOMEPAGE=	http://www.xsteve.at/prg/emacs/
COMMENT=	Subversion interface for Emacs

VER=		25168
WRKSRC=		${WRKDIR}

.include "../../mk/emacs.mk"

INSTALLATION_DIRS=	${EMACS_LISPPREFIX:S/^${PREFIX}\///}

do-extract:
	${CP} ${DISTDIR}/${DIST_SUBDIR}/psvn.el ${WRKDIR}

do-build:
	${EMACS_BIN} --no-init-file -batch -f batch-byte-compile \
		${WRKDIR}/psvn.el

do-install:
	${INSTALL_DATA} ${WRKDIR}/psvn.el ${EMACS_LISPPREFIX}
	${INSTALL_DATA} ${WRKDIR}/psvn.elc ${EMACS_LISPPREFIX}

.include "../../mk/bsd.pkg.mk"