summaryrefslogtreecommitdiff
path: root/textproc/helpdeco/Makefile
blob: 9f61da6b90811d1e87e3136b932016f5f077563e (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# $NetBSD: Makefile,v 1.9 2003/12/24 09:53:50 jmmv Exp $
#

DISTNAME=		helpdc21
PKGNAME=		helpdeco-21
PKGREVISION=		1
WRKSRC=			${WRKDIR}
CATEGORIES=		textproc
MASTER_SITES=		${MASTER_SITE_SIMTEL:=win95/winhelp/}
EXTRACT_SUFX=		.zip

MAINTAINER=		ben@NetBSD.org
HOMEPAGE=		http://www.simtel.net/pub/pd/23694.shtml
COMMENT=		Windows .hlp to .rtf converter

LICENSE=		no-commercial-use

# from ftp://ftp.simtel.net/pub/simtelnet/MIRRORS.TXT
MASTER_SITE_SIMTEL+=	ftp://ftp.cdrom.com/pub/simtelnet/ \
			ftp://ftp.datacanyon.com/pub/simtelnet/ \
			ftp://ftp.digital.com/pub/micro/pc/simtelnet/ \
			ftp://ftp.usg.edu/pub/mirrors/simtelnet/ \
			ftp://uiarchive.cso.uiuc.edu/pub/systems/pc/simtelnet/ \
			ftp://ftp.bu.edu/pub/mirrors/simtelnet/ \
			ftp://simtel.klondyke.net/simtel/ \
			ftp://simtelnet.galilei.com/pub/simtelnet/ \
			ftp://ftp.rge.com/pub/systems/simtelnet/ \
			ftp://ftp.ou.edu/pub/simtelnet/ \
			ftp://ftp.orst.edu/pub/simtelnet/ \
			ftp://ftphost.simtel.net/pub/simtelnet/ \
			ftp://mirrors.aol.com/pub/simtelnet/ \
			ftp://ftp.simtel.net/pub/simtelnet/ \
			ftp://ftp.telusplanet.net/pub/simtelnet/ \
			ftp://ftp.crc.ca/pub/systems/ibmpc/simtelnet/ \
			ftp://ftp.direct.ca/pub/simtelnet/

post-extract:
	${RM} -f ${WRKSRC}/*exe
	${CP} ${FILESDIR}/helpdeco-de.txt \
		${FILESDIR}/helpdeco-en.txt \
		${FILESDIR}/compat.h \
		${FILESDIR}/compat.c \
		${WRKSRC}
	${SED} "s|PREFIX|${PREFIX}|" \
		<${FILESDIR}/Makefile \
		>${WRKSRC}/Makefile

do-install:
	${CP} ${WRKSRC}/splitmrb \
		${WRKSRC}/zapres \
		${WRKSRC}/helpdeco \
		${PREFIX}/bin
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/helpdeco
	${CP} ${WRKSRC}/helpdeco-de.txt \
		${WRKSRC}/helpdeco-en.txt \
		${WRKSRC}/helpfile.txt \
		${PREFIX}/share/doc/helpdeco

.include "../../mk/bsd.pkg.mk"