diff options
author | Renato Botelho <garga@FreeBSD.org> | 2006-02-16 13:06:52 +0000 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2006-02-16 13:06:52 +0000 |
commit | 97c680e71bcb7ee30401f22b50470c0bbaef364b (patch) | |
tree | 1bf8ff7c0b6baa013cc2be13a3684b86ba9b9a03 /devel/pcl-cvs-emacs20 | |
parent | 36229bd45c32e480c87878dbd6aaee36223352a8 (diff) | |
download | ports-97c680e71bcb7ee30401f22b50470c0bbaef364b.tar.gz ports-97c680e71bcb7ee30401f22b50470c0bbaef364b.zip |
Notes
Diffstat (limited to 'devel/pcl-cvs-emacs20')
-rw-r--r-- | devel/pcl-cvs-emacs20/Makefile | 94 | ||||
-rw-r--r-- | devel/pcl-cvs-emacs20/distinfo | 9 | ||||
-rw-r--r-- | devel/pcl-cvs-emacs20/pkg-descr | 7 | ||||
-rw-r--r-- | devel/pcl-cvs-emacs20/pkg-message | 3 | ||||
-rw-r--r-- | devel/pcl-cvs-emacs20/pkg-plist | 21 |
5 files changed, 129 insertions, 5 deletions
diff --git a/devel/pcl-cvs-emacs20/Makefile b/devel/pcl-cvs-emacs20/Makefile index d09f823b8c1c..a0b5270f522f 100644 --- a/devel/pcl-cvs-emacs20/Makefile +++ b/devel/pcl-cvs-emacs20/Makefile @@ -5,15 +5,99 @@ # $FreeBSD$ # -MAINTAINER= okazaki@FreeBSD.org +PORTNAME= pcl-cvs +PORTVERSION= 2.9.9 +PORTREVISION= 1 +CATEGORIES= devel elisp +MASTER_SITES= ${MASTER_SITE_LOCAL} +MASTER_SITE_SUBDIR= okazaki/pcl-cvs +PKGNAMESUFFIX= -${EMACS_PORT_NAME} +DIST_SUBDIR= pcl-cvs + +PATCH_SITES= ${MASTER_SITE_LOCAL} +PATCH_SITE_SUBDIR= okazaki/pcl-cvs +PATCHFILES= pcl-cvs-2.9.9-compat.patch -# This is a slave port. -PORTCLASS= slave +MAINTAINER= okazaki@FreeBSD.org +COMMENT= An Emacs-based front-end to CVS -MASTERDIR= ${.CURDIR}/../../devel/pcl-cvs-emacs +# startup el filename +PORT_SETUPEL= pcl-cvs-setup.el # emacs port setup USE_EMACS= yes EMACS_PORT_NAME= emacs20 +ELIB_PORT_SUFFIX?= -${EMACS_PORT_NAME} + +# target name for make build +ALL_TARGET?= elcfiles info +INSTALL_TARGET?= install_el install_elc install_info +INSTALL_TARGET+= install_startup + +INFO= pcl-cvs + +.include <bsd.port.pre.mk> + +.if !defined(NOPORTDOCS) +PORTDOCS= ChangeLog FAQ NEWS README TODO +.endif + +PLIST_SUB+= PORT_SETUPEL=${PORT_SETUPEL} +MAKE_ARGS+= EMACS="${EMACS_CMD} -q --no-site-file" \ + CP="${INSTALL_DATA}" \ + MAKEINFO="makeinfo --no-split" \ + MKDIR="${MKDIR}" \ + prefix="${PREFIX}" \ + lispdir="${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}" \ + startupfile="${PORT_SETUPEL}" + +.if defined(EMACS_PORT_NAME) +ELIB_PORTDIR= ${PORTSDIR}/devel/elib${ELIB_PORT_SUFFIX} +BUILD_DEPENDS+= ${EMACS_BASE}/${EMACS_VERSION_SITE_LISPDIR}/elib/cookie.el:${ELIB_PORTDIR} +RUN_DEPENDS+= ${EMACS_BASE}/${EMACS_VERSION_SITE_LISPDIR}/elib/cookie.el:${ELIB_PORTDIR} +RUN_DEPENDS+= ${EMACS_BASE}/${EMACS_SITE_LISPDIR}/diff-mode.el:${PORTSDIR}/textproc/diff-mode.el +.else +.BEGIN: + @${ECHO} "Error: Bad port." + @${ECHO} "You must define EMACS_PORT_NAME." + @${FALSE} +.endif + +post-extract: +.if defined(EASY_MMODE) + ${CP} ${_DISTDIR}/${EASY_MMODE} ${WRKSRC} +.endif + +pre-build: + ${RM} ${WRKSRC}/pcl-cvs.info* + +post-build: + ${ECHO_CMD} "(provide 'pcl-cvs-startup)" >> ${WRKSRC}/pcl-cvs-startup.el + +pre-install: + -${RM} ${INSTALL_WRKSRC}/${PORT_SETUPEL} +.if defined(ELIB_SETUP) && !empty(ELIB_SETUP) + ${ECHO_CMD} ${ELIB_SETUP} >> ${INSTALL_WRKSRC}/${PORT_SETUPEL} +.endif + +POST_INSTALL_SEQ+= setupel-install +.if !defined(NOPORTDOCS) +POST_INSTALL_SEQ+= doc-install +.endif + +post-install: ${POST_INSTALL_SEQ} + @${CAT} ${PKGMESSAGE} + +doc-install: + ${MKDIR} ${DOCSDIR} + cd ${INSTALL_WRKSRC} && \ + for i in ${PORTDOCS}; do \ + ${INSTALL_DATA} $${i} ${DOCSDIR} ; \ + done + +setupel-install: + ${ECHO_CMD} "(provide 'pcl-cvs-setup)" >> ${INSTALL_WRKSRC}/${PORT_SETUPEL} + ${INSTALL_DATA} ${INSTALL_WRKSRC}/${PORT_SETUPEL} \ + ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/ -.include "${MASTERDIR}/Makefile" +.include <bsd.port.post.mk> diff --git a/devel/pcl-cvs-emacs20/distinfo b/devel/pcl-cvs-emacs20/distinfo new file mode 100644 index 000000000000..1029567a3d80 --- /dev/null +++ b/devel/pcl-cvs-emacs20/distinfo @@ -0,0 +1,9 @@ +MD5 (pcl-cvs/pcl-cvs-2.9.9.tar.gz) = b4511b9eae0bf2ee033f37705cb5f1f9 +SHA256 (pcl-cvs/pcl-cvs-2.9.9.tar.gz) = 3177c5994f2ab36d8c482acb69ca984ba08ebce3e6b52c5765d1d615d5103fdf +SIZE (pcl-cvs/pcl-cvs-2.9.9.tar.gz) = 140016 +MD5 (pcl-cvs/easy-mmode.el) = 59baa701f3fafcf2a8f47ea58785722b +SHA256 (pcl-cvs/easy-mmode.el) = a7a37d0a6c7fdfee59a4e5c362a0be2eb6c34b9f79067a4d256c4c9493ca11d8 +SIZE (pcl-cvs/easy-mmode.el) = 5962 +MD5 (pcl-cvs/pcl-cvs-2.9.9-compat.patch) = 42d7926bde6eb3f9375aa511a4da4aa5 +SHA256 (pcl-cvs/pcl-cvs-2.9.9-compat.patch) = 40fb7a15845c0c7b7f769decbf5d8e861aae58dacac9f104a04577ed51679425 +SIZE (pcl-cvs/pcl-cvs-2.9.9-compat.patch) = 2150 diff --git a/devel/pcl-cvs-emacs20/pkg-descr b/devel/pcl-cvs-emacs20/pkg-descr new file mode 100644 index 000000000000..ae924c4a6f91 --- /dev/null +++ b/devel/pcl-cvs-emacs20/pkg-descr @@ -0,0 +1,7 @@ +PCL-CVS is a front-end to CVS. It integrates the most frequently +used CVS commands into emacs. + +For VC users, PCL-CVS can be thought of as a VC-dired specially designed +for CVS. PCL-CVS is not a replacement for VC and is supposed to interact +well with it. It provides a global view of your project and allows +execution of cvs commands on several files at a time. diff --git a/devel/pcl-cvs-emacs20/pkg-message b/devel/pcl-cvs-emacs20/pkg-message new file mode 100644 index 000000000000..311ace634ff4 --- /dev/null +++ b/devel/pcl-cvs-emacs20/pkg-message @@ -0,0 +1,3 @@ +To use pcl-cvs, put the following setup into your ~/.emacs: + + (require 'pcl-cvs-setup) diff --git a/devel/pcl-cvs-emacs20/pkg-plist b/devel/pcl-cvs-emacs20/pkg-plist new file mode 100644 index 000000000000..a13f79105bd0 --- /dev/null +++ b/devel/pcl-cvs-emacs20/pkg-plist @@ -0,0 +1,21 @@ +%%EMACS_VERSION_SITE_LISPDIR%%/pcl-cvs/cvs-compat.el +%%EMACS_VERSION_SITE_LISPDIR%%/pcl-cvs/cvs-compat.elc +%%EMACS_VERSION_SITE_LISPDIR%%/pcl-cvs/cvs-edit.el +%%EMACS_VERSION_SITE_LISPDIR%%/pcl-cvs/cvs-edit.elc +%%EMACS_VERSION_SITE_LISPDIR%%/pcl-cvs/cvs-log.el +%%EMACS_VERSION_SITE_LISPDIR%%/pcl-cvs/cvs-log.elc +%%EMACS_VERSION_SITE_LISPDIR%%/pcl-cvs/cvs-status.el +%%EMACS_VERSION_SITE_LISPDIR%%/pcl-cvs/cvs-status.elc +%%EMACS_VERSION_SITE_LISPDIR%%/pcl-cvs/pcl-cvs-defs.el +%%EMACS_VERSION_SITE_LISPDIR%%/pcl-cvs/pcl-cvs-defs.elc +%%EMACS_VERSION_SITE_LISPDIR%%/pcl-cvs/pcl-cvs-info.el +%%EMACS_VERSION_SITE_LISPDIR%%/pcl-cvs/pcl-cvs-info.elc +%%EMACS_VERSION_SITE_LISPDIR%%/pcl-cvs/pcl-cvs-parse.el +%%EMACS_VERSION_SITE_LISPDIR%%/pcl-cvs/pcl-cvs-parse.elc +%%EMACS_VERSION_SITE_LISPDIR%%/pcl-cvs/pcl-cvs-startup.el +%%EMACS_VERSION_SITE_LISPDIR%%/pcl-cvs/pcl-cvs-util.el +%%EMACS_VERSION_SITE_LISPDIR%%/pcl-cvs/pcl-cvs-util.elc +%%EMACS_VERSION_SITE_LISPDIR%%/pcl-cvs/pcl-cvs.el +%%EMACS_VERSION_SITE_LISPDIR%%/pcl-cvs/pcl-cvs.elc +%%EMACS_VERSION_SITE_LISPDIR%%/%%PORT_SETUPEL%% +@dirrm %%EMACS_VERSION_SITE_LISPDIR%%/pcl-cvs |