diff options
author | shige <shige@FreeBSD.org> | 2001-12-03 17:27:41 +0000 |
---|---|---|
committer | shige <shige@FreeBSD.org> | 2001-12-03 17:27:41 +0000 |
commit | 4411fab3fff1ab342d6f14d0cc885a32582cb493 (patch) | |
tree | f4dd76500daaa020031938be8163f227d3c53464 /www/emacs-w3m | |
parent | f5843fe9bba3a27d998cbb2007e43cad17bb8c88 (diff) | |
download | FreeBSD-ports-4411fab3fff1ab342d6f14d0cc885a32582cb493.zip FreeBSD-ports-4411fab3fff1ab342d6f14d0cc885a32582cb493.tar.gz |
New master/slave scheme for emacs-w3m ports.
Update master port to emacs21.
Update slave ports to stub port:
emacs-w3m-emacs20, emacs-w3m-xemacs21-mule
Install el/elc files to version specific site-lisp directory (Gnu Emacsen).
Diffstat (limited to 'www/emacs-w3m')
-rw-r--r-- | www/emacs-w3m/Makefile | 20 | ||||
-rw-r--r-- | www/emacs-w3m/pkg-plist | 3 |
2 files changed, 16 insertions, 7 deletions
diff --git a/www/emacs-w3m/Makefile b/www/emacs-w3m/Makefile index 8d25ab6..9e7f311 100644 --- a/www/emacs-w3m/Makefile +++ b/www/emacs-w3m/Makefile @@ -14,10 +14,18 @@ DISTNAME= w3m_el-${PORTVERSION} MAINTAINER= nobutaka@FreeBSD.org -EMACS_PORT_NAME?= emacs20 +PORTCLASS?= master -CONFIGURE_ARGS?= --with-emacs=${EMACS_CMD} -LISPDIR?= ${EMACS_LIBDIR}/site-lisp/w3m +.if (${PORTCLASS} == "master") +EMACS_PORT_NAME?= emacs21 +DEPPORT_SUFFIX= +.else +DEPPORT_SUFFIX= -${EMACS_PORT_NAME} +.endif + +CONFIGURE_ARGS?= --with-emacs=${EMACS_CMD} \ + --with-lispdir=${LOCALBASE}/${LISPDIR} +LISPDIR?= ${EMACS_VERSION_SITE_LISPDIR}/w3m ETCDIR?= share/w3m PKGINFODIR?= "@comment " @@ -47,7 +55,7 @@ SEMI_FILE= ${LOCALBASE}/${EMACS_PACKAGESDIR}/lisp/semi/mime-setup.el .else XEMACS_ONLY?= "@comment " EMACS_ONLY?= "" -SEMI_FILE= ${LOCALBASE}/${EMACS_LIBDIR}/site-lisp/semi/mime-setup.el +SEMI_FILE= ${LOCALBASE}/${EMACS_VERSION_SITE_LISPDIR}/semi/mime-setup.el .endif .if defined(WITH_SHIMBUN) @@ -63,8 +71,8 @@ SHIMBUN= "@comment " .endif .if defined(HAVE_SEMI) -BUILD_DEPENDS+= ${SEMI_FILE}:${PORTSDIR}/editors/semi-${EMACS_PORT_NAME}-current -RUN_DEPENDS+= ${SEMI_FILE}:${PORTSDIR}/editors/semi-${EMACS_PORT_NAME}-current +BUILD_DEPENDS+= ${SEMI_FILE}:${PORTSDIR}/editors/semi${DEPPORT_SUFFIX} +RUN_DEPENDS+= ${SEMI_FILE}:${PORTSDIR}/editors/semi${DEPPORT_SUFFIX} .endif .if !defined(HAVE_SEMI) diff --git a/www/emacs-w3m/pkg-plist b/www/emacs-w3m/pkg-plist index e8d7339..fa11c11 100644 --- a/www/emacs-w3m/pkg-plist +++ b/www/emacs-w3m/pkg-plist @@ -114,8 +114,9 @@ %%LISPDIR%%/w3m-dtree.el %%LISPDIR%%/w3m-dtree.elc %%LISPDIR%%/w3m-e20.el -%%EMACS_ONLY%%%%LISPDIR%%/w3m-e20.elc +%%EMACS_ONLY%%@unexec rm -f %D/%%LISPDIR%%/w3m-e20.elc %%LISPDIR%%/w3m-e21.el +%%EMACS_ONLY%%@unexec rm -f %D/%%LISPDIR%%/w3m-e21.elc %%LISPDIR%%/w3m-filter.el %%LISPDIR%%/w3m-filter.elc %%LISPDIR%%/w3m-form.el |