aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/etask/Makefile
blob: c07e2cdab76a24b84677c2f6fa2b9b1f423cd531 (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
# Created by: Dryice Liu <dryice@liu.com.cn>
# $FreeBSD$

PORTNAME=   etask
PORTVERSION=    0.3.91
PORTREVISION=   8
CATEGORIES= deskutils elisp
MASTER_SITES=   http://members.chello.at/rene.weichselbaum/ \
        http://dryice.name/computer/FreeBSD/distfiles/

MAINTAINER= dryice@dryice.name
COMMENT=    Manage your projects or tasks within GNU Emacs

RUN_DEPENDS=    xpdf:${PORTSDIR}/graphics/xpdf

USE_EMACS=  yes
USE_GHOSTSCRIPT_RUN=    yes
USE_TEX=    latex dvipsk

LISPDIR=    ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
WRKSRC=     ${WRKDIR}/${DISTNAME}a

PORTDOCS=   etasktut.pdf gpl.txt README

do-build:
    cd ${WRKSRC}; ${EMACS_NAME} -batch -no-site-file\
            --eval="(add-to-list 'load-path \"${WRKSRC}\")"\
            -f batch-byte-compile *.el

do-install:
    ${MKDIR} ${STAGEDIR}${LISPDIR}
.for i in *.el *.elc
    ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${LISPDIR}
.endfor

    ${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${PORTDOCS}
    ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor

.include <bsd.port.mk>