svn commit: r365974 - head/lang/tuareg-mode.el
Adam Weinberger
adamw at FreeBSD.org
Sun Aug 24 17:13:01 UTC 2014
Author: adamw
Date: Sun Aug 24 17:13:00 2014
New Revision: 365974
URL: http://svnweb.freebsd.org/changeset/ports/365974
QAT: https://qat.redports.org/buildarchive/r365974/
Log:
Update to version 2.0.8.
Also:
* pass maintainership to submitter
* stage
* add DOCS option
* use Github
* remove obsolete comments from the Makefile.
PR: 192932
Submitted by: Michael Grünewald
Modified:
head/lang/tuareg-mode.el/Makefile
head/lang/tuareg-mode.el/distinfo
Modified: head/lang/tuareg-mode.el/Makefile
==============================================================================
--- head/lang/tuareg-mode.el/Makefile Sun Aug 24 17:10:37 2014 (r365973)
+++ head/lang/tuareg-mode.el/Makefile Sun Aug 24 17:13:00 2014 (r365974)
@@ -2,47 +2,42 @@
# $FreeBSD$
PORTNAME= tuareg-mode
-PORTVERSION= 2.0.6
+PORTVERSION= 2.0.8
PORTEPOCH= 1
CATEGORIES= lang elisp
-MASTER_SITES= http://forge.ocamlcore.org/frs/download.php/882/
+MASTER_SITES= GH
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= michipili at gmail.com
COMMENT= Emacs major mode for editing Caml code
+LICENSE= GPLv2
+
USE_EMACS= yes
+USE_GITHUB= yes
-WRKSRC= ${WRKDIR}/tuareg-${PORTVERSION}
+GH_ACCOUNT= ocaml
+GH_PROJECT= tuareg
+GH_COMMIT= 62f6854
-DOC_FILES= README
-DOC_DIR= share/doc/tuareg-mode
+OPTIONS_DEFINE= DOCS
ELISP_FILES= ocamldebug.el tuareg.el
+.for f in ${ELISP_FILES}
+PLIST_FILES+= %%EMACS_SITE_LISPDIR%%/$f %%EMACS_SITE_LISPDIR%%/$fc
+.endfor
-PLIST_FILES= ${ELISP_FILES:S/^/${EMACS_SITE_LISPDIR}\//} \
- ${ELISP_FILES:S/^/${EMACS_SITE_LISPDIR}\//S/$/c/} \
- ${DOC_FILES:S/^/${DOC_DIR}\//}
-PLIST_DIRS= ${DOC_DIR}
-
-# Note: append-tuareg.el and custom-tuareg.el are example files,
-# they are thus considered part of the documentation.
-
-#
-# Operations
-#
+PORTDOCS= README.md
-NO_STAGE= yes
do-build:
- cd ${WRKSRC} &&\
- ${EMACS_CMD} -batch -q -f batch-byte-compile ${ELISP_FILES}
+ (cd ${WRKSRC} && \
+ ${EMACS_CMD} -batch -q -f batch-byte-compile ${ELISP_FILES})
do-install:
+ @${MKDIR} ${STAGEDIR}${EMACS_SITE_LISPDIR}
.for tuareg_mode_f in ${ELISP_FILES}
${INSTALL_DATA} ${WRKSRC}/${tuareg_mode_f} ${WRKSRC}/${tuareg_mode_f}c \
- ${PREFIX}/${EMACS_SITE_LISPDIR}
-.endfor
- ${MKDIR} ${PREFIX}/${DOC_DIR}
-.for tuareg_mode_f in ${DOC_FILES}
- ${INSTALL_DATA} ${WRKSRC}/${tuareg_mode_f} ${PREFIX}/${DOC_DIR}
+ ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}
.endfor
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:C|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
Modified: head/lang/tuareg-mode.el/distinfo
==============================================================================
--- head/lang/tuareg-mode.el/distinfo Sun Aug 24 17:10:37 2014 (r365973)
+++ head/lang/tuareg-mode.el/distinfo Sun Aug 24 17:13:00 2014 (r365974)
@@ -1,2 +1,2 @@
-SHA256 (tuareg-mode-2.0.6.tar.gz) = ea79ac24623b82ab8047345f8504abca557a537e639d16ce1ac3e5b27f5b1189
-SIZE (tuareg-mode-2.0.6.tar.gz) = 54916
+SHA256 (tuareg-mode-2.0.8.tar.gz) = 8ab415f290d0ebba1193fa784140bbadedd3669917abf33aa7807d269fa7d182
+SIZE (tuareg-mode-2.0.8.tar.gz) = 90771
More information about the svn-ports-head
mailing list