aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/hhm/Makefile
blob: c2f8b1dbaf79f7bfedbc061f32c253e66ab140e2 (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
# New ports collection makefile for:    hhm
# Date created:    27 February 2005
# Whom:        Sergey Skvortsov <skv@protey.ru>
#
# $FreeBSD$
#

PORTNAME=   hhm
PORTVERSION=    0.1
PORTREVISION=   1
CATEGORIES= textproc
MASTER_SITES=   http://bonedaddy.net/pabs3/hhm/
DISTNAME=   ${PORTNAME}-${PORTVERSION}-src

MAINTAINER= skv@FreeBSD.org
COMMENT=    HTML Help Maker

LIB_DEPENDS=    lzxcomp.1:${PORTSDIR}/archivers/liblzxcomp

USE_BZIP2=  yes
WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}
MAKE_ENV=   PREFIX=${PREFIX}
USE_REINPLACE=  yes

PLIST_FILES=    bin/hhm

post-patch:
    ${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.prev
    ${CP} ${FILESDIR}/Makefile ${WRKSRC}/Makefile
    ${REINPLACE_CMD} -e 's!^typedef unsigned.*$$!!' ${WRKSRC}/hhm.c

.include <bsd.port.mk>