aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/libvm68k/Makefile
blob: 928b45c5345d69692df601546a498f386a6f882b (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
# ex:ts=8
# Ports collection makefile for:    libvm68k
# Date created:         Jun 4, 2002
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   libvm68k
PORTVERSION=    1.0.6
PORTREVISION=   1
CATEGORIES= emulators
MASTER_SITES=   ftp://ftp.hypercore.co.jp/vx68k/${PORTNAME}-${PORTVERSION:R}/

MAINTAINER= ports@FreeBSD.org
COMMENT=    M68000 virtual machine library

USE_LIBTOOL_VER=13
USE_REINPLACE=  yes
INSTALLS_SHLIB= yes

post-patch:
    @${REINPLACE_CMD} -e '/^#define _POSIX_C_SOURCE 199506L/d' \
        ${WRKSRC}/memory.cc ${WRKSRC}/memory_map.cc ${WRKSRC}/version.cc
    ${REINPLACE_CMD} -e '/^LTLIBRELEASE=/d' \
        -e '/^LIBTOOL=/s^\$$(top_builddir)/libtool^${LIBTOOL}^' \
        ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}

.include <bsd.port.mk>