aboutsummaryrefslogtreecommitdiff
path: root/lang/php-mode.el
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2008-03-25 10:34:19 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2008-03-25 10:34:19 +0000
commit8bb535502bc6f221d410029a6953ec0557be84f4 (patch)
tree185f41a20aca5bc5bab72d3701e0c23f983a4ed9 /lang/php-mode.el
parent4e43f11301eceeb683755fe37d25795bd589380c (diff)
downloadports-8bb535502bc6f221d410029a6953ec0557be84f4.tar.gz
ports-8bb535502bc6f221d410029a6953ec0557be84f4.zip
Notes
Diffstat (limited to 'lang/php-mode.el')
-rw-r--r--lang/php-mode.el/Makefile14
-rw-r--r--lang/php-mode.el/distinfo6
2 files changed, 13 insertions, 7 deletions
diff --git a/lang/php-mode.el/Makefile b/lang/php-mode.el/Makefile
index 10c3a3c8c84c..bd8fb5c77459 100644
--- a/lang/php-mode.el/Makefile
+++ b/lang/php-mode.el/Makefile
@@ -6,27 +6,33 @@
#
PORTNAME= php-mode.el
-PORTVERSION= 1.2.0
+PORTVERSION= 1.4.0
CATEGORIES= lang elisp
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=php-mode
DISTNAME= ${PORTNAME:S/.el$//}-${PORTVERSION}
-EXTRACT_SUFX= .tgz
MAINTAINER= knu@FreeBSD.org
COMMENT= Emacs lisp module for the PHP language
-NO_BUILD= yes
-NO_WRKSUBDIR= yes
+INFO= php-mode
EMACSLISPDIR= ${PREFIX}/share/emacs/site-lisp
XEMACSLISPDIR= ${PREFIX}/lib/xemacs/site-lisp
+do-build:
+.if !defined(NOPORTDOCS)
+ cd ${BUILD_WRKSRC} && makeinfo --no-split php-mode.texi
+.endif
+
do-install:
${MKDIR} ${EMACSLISPDIR}
${MKDIR} ${XEMACSLISPDIR}
${INSTALL_DATA} ${WRKSRC}/php-mode.el ${EMACSLISPDIR}/php-mode.el
${LN} -sf ${EMACSLISPDIR}/php-mode.el ${XEMACSLISPDIR}
+.if !defined(NOPORTDOCS)
+ ${INSTALL_DATA} ${WRKSRC}/php-mode.info ${PREFIX}/${INFO_PATH}/
+.endif
post-install:
@${CAT} ${PKGMESSAGE}
diff --git a/lang/php-mode.el/distinfo b/lang/php-mode.el/distinfo
index d31e7f31c3ec..0b46cd88ae86 100644
--- a/lang/php-mode.el/distinfo
+++ b/lang/php-mode.el/distinfo
@@ -1,3 +1,3 @@
-MD5 (php-mode-1.2.0.tgz) = c4ee5e37db3921d6a9aa6d7c417ccadb
-SHA256 (php-mode-1.2.0.tgz) = b388d1976bbcf13708eb3eaf339930e9b671ef7bb86fdecdde5f3b9e18889e9c
-SIZE (php-mode-1.2.0.tgz) = 14301
+MD5 (php-mode-1.4.0.tar.gz) = b6f969215d8e1ebcca3e247fac20f2c7
+SHA256 (php-mode-1.4.0.tar.gz) = 0be8ace918756b0fe7cd30a1c0b574bf599b1b87450b54111f2722044d4ce36c
+SIZE (php-mode-1.4.0.tar.gz) = 35672