The attached diff updates node-typscript to 0.9.0.1. It also fixes a problem where tsc had the wrong permissions and wasn't executable. Is the NPM_VERSION and PKGNAME the correct way to handle this update? pkg_add doesn't seem to support the 0.9.0-1 scheme.
Release announcement can be found here [0]. Tested on amd64. oks? [0] http://blogs.msdn.com/b/typescript/archive/2013/06/28/announcing-typescript-0-9-0-1.aspx -- James Turner
Index: Makefile =================================================================== RCS file: /cvs/ports/lang/node-typescript/Makefile,v retrieving revision 1.1.1.1 diff -u -p -u -p -r1.1.1.1 Makefile --- Makefile 19 Jun 2013 22:37:38 -0000 1.1.1.1 +++ Makefile 2 Jul 2013 01:14:35 -0000 @@ -2,8 +2,9 @@ COMMENT = typed superset of JavaScript -NPM_VERSION = 0.9.0 +NPM_VERSION = 0.9.0-1 NPM_NAME = typescript +PKGNAME = node-typescript-0.9.0.1 CATEGORIES = lang MAINTAINER = James Turner <[email protected]> @@ -24,6 +25,7 @@ do-install: mkdir ${PREFIX}/lib/node_modules; \ mv ${WRKDIR}/node_modules/${NPM_NAME} ${PREFIX}/lib/node_modules; \ chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/lib/node_modules; \ + chmod 755 ${PREFIX}/lib/node_modules/${NPM_NAME}/bin/tsc ln -s ${TRUEPREFIX}/lib/node_modules/${NPM_NAME}/bin/tsc ${PREFIX}/bin/tsc .include <bsd.port.mk> Index: distinfo =================================================================== RCS file: /cvs/ports/lang/node-typescript/distinfo,v retrieving revision 1.1.1.1 diff -u -p -u -p -r1.1.1.1 distinfo --- distinfo 19 Jun 2013 22:37:38 -0000 1.1.1.1 +++ distinfo 2 Jul 2013 01:14:35 -0000 @@ -1,2 +1,2 @@ -SHA256 (typescript-0.9.0.tgz) = mOS7MmUhgxpJIyA6ZHZbOYO8bwW5Zto6ZHGawd4z//8= -SIZE (typescript-0.9.0.tgz) = 620263 +SHA256 (typescript-0.9.0-1.tgz) = eXb6jGET9eCJEhEdC7tsiC5A2hw+eu39I2slEV7GBT8= +SIZE (typescript-0.9.0-1.tgz) = 621267
