aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-09-28 21:34:19 +0800
committerknu <knu@FreeBSD.org>2002-09-28 21:34:19 +0800
commitabf41f34f88259f0f92958ed837f3ba2c114dfba (patch)
tree38486f429d652d96e8658bb4af36ca9f5f3f56e2 /editors
parent4489925fe361315d4863ec94e43c7e4273110e64 (diff)
downloadfreebsd-ports-gnome-abf41f34f88259f0f92958ed837f3ba2c114dfba.tar.gz
freebsd-ports-gnome-abf41f34f88259f0f92958ed837f3ba2c114dfba.tar.zst
freebsd-ports-gnome-abf41f34f88259f0f92958ed837f3ba2c114dfba.zip
- Install binaries with the "-emacs" program suffix to avoid conflict
with the XEmacs ports. - The configure script is a GNU one, so define GNU_CONFIGURE instead of HAS_CONFIGURE + CONFIGURE_ARGS=--prefix=${PREFIX}.
Diffstat (limited to 'editors')
-rw-r--r--editors/gnuserv/Makefile18
-rw-r--r--editors/gnuserv/pkg-plist8
2 files changed, 15 insertions, 11 deletions
diff --git a/editors/gnuserv/Makefile b/editors/gnuserv/Makefile
index f0575352d805..985fdd3ee646 100644
--- a/editors/gnuserv/Makefile
+++ b/editors/gnuserv/Makefile
@@ -13,23 +13,27 @@ PKGNAMESUFFIX= -${EMACS_PORT_NAME}
MAINTAINER= ports@FreeBSD.org
-HAS_CONFIGURE= yes
+GNU_CONFIGURE= yes
+
+BINSUFFIX?= -emacs
EMACS_PORT_NAME?=emacs21
-CONFIGURE_ARGS= --prefix=${PREFIX}
+# configure --program-suffix doesn't work somehow
+MAKE_ARGS= binsuffix="${BINSUFFIX}"
PORTDOCDIR= share/doc/gnuserv-${EMACS_PORT_NAME}
-MAN1= gnuserv.1
-MLINKS= gnuserv.1 gnuattach.1 \
- gnuserv.1 gnuclient.1 \
- gnuserv.1 gnudoit.1
+MAN1= gnuserv${BINSUFFIX}.1
+MLINKS= gnuserv${BINSUFFIX}.1 gnuattach${BINSUFFIX}.1 \
+ gnuserv${BINSUFFIX}.1 gnuclient${BINSUFFIX}.1 \
+ gnuserv${BINSUFFIX}.1 gnudoit${BINSUFFIX}.1
DOCS= COPYING ChangeLog INSTALL README README.orig
SOURCES= devices.el gnuserv-compat.el gnuserv.el
ELCS= ${SOURCES:S/.el/.elc/g}
PLIST_SUB= EMACS_PORT_NAME=${EMACS_PORT_NAME} \
- EMACS_SITE_LISPDIR=${EMACS_SITE_LISPDIR}
+ EMACS_SITE_LISPDIR=${EMACS_SITE_LISPDIR} \
+ BINSUFFIX=${BINSUFFIX}
lispdir= ${PREFIX}/${EMACS_SITE_LISPDIR}/gnuserv
post-install:
diff --git a/editors/gnuserv/pkg-plist b/editors/gnuserv/pkg-plist
index 303adc252c42..2c94602cae39 100644
--- a/editors/gnuserv/pkg-plist
+++ b/editors/gnuserv/pkg-plist
@@ -4,10 +4,10 @@
%%EMACS_SITE_LISPDIR%%/gnuserv/gnuserv-compat.elc
%%EMACS_SITE_LISPDIR%%/gnuserv/gnuserv.el
%%EMACS_SITE_LISPDIR%%/gnuserv/gnuserv.elc
-bin/gnuattach
-bin/gnuclient
-bin/gnudoit
-bin/gnuserv
+bin/gnuattach%%BINSUFFIX%%
+bin/gnuclient%%BINSUFFIX%%
+bin/gnudoit%%BINSUFFIX%%
+bin/gnuserv%%BINSUFFIX%%
share/doc/gnuserv-%%EMACS_PORT_NAME%%/COPYING
share/doc/gnuserv-%%EMACS_PORT_NAME%%/ChangeLog
share/doc/gnuserv-%%EMACS_PORT_NAME%%/INSTALL