aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/howm/Makefile
blob: 709a5e2b1c0a7bcd7c458b7872018b7e7268fa55 (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
38
# New ports collection makefile for:    howm
# Date created:     28 Dec 2003
# Whom:         Jun Kuriyama <kuriyama@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   howm
PORTVERSION=    1.1.0.4
CATEGORIES= deskutils
MASTER_SITES=   http://howm.sourceforge.jp/a/

MAINTAINER= kuriyama@FreeBSD.org
COMMENT=    Write fragmentarily and read collectively

EMACS_PORT_NAME?=   emacs21
ELISP=      action-lock.el \
        howm-font-lock.el howm-menu.el howm-mode.el howm-view.el

do-build:
.for i in ${ELISP}
    cd ${WRKSRC}; ${EMACS_CMD} -q -batch -L . -f batch-byte-compile ${i}
.endfor

do-install:
    cd ${WRKSRC}; ${INSTALL_DATA} *.el *.elc ${PREFIX}/${EMACS_SITE_LISPDIR}
    ${MKDIR} ${EXAMPLESDIR}/ja ${EXAMPLESDIR}/en
    cd ${WRKSRC}; ${INSTALL_DATA} ja/* ${EXAMPLESDIR}/ja
    cd ${WRKSRC}; ${INSTALL_DATA} en/* ${EXAMPLESDIR}/en
    ${MKDIR} ${DOCSDIR}
    cd ${WRKSRC}; ${INSTALL_DATA} *.html *.png ${DOCSDIR}

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

.include <bsd.port.mk>