aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/htmlize.el/Makefile
blob: 64451bc0fde7d0b5e917ac3448c38f394441064a (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
# New ports collection makefile for:    htmlize.el
# Date created:             15 January 2004
# Whom:                 Marc van Woerkom <marc.vanwoerkom@fernuni-hagen.de>
#
# $FreeBSD$
#

PORTNAME=   htmlize.el
PORTVERSION=    1.30
CATEGORIES= textproc elisp
MASTER_SITES=   http://fly.srk.fer.hr/~hniksic/emacs/
DISTNAME=   ${PORTNAME}
EXTRACT_SUFX=

MAINTAINER= marc.vanwoerkom@fernuni-hagen.de
COMMENT=    Emacs major mode to create HTML files from Emacs buffers (in colour!)

USE_EMACS=  yes
EMACS_PORT_NAME?=   emacs21
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.* ${LISPDIR}

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

.include <bsd.port.mk>