[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.2, Mon Sep 16 04:47:42 2013 UTC (6 years, 9 months ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3
Changes since 1.1: +2 -1 lines

Fix install error and install a locale file.
Pointed out by joerg@, Thank you.

# $NetBSD: Makefile,v 1.2 2013/09/16 04:47:42 ryoon 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

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"