From 9c8612a246adc486772e01b5bad7267318f8dd1d Mon Sep 17 00:00:00 2001 From: Norikatsu Shigemura <nork@FreeBSD.org> Date: Tue, 18 May 2004 17:20:59 +0000 Subject: [PATCH] o Adopt gnudoit/gnuattach to -emacs/-xemacs suffixed. o Bump PORTREVISION accordingly. PR: ports/66710 Submitted by: Yoshihiko Sarumaru <mistra@imasy.or.jp> --- editors/gnuserv/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/editors/gnuserv/Makefile b/editors/gnuserv/Makefile index 0fcee7cb09bb..0cd3e70286e2 100644 --- a/editors/gnuserv/Makefile +++ b/editors/gnuserv/Makefile @@ -7,7 +7,7 @@ PORTNAME= gnuserv PORTVERSION= 3.12.5 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= editors MASTER_SITES= http://meltin.net/hacks/emacs/src/ PKGNAMESUFFIX= -${EMACS_PORT_NAME} @@ -16,6 +16,7 @@ MAINTAINER= ports@FreeBSD.org COMMENT= A standalone release of gnuserv for GNU Emacs GNU_CONFIGURE= yes +USE_REINPLACE= yes BINSUFFIX?= -emacs @@ -38,6 +39,12 @@ PLIST_SUB= EMACS_PORT_NAME=${EMACS_PORT_NAME} \ BINSUFFIX=${BINSUFFIX} lispdir= ${PREFIX}/${EMACS_SITE_LISPDIR}/gnuserv + +post-patch: +.for i in gnudoit gnuattach + @${REINPLACE_CMD} 's/gnuclient/gnuclient${BINSUFFIX}/' ${WRKSRC}/${i} +.endfor + post-install: ${MKDIR} ${lispdir}; .for i in ${SOURCES} ${ELCS}