diff options
author | knu <knu@FreeBSD.org> | 2002-09-28 13:34:19 +0000 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2002-09-28 13:34:19 +0000 |
commit | abf41f34f88259f0f92958ed837f3ba2c114dfba (patch) | |
tree | 38486f429d652d96e8658bb4af36ca9f5f3f56e2 /editors/gnuserv | |
parent | 4489925fe361315d4863ec94e43c7e4273110e64 (diff) | |
download | FreeBSD-ports-abf41f34f88259f0f92958ed837f3ba2c114dfba.zip FreeBSD-ports-abf41f34f88259f0f92958ed837f3ba2c114dfba.tar.gz |
- 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/gnuserv')
-rw-r--r-- | editors/gnuserv/Makefile | 18 | ||||
-rw-r--r-- | editors/gnuserv/pkg-plist | 8 |
2 files changed, 15 insertions, 11 deletions
diff --git a/editors/gnuserv/Makefile b/editors/gnuserv/Makefile index f057535..985fdd3 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 303adc2..2c94602 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 |