diff options
author | okazaki <okazaki@FreeBSD.org> | 2001-04-02 09:04:50 +0800 |
---|---|---|
committer | okazaki <okazaki@FreeBSD.org> | 2001-04-02 09:04:50 +0800 |
commit | 158d070897abf8585105828768f63a3a983e2627 (patch) | |
tree | b7208d2a587bf6bb08a6cb799e649a7c0bee933d /www/emacs-w3m-emacs20/Makefile | |
parent | df71c8c8def7da5d99ed226370539dd37537108a (diff) | |
download | freebsd-ports-gnome-158d070897abf8585105828768f63a3a983e2627.tar.gz freebsd-ports-gnome-158d070897abf8585105828768f63a3a983e2627.tar.zst freebsd-ports-gnome-158d070897abf8585105828768f63a3a983e2627.zip |
Add emacs-w3m-emacs20, a simple interface program of w3m for Emacs20.
PR: 26130
Submitted by: MANTANI Nobutaka <nobutaka@nobutaka.com>
Diffstat (limited to 'www/emacs-w3m-emacs20/Makefile')
-rw-r--r-- | www/emacs-w3m-emacs20/Makefile | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/www/emacs-w3m-emacs20/Makefile b/www/emacs-w3m-emacs20/Makefile new file mode 100644 index 000000000000..e05d48d24166 --- /dev/null +++ b/www/emacs-w3m-emacs20/Makefile @@ -0,0 +1,57 @@ +# New ports collection makefile for: emacs-w3m +# Date Created: 24 Mar 2001 +# Whom: MANTANI Nobutaka <nobutaka@nobutaka.com> +# +# $FreeBSD$ +# + +PORTNAME= emacs-w3m +PORTVERSION= 0.2.126 +CATEGORIES= www elisp +MASTER_SITES= http://namazu.org/~tsuchiya/emacs-w3m/ +PKGNAMESUFFIX= -${EMACS_PORT_NAME} +DISTNAME= w3m_el-${PORTVERSION} + +MAINTAINER= nobutaka@nobutaka.com + +EMACS_PORT_NAME?= emacs20 +.if (${EMACS_PORT_NAME} == "emacs20") +CONFIGURE_ARGS= --with-emacs=${EMACS_CMD} +.endif +.if (${EMACS_PORT_NAME} == "xemacs21-mule") +CONFIGURE_ARGS= --with-xemacs=${EMACS_CMD} +EMACS_PACKAGESDIR= lib/xemacs/site-packages +MANIFEST= MANIFEST.w3m +INSTALL_TARGET= install-package +.endif + +USE_AUTOCONF= yes +ALL_TARGET= default + +PLIST_SUB+= EMACS_PACKAGESDIR=${EMACS_PACKAGESDIR} + +DOCS= README +DOCS_JA= README.ja TIPS.ja + +DOCSDIR= ${PREFIX}/share/doc/emacs-w3m +DOCSDIR_JA= ${PREFIX}/share/doc/ja/emacs-w3m + +pre-build: +.if defined(EMACS_PACKAGESDIR) + @${CP} ${FILESDIR}/_pkg.el ${WRKSRC} +.endif + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${MKDIR} ${DOCSDIR_JA} +.for i in ${DOCS} + ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} +.endfor +.for i in ${DOCS_JA} + ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR_JA} +.endfor +.endif + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> |