summaryrefslogtreecommitdiff
path: root/converters/chmview/Makefile
blob: 031e786326a9c1730e1c1e20e043ffa89170b188 (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
# New ports collection makefile for:	chmview
# Date created:				Apr 19 2003
# Whom:					Alex Semenyaka <alex@rinet.ru>
#
# $FreeBSD$
#

PORTNAME=	chmview
PORTVERSION=	1.0
PORTREVISION=	2
CATEGORIES=	converters textproc
MASTER_SITES=	http://trexinc.narod.ru/myprogs/files/
DISTNAME=	chmview

MAINTAINER=	alexs@snark.rinet.ru
COMMENT=	Extractor from .chm files

USE_ZIP=	yes

WRKSRC=		${WRKDIR}/src
PLIST_FILES=	bin/chmview
PORTDOCS=	chmformat.html

pre-patch:
	@${SH} ${FILESDIR}/convert.sh ${WRKSRC}
	@${CP} ${FILESDIR}/Makefile ${WRKSRC}

do-install:
	@${INSTALL_PROGRAM} ${WRKSRC}/chmview ${PREFIX}/bin/
.if !defined(NOPORTDOCS)
	-@${MKDIR} ${DOCSDIR}
	@${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}/
.endif

.include <bsd.port.mk>