diff options
-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 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 |