aboutsummaryrefslogtreecommitdiff
path: root/textproc/whitespace.el/Makefile
blob: 39151e06a264d1db44a808ac2ae0924e5448e46c (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
# New ports collection makefile for:	whitespace.el
# Date created:		6 November 2002
# Whom:			Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
#
# $FreeBSD$
#

PORTNAME=	whitespace.el
PORTVERSION=	3.0
CATEGORIES=	textproc elisp
MASTER_SITES=	http://www.dsmit.com/lisp/
DISTNAME=	whitespace.el
EXTRACT_SUFX=
DIST_SUBDIR=    ${PORTNAME}-${PORTVERSION}

MAINTAINER=	stolz@i2.informatik.rwth-aachen.de
COMMENT=	Emacs mode which detects and cleans up whitespace in source code

EXTRACT_AFTER_ARGS=	| ${CAT} >${WRKDIR}/${DISTNAME}

NO_WRKSUBDIR=	yes
NO_BUILD=	yes

EMACSLISPDIR=   ${PREFIX}/share/emacs/site-lisp
XEMACSLISPDIR=  ${PREFIX}/lib/xemacs/site-lisp

do-install:
	${MKDIR} ${EMACSLISPDIR}
	${INSTALL_DATA} ${WRKDIR}/${DISTNAME} ${EMACSLISPDIR}/${DISTNAME}
	${MKDIR} ${XEMACSLISPDIR}
	${LN} -sf ${EMACSLISPDIR}/${DISTNAME} ${XEMACSLISPDIR}

.include <bsd.port.mk>