freebsd-ports/editors/em/Makefile
Ying-Chieh Liao 274b4872ab - Support CC/CFLAGS/PREFIX proeprly
- Remove version string from pkg-comment
bump port revision

PR:		32217
Submitted by:	KATO Tsuguru <tkato@prontomail.com>
2001-11-23 17:39:18 +00:00

28 lines
677 B
Makefile

# New ports collection makefile for: MicroEmacs/PK-TOY
# Date created: 27 Jan 2001
# Whom: Tadashi Yumoto
#
# $FreeBSD$
#
PORTNAME= em
PORTVERSION= 4.0.16
PORTREVISION= 1
CATEGORIES= editors
MASTER_SITES= http://www3.famille.ne.jp/~ncc1701/em/
DISTNAME= ${PORTNAME}-${PORTVERSION}-lt
MAINTAINER= ports@FreeBSD.org
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" DEFINES=""
pre-patch:
@${PERL} -pi -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>