Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Nov 2001 02:35:38 -0800 (PST)
From:      KATO Tsuguru <tkato@prontomail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/32217: Update port: editors/em
Message-ID:  <200111231035.fANAZcq96515@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         32217
>Category:       ports
>Synopsis:       Update port: editors/em
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 23 02:40:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.4-RELEASE i386
>Organization:
>Environment:
>Description:
- Support CC/CFLAGS/PREFIX proeprly
- Remove version string from pkg-comment


>How-To-Repeat:

>Fix:
diff -urN /usr/ports/editors/em/Makefile editors/em/Makefile
--- /usr/ports/editors/em/Makefile	Tue Sep 18 03:14:03 2001
+++ editors/em/Makefile	Tue Nov  6 07:25:23 2001
@@ -1,4 +1,4 @@
-# New ports collection makefile for:	MicroEmacs/PK-TOY 4.0.16
+# New ports collection makefile for:	MicroEmacs/PK-TOY
 # Date created:         27 Jan 2001
 # Whom:                 Tadashi Yumoto
 #
@@ -7,13 +7,21 @@
 
 PORTNAME=	em
 PORTVERSION=	4.0.16
+PORTREVISION=	1
 CATEGORIES=	editors
 MASTER_SITES=	http://www3.famille.ne.jp/~ncc1701/em/
-DISTNAME=	em-4.0.16-lt
+DISTNAME=	${PORTNAME}-${PORTVERSION}-lt
 
 MAINTAINER=	ports@FreeBSD.org
 
-post-install:
-	strip ${PREFIX}/bin/em
+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>
diff -urN /usr/ports/editors/em/pkg-comment editors/em/pkg-comment
--- /usr/ports/editors/em/pkg-comment	Tue Sep 18 03:14:03 2001
+++ editors/em/pkg-comment	Tue Nov  6 07:24:16 2001
@@ -1 +1 @@
-MicroEmacs 4.0/PK-TOY (version 4.0.16)
+Full screen editor based on MicroEMACS

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111231035.fANAZcq96515>