aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/htmlize.el/Makefile
blob: 6c148266660a9e9fab20f4f22363f61ff5635f89 (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
# Created by: Marc van Woerkom <marc.vanwoerkom@fernuni-hagen.de>
# $FreeBSD$

PORTNAME=   htmlize.el
PORTVERSION=    1.39
PORTREVISION=   6
CATEGORIES= textproc elisp
MASTER_SITES=   http://fly.srk.fer.hr/~hniksic/emacs/
PKGNAMESUFFIX=  ${EMACS_PKGNAMESUFFIX}
DISTNAME=   ${PORTNAME}.cgi
EXTRACT_SUFX=
DIST_SUBDIR=    repacked

MAINTAINER= ports@FreeBSD.org
COMMENT=    Emacs major mode to create HTML files from Emacs buffers (in colour!)

BROKEN=     unfetchable

USES=       emacs

NO_WRKSUBDIR=   yes
EXTRACT_CMD=    ${CP}
EXTRACT_BEFORE_ARGS=
EXTRACT_AFTER_ARGS= ${WRKSRC}/htmlize.el

PLIST_FILES=    ${EMACS_SITE_LISPDIR}/htmlize.el \
        ${EMACS_SITE_LISPDIR}/htmlize.elc

LISPDIR=    ${PREFIX}/${EMACS_SITE_LISPDIR}

do-build:
    cd ${WRKSRC}; ${EMACS_CMD} -batch -q -f batch-byte-compile htmlize.el

do-install:
    ${INSTALL_DATA} ${WRKSRC}/htmlize.* ${STAGEDIR}${LISPDIR}

.include <bsd.port.mk>