aboutsummaryrefslogtreecommitdiff
path: root/lang/php-mode.el
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2014-06-10 04:46:10 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2014-06-10 04:46:10 +0000
commitfc8b99278de8f07e35517f7e78670ef0d6cf6cac (patch)
tree5f14b0ec366191e558100960e62860b40fb5c044 /lang/php-mode.el
parent6008176745d40460f11ec35a4c2477fa7f9960da (diff)
downloadports-fc8b99278de8f07e35517f7e78670ef0d6cf6cac.tar.gz
ports-fc8b99278de8f07e35517f7e78670ef0d6cf6cac.zip
Notes
Diffstat (limited to 'lang/php-mode.el')
-rw-r--r--lang/php-mode.el/Makefile24
-rw-r--r--lang/php-mode.el/distinfo4
-rw-r--r--lang/php-mode.el/pkg-plist6
3 files changed, 11 insertions, 23 deletions
diff --git a/lang/php-mode.el/Makefile b/lang/php-mode.el/Makefile
index e6d8175c9d6a..b3ba9275f90d 100644
--- a/lang/php-mode.el/Makefile
+++ b/lang/php-mode.el/Makefile
@@ -2,29 +2,23 @@
# $FreeBSD$
PORTNAME= php-mode.el
-PORTVERSION= 1.5.0
+PORTVERSION= 1.13.2
CATEGORIES= lang elisp
-MASTER_SITES= SF/php-mode/php-mode/${PORTVERSION}
-DISTNAME= ${PORTNAME:S/.el$//}-${PORTVERSION}
MAINTAINER= knu@FreeBSD.org
COMMENT= Emacs lisp module for the PHP language
-INFO= php-mode
+USE_GITHUB= yes
+GH_ACCOUNT= ejmr
+GH_PROJECT= ${PORTNAME:S/.el$//}
+GH_TAGNAME= v${PORTVERSION}
+GH_COMMIT= 44cf5ce
-EMACSLISPDIR= ${PREFIX}/share/emacs/site-lisp
-XEMACSLISPDIR= ${PREFIX}/lib/xemacs/site-lisp
-
-NO_STAGE= yes
-do-build:
- cd ${BUILD_WRKSRC} && makeinfo --no-split php-mode.texi
+NO_BUILD= yes
+PLIST_FILES= share/emacs/site-lisp/php-mode.el
do-install:
- ${MKDIR} ${EMACSLISPDIR}
- ${MKDIR} ${XEMACSLISPDIR}
- ${INSTALL_DATA} ${WRKSRC}/php-mode.el ${EMACSLISPDIR}/php-mode.el
- ${LN} -sf ${EMACSLISPDIR}/php-mode.el ${XEMACSLISPDIR}
- ${INSTALL_DATA} ${WRKSRC}/php-mode.info ${PREFIX}/${INFO_PATH}/
+ ${INSTALL_DATA} ${WRKSRC}/php-mode.el ${STAGEDIR}${PREFIX}/share/emacs/site-lisp/php-mode.el
post-install:
@${CAT} ${PKGMESSAGE}
diff --git a/lang/php-mode.el/distinfo b/lang/php-mode.el/distinfo
index 504332bb0228..4b1646f57fb4 100644
--- a/lang/php-mode.el/distinfo
+++ b/lang/php-mode.el/distinfo
@@ -1,2 +1,2 @@
-SHA256 (php-mode-1.5.0.tar.gz) = d8b179941141994d9cc9e77d244e91df3b4d845f4c6e1818eeefc59bc97bcead
-SIZE (php-mode-1.5.0.tar.gz) = 42687
+SHA256 (php-mode.el-1.13.2.tar.gz) = b0f17855db26142e5725b165a9fff656c5d3056412e0b82536a67579c5fa9f24
+SIZE (php-mode.el-1.13.2.tar.gz) = 47619
diff --git a/lang/php-mode.el/pkg-plist b/lang/php-mode.el/pkg-plist
deleted file mode 100644
index b888c61a7013..000000000000
--- a/lang/php-mode.el/pkg-plist
+++ /dev/null
@@ -1,6 +0,0 @@
-share/emacs/site-lisp/php-mode.el
-@exec mkdir -p %D/lib/xemacs/site-lisp
-@exec ln -sf %D/%F %D/lib/xemacs/site-lisp/php-mode.el
-@unexec rm %D/lib/xemacs/site-lisp/php-mode.el 2>/dev/null || true
-@dirrmtry lib/xemacs/site-lisp
-@dirrmtry lib/xemacs