aboutsummaryrefslogtreecommitdiffstats
path: root/devel/rpm-spec-mode.el/Makefile
blob: f1b4572d86a2cae454f260da4af28d13baeaea03 (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
37
# New ports collection makefile for:    rpm-spec-mode.el
# Date created:             24 Apr 2006
# Whom:                 Max N. Boyarov <m.boyarov@gmail.com>
#
# $FreeBSD$

PORTNAME=   rpm-spec-mode.el
PORTVERSION=    0.12
CATEGORIES= devel
MASTER_SITES=   http://www.xemacs.org/~stigb/
DISTNAME=   rpm-spec-mode.el
EXTRACT_SUFX=   # empty
EXTRACT_ONLY=   # empty

MAINTAINER= m.boyarov@gmail.com
COMMENT=    RPM spec file editing commands for [X]Emacs

NO_WRKSUBDIR=   yes
NO_BUILD=   yes

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

PLIST_FILES=    share/emacs/site-lisp/${PORTNAME} \
        lib/xemacs/site-lisp/${PORTNAME}
PLIST_DIRS= lib/xemacs/site-lisp lib/xemacs

do-install:
    ${MKDIR} ${EMACSLISPDIR}
    ${MKDIR} ${XEMACSLISPDIR}
    ${INSTALL_DATA} ${DISTDIR}/${DISTNAME} ${EMACSLISPDIR}/${PORTNAME}
    ${LN} -sf ${EMACSLISPDIR}/${PORTNAME} ${XEMACSLISPDIR}/${PORTNAME}

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

.include <bsd.port.mk>