Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Dec 2016 23:19:43 +0000 (UTC)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r430174 - head/devel/cask
Message-ID:  <201612312319.uBVNJhRa049342@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hrs
Date: Sat Dec 31 23:19:43 2016
New Revision: 430174
URL: https://svnweb.freebsd.org/changeset/ports/430174

Log:
  Update to 0.8.1.

Deleted:
  head/devel/cask/pkg-plist
Modified:
  head/devel/cask/Makefile
  head/devel/cask/distinfo

Modified: head/devel/cask/Makefile
==============================================================================
--- head/devel/cask/Makefile	Sat Dec 31 23:05:08 2016	(r430173)
+++ head/devel/cask/Makefile	Sat Dec 31 23:19:43 2016	(r430174)
@@ -1,12 +1,11 @@
 # $FreeBSD$
 
 PORTNAME=	cask
-PORTVERSION=	0.7.0
+PORTVERSION=	0.8.1
 DISTVERSIONPREFIX=	v
-PORTREVISION=	3
 CATEGORIES=	devel elisp
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	hrs@FreeBSD.org
 COMMENT=	Project management tool for Emacs
 
 LICENSE=	GPLv3
@@ -14,26 +13,27 @@ LICENSE=	GPLv3
 USE_GITHUB=	yes
 USE_EMACS=	yes
 USES=		python
-
 NO_BUILD=	yes
 
+PLIST_FILES=	%%EMACS_SITE_LISPDIR%%/cask.el \
+		%%EMACS_SITE_LISPDIR%%/cask-bootstrap.el \
+		%%EMACS_SITE_LISPDIR%%/cask-cli.el \
+		%%EMACS_SITE_LISPDIR%%/package-legacy.el \
+		%%EMACS_SITE_LISPDIR%%/templates/init.tpl \
+		%%EMACS_SITE_LISPDIR%%/templates/init-dev.tpl \
+		bin/cask
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|os.path.dirname(CASK_BIN_DIRECTORY)|"${PREFIX}/${EMACS_SITE_LISPDIR}"|' \
-		${WRKSRC}/bin/cask
+	    ${WRKSRC}/bin/cask
 
 do-install:
-	${INSTALL_DATA} ${WRKSRC}/cask.el \
-		${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}
-	${INSTALL_DATA} ${WRKSRC}/cask-bootstrap.el \
-		${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}
-	${INSTALL_DATA} ${WRKSRC}/cask-cli.el \
-		${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}
+	cd ${WRKSRC} && ${INSTALL_DATA} \
+	    ${PLIST_FILES:M*.el:T} ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}
 	${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}/templates
-	${INSTALL_DATA} ${WRKSRC}/templates/init.tpl \
-		${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}/templates
-	${INSTALL_DATA} ${WRKSRC}/templates/init-dev.tpl \
-		${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}/templates
+	cd ${WRKSRC}/templates && ${INSTALL_DATA} ${PLIST_FILES:M*.tpl:T} \
+	    ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}/templates
 	${INSTALL_SCRIPT} ${WRKSRC}/bin/cask \
-		${STAGEDIR}${PREFIX}/bin/cask
+	    ${STAGEDIR}${PREFIX}/bin/cask
 
 .include <bsd.port.mk>

Modified: head/devel/cask/distinfo
==============================================================================
--- head/devel/cask/distinfo	Sat Dec 31 23:05:08 2016	(r430173)
+++ head/devel/cask/distinfo	Sat Dec 31 23:19:43 2016	(r430174)
@@ -1,2 +1,3 @@
-SHA256 (cask-cask-v0.7.0_GH0.tar.gz) = 78fd87ae133123ccbdc9626d0e206672a7126c2bf98438de7ffa15c877237990
-SIZE (cask-cask-v0.7.0_GH0.tar.gz) = 234675
+TIMESTAMP = 1483225573
+SHA256 (cask-cask-v0.8.1_GH0.tar.gz) = 8739ba608f23c79b3426faa8b068d5d1bc096c7305ce30b1163babd354be821c
+SIZE (cask-cask-v0.8.1_GH0.tar.gz) = 310651



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612312319.uBVNJhRa049342>