aboutsummaryrefslogtreecommitdiffstats
path: root/lang/php-mode.el/Makefile
blob: 230bec0f27ceb7acfda9f934f297e2d036f25b35 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# New ports collection makefile for:    php-mode.el
# Date created:             21 June 2002
# Whom:                 Dmitry Sivachenko <demon@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   php-mode.el
PORTVERSION=    1.0.2
CATEGORIES= lang elisp
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=php-mode
DISTNAME=   php-mode-102.el
EXTRACT_SUFX=   # empty
EXTRACT_ONLY=   # empty

MAINTAINER= ports@FreeBSD.org

PORTCOMMENT=    Emacs lisp module for the PHP language

NO_BUILD=   yes
NO_WRKSUBDIR=   yes

EMACSLISPDIR=   ${PREFIX}/share/emacs/site-lisp
XEMACSLISPDIR=  ${PREFIX}/lib/xemacs/site-lisp

do-install:
    ${MKDIR} ${EMACSLISPDIR}
    ${MKDIR} ${XEMACSLISPDIR}
    ${INSTALL_DATA} ${_DISTDIR}/${DISTNAME} ${EMACSLISPDIR}/php-mode.el
    ${LN} -sf ${EMACSLISPDIR}/php-mode.el ${XEMACSLISPDIR}

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>