aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/hercules/Makefile
blob: 132fc159a601e312c2ea8e05d1ba19437040f343 (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
# Created by: Miguel Mendez <flynn@energyhq.homeip.net>
# $FreeBSD$

PORTNAME=   hercules
PORTVERSION=    3.10
PORTREVISION=   1
CATEGORIES= emulators
MASTER_SITES=   http://downloads.hercules-390.eu/

MAINTAINER= ports@FreeBSD.org
COMMENT=    System/370, ESA/390, and z/Architecture Emulator

# :keepla because port uses lt_dlopen
USES=       iconv libtool:keepla perl5 shebangfix
SHEBANG_FILES=  util/bldlvlck
USE_LDCONFIG=   yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --disable-optimization

OPTIONS_DEFINE=     DOCS

.include <bsd.port.options.mk>

post-patch:
    @${REINPLACE_CMD} -e \
        's|SOL_TCP|IPPROTO_TCP|g' ${WRKSRC}/hscutl.c
    @${REINPLACE_CMD} -e \
        '/^pkgdatadir/s|=.*|= $$(docdir)|' ${WRKSRC}/html/Makefile.in

.include <bsd.port.mk>