2002-06-21 22:06:20 +02:00
|
|
|
# New ports collection makefile for: php-mode.el
|
|
|
|
# Date created: 21 June 2002
|
|
|
|
# Whom: Dmitry Sivachenko <demon@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= php-mode.el
|
2008-11-05 14:36:36 +01:00
|
|
|
PORTVERSION= 1.5.0
|
2002-06-21 22:06:20 +02:00
|
|
|
CATEGORIES= lang elisp
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR=php-mode
|
2005-11-14 13:25:43 +01:00
|
|
|
DISTNAME= ${PORTNAME:S/.el$//}-${PORTVERSION}
|
2002-06-21 22:06:20 +02:00
|
|
|
|
2005-11-14 13:25:43 +01:00
|
|
|
MAINTAINER= knu@FreeBSD.org
|
2003-02-20 20:00:52 +01:00
|
|
|
COMMENT= Emacs lisp module for the PHP language
|
2002-06-21 22:06:20 +02:00
|
|
|
|
2008-03-25 11:34:19 +01:00
|
|
|
INFO= php-mode
|
2002-06-21 22:06:20 +02:00
|
|
|
|
|
|
|
EMACSLISPDIR= ${PREFIX}/share/emacs/site-lisp
|
|
|
|
XEMACSLISPDIR= ${PREFIX}/lib/xemacs/site-lisp
|
|
|
|
|
2008-03-25 11:34:19 +01:00
|
|
|
do-build:
|
|
|
|
cd ${BUILD_WRKSRC} && makeinfo --no-split php-mode.texi
|
|
|
|
|
2002-06-21 22:06:20 +02:00
|
|
|
do-install:
|
|
|
|
${MKDIR} ${EMACSLISPDIR}
|
|
|
|
${MKDIR} ${XEMACSLISPDIR}
|
2004-03-10 11:38:22 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/php-mode.el ${EMACSLISPDIR}/php-mode.el
|
2002-06-21 22:06:20 +02:00
|
|
|
${LN} -sf ${EMACSLISPDIR}/php-mode.el ${XEMACSLISPDIR}
|
2008-03-25 11:34:19 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/php-mode.info ${PREFIX}/${INFO_PATH}/
|
2002-06-21 22:06:20 +02:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|