summaryrefslogtreecommitdiff
path: root/textproc/helpdeco/Makefile
blob: 0a94a9eca804578e57551c825dd9f87c6813a54f (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
60
# $NetBSD: Makefile,v 1.10 2004/01/20 12:26:49 agc Exp $
#

DISTNAME=		helpdc21
PKGNAME=		helpdeco-21
PKGREVISION=		1
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

WRKSRC=			${WRKDIR}

# 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"