[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / cross / freemint-mintbin

File: [cvs.NetBSD.org] / pkgsrc / cross / freemint-mintbin / Makefile (download)

Revision 1.3, Wed Oct 31 11:37:35 2018 UTC (3 years, 1 month ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, HEAD
Changes since 1.2: +4 -1 lines

freemint-mintbin: Assume strerror() is available.

# $NetBSD: Makefile,v 1.3 2018/10/31 11:37:35 jperkin Exp $

DISTNAME=	mintbin-CVS-20110527
PKGNAME=	cross-freemint-${DISTNAME:S/CVS-//}
PKGREVISION=	1
CATEGORIES=	cross
MASTER_SITES=	http://vincent.riviere.free.fr/soft/m68k-atari-mint/archives/

MAINTAINER=	ryoon@NetBSD.org
HOMEPAGE=	http://vincent.riviere.free.fr/soft/m68k-atari-mint/
COMMENT=	Cross FreeMiNT utility for FreeMiNT
LICENSE=	gnu-gpl-v2

FREEMINT_PREFIX=	${PREFIX}/cross-freemint

USE_TOOLS+=	makeinfo
GNU_CONFIGURE=	yes

OBJDIR=			../build
CONFIGURE_DIRS=		${OBJDIR}
CONFIGURE_SCRIPT=	${WRKSRC}/configure
GNU_CONFIGURE_PREFIX=	${FREEMINT_PREFIX}

CONFIGURE_ARGS+=	--target=m68k-atari-mint
INFO_FILES=		yes

# Used in macro tests but never actually set anywhere
CPPFLAGS+=		-DHAVE_STRERROR=1

INSTALLATION_DIRS+=	bin ${FREEMINT_PREFIX}

pre-configure:
	${RUN} cd ${WRKSRC} && ${MKDIR} ${OBJDIR}
	${CP} ${PKGSRCDIR}/mk/gnu-config/config.guess ${WRKSRC}
	${CP} ${PKGSRCDIR}/mk/gnu-config/config.sub ${WRKSRC}


post-install:
	for f in m68k-atari-mint-arconv		m68k-atari-mint-cnm \
		 m68k-atari-mint-csize		m68k-atari-mint-flags \
		 m68k-atari-mint-mintbin	m68k-atari-mint-stack \
		 m68k-atari-mint-cstrip		m68k-atari-mint-symex ; do \
		${LN} -s ${FREEMINT_PREFIX}/m68k-atari-mint/bin/"$$f" \
		  ${DESTDIR}${PREFIX}/bin/"$$f" || exit 1; \
	done

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