47 lines
1.3 KiB
Makefile
47 lines
1.3 KiB
Makefile
# $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"
|