summaryrefslogtreecommitdiffstats
path: root/converters/chmview/Makefile
blob: 49696271029252508d3b150455467a6a1a834d8f (plain)
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:	chmview
# Date created:				Apr 19 2003
# Whom:					Alex Semenyaka <alex@rinet.ru>
#
# $FreeBSD$
#

PORTNAME=	chmview
PORTVERSION=	1.0
PORTREVISION=	1
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

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

do-install:
	-@${MKDIR} ${PREFIX}/bin
	@${INSTALL_PROGRAM} ${WRKSRC}/chmview ${PREFIX}/bin/chmview
	-@${MKDIR} ${DOCSDIR}
	@${INSTALL_DATA} ${WRKSRC}/chmformat.html ${DOCSDIR}

.include <bsd.port.mk>
OpenPOWER on IntegriCloud