aboutsummaryrefslogblamecommitdiff
path: root/devel/psvn/Makefile
blob: ac761aa9f1b5d4b4e8e70e205d016cc5a0a3162e (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                                
                     
                 
                           

                                                                                           

                       
                                



                                                
                   

                               




                                         



                                                                   












                                                                          
# New ports collection makefile for:   psvn
# Date created:                18 May 2004
# Whom:                        Kimura Fuyuki <fuyuki@hadaly.org>
#
# $FreeBSD$
#

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

MAINTAINER=	bsam@FreeBSD.org
COMMENT=	Subversion interface for Emacs

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

USE_EMACS=	yes
EMACS_PORT_NAME?=	emacs21

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

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

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>