aboutsummaryrefslogtreecommitdiffstats
path: root/editors/em/Makefile
blob: a60542b7ae2c92c00fde3123eaebe4b49d0b5bdf (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
# New ports collection makefile for:    MicroEmacs/PK-TOY
# Date created:         27 Jan 2001
# Whom:                 Tadashi Yumoto
#
# $FreeBSD$
#

PORTNAME=   em
PORTVERSION=    4.0.17
PORTREVISION=   1
CATEGORIES= editors
MASTER_SITES=   http://www3.famille.ne.jp/~ncc1701/em/
DISTNAME=   ${PORTNAME}-4.0.16-lt

MAINTAINER= ports@FreeBSD.org
COMMENT=    Full screen editor based on MicroEMACS

USE_REINPLACE=  yes
MAKE_ARGS=  CC="${CC}" CFLAGS="${CFLAGS}" DEFINES=""

pre-patch:
    @${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/epath.h

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/em ${PREFIX}/bin/em
    ${INSTALL_DATA} ${WRKSRC}/emacs.hlp ${PREFIX}/etc/emacs.hlp
    ${INSTALL_DATA} ${WRKSRC}/emacs.rc ${PREFIX}/etc/dot.emacsrc

.include <bsd.port.mk>