aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/howm/Makefile
blob: 5c11faf515fdd7926d48688e18630212d258222c (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
39
40
41
42
43
44
45
# $FreeBSD$

PORTNAME=   howm
PORTVERSION=    1.4.3
PORTREVISION=   2
CATEGORIES= deskutils
MASTER_SITES=   http://howm.sourceforge.jp/a/
PKGNAMESUFFIX=  ${EMACS_PKGNAMESUFFIX}

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

LICENSE=    GPLv2+
LICENSE_FILE=   ${WRKSRC}/COPYING

.if ${FLAVOR:U} != devel && ${FLAVOR:U} != devel_nox
# http://pkg.awarnach.mathstat.dal.ca/data/11i386-default/2018-05-30_07h36m11s/logs/errors/howm-emacs26-1.4.3_3.log
BROKEN=     fails to build
.endif

USES=       emacs

GNU_CONFIGURE=  yes

PORTDOCS=   *.html *.png
PORTEXAMPLES=   en/0000-00-00-000000.txt ja/0000-00-00-000000.txt

OPTIONS_DEFINE= DOCS EXAMPLES

NO_ARCH=    yes

do-install:
    cd ${WRKSRC} && ${INSTALL_DATA} *.el *.elc \
        ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}

do-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    (cd ${WRKSRC}/doc && ${INSTALL_DATA} *.html *.png ${STAGEDIR}${DOCSDIR})

do-install-EXAMPLES-on:
    @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/en ${STAGEDIR}${EXAMPLESDIR}/ja
    (cd ${WRKSRC} && ${INSTALL_DATA} ja/0* ${STAGEDIR}${EXAMPLESDIR}/ja)
    (cd ${WRKSRC} && ${INSTALL_DATA} en/0* ${STAGEDIR}${EXAMPLESDIR}/en)

.include <bsd.port.mk>