View | Details | Raw Unified | Return to bug 42333
Collapse All | Expand All

(-)Makefile (-15 / +14 lines)
Lines 6-40 Link Here
6
#
6
#
7
7
8
PORTNAME=	hercules
8
PORTNAME=	hercules
9
PORTVERSION=	2.15
9
PORTVERSION=	2.16.5
10
PORTREVISION=	1
11
CATEGORIES=	emulators
10
CATEGORIES=	emulators
12
MASTER_SITES=	http://www.conmicro.cx/hercules/
11
MASTER_SITES=	http://www.conmicro.cx/hercules/
13
12
14
MAINTAINER=	adam@vectors.cx
13
MAINTAINER=	adam@vectors.cx
15
14
16
GNU_CONFIGURE=	yes
15
GNU_CONFIGURE=	yes
16
USE_REINPLACE=	yes
17
17
18
post-patch:
18
post-patch:
19
19
20
	@${PERL} -pi -e 's@lpthread@pthread@g' ${WRKSRC}/configure
20
	@${REINPLACE_CMD} -e 's@lpthread@pthread@g' ${WRKSRC}/configure
21
21
22
do-install:
22
do-install:
23
23
24
	@for i in hercules dasdinit dasdisup dasdload dasdls dasdpdsu \
24
.for i in hercules dasdinit dasdisup dasdload dasdls dasdpdsu \
25
		tapecopy tapemap tapesplt cckd2ckd cckdcdsk ckd2cckd \
25
	tapecopy tapemap tapesplt cckd2ckd cckdcdsk ckd2cckd \
26
		cckdcomp cckdswap hetget hetinit hetmap hetupd dmap2hrc; \
26
	cckdcomp cckdswap hetget hetinit hetmap hetupd dmap2hrc
27
	do \
27
	${INSTALL_PROGRAM} ${WRKSRC}/$i ${PREFIX}/bin
28
		${INSTALL_PROGRAM} ${WRKSRC}/$$i ${PREFIX}/bin; \
28
.endfor
29
	done
30
29
31
.if !defined(NOPORTDOCS)
30
.if !defined(NOPORTDOCS)
32
	@${MKDIR} ${PREFIX}/share/doc/hercules
31
	@${MKDIR} ${DOCSDIR}
33
	@${RM} -f ${WRKSRC}/html/Makefile*
32
.for i in ../hercules.cnf cckddasd.html hercconf.html hercfaq.html \
34
	@for i in ${WRKSRC}/hercules.cnf ${WRKSRC}/html/* ; \
33
	hercinst.html herclic.html hercload.html hercnew.html herctcp.html \
35
	do \
34
	hercules.css index.html
36
		${INSTALL_DATA} $$i ${PREFIX}/share/doc/hercules; \
35
	${INSTALL_DATA} ${WRKSRC}/html/$i ${DOCSDIR}
37
	done
36
.endfor
38
.endif
37
.endif
39
	@${CAT} pkg-message
38
	@${CAT} pkg-message

Return to bug 42333