fcb7da800b
USE_TOOLS and any of "autoconf", "autoconf213", "automake" or "automake14". Also, we don't need to call the auto* tools via ${ACLOCAL}, ${AUTOCONF}, etc., since the tools framework takes care to symlink the correct tool to the correct name, so we can just use aclocal, autoconf, etc.
57 lines
1.8 KiB
Makefile
57 lines
1.8 KiB
Makefile
# $NetBSD: Makefile,v 1.28 2005/06/01 20:08:00 jlam Exp $
|
|
#
|
|
|
|
DISTNAME= Squeak-3.6-3
|
|
PKGNAME= squeak-3.6.3
|
|
CATEGORIES= lang
|
|
MASTER_SITES= http://www-sor.inria.fr/~piumarta/squeak/unix/release/
|
|
DISTFILES= Squeak-3.6-3.src.tar.gz Squeak-3.6-5429.image.tar.gz
|
|
DISTFILES+= Squeak-3.sources.tar.gz
|
|
|
|
MAINTAINER= fredb@NetBSD.org
|
|
HOMEPAGE= http://www-sor.inria.fr/~piumarta/squeak/
|
|
COMMENT= Full Smalltalk 80 with portability to UN*X, Mac, and Windows
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= automake14
|
|
|
|
AUTOCONF_REQD= 2.57
|
|
AUTOMAKE_REQD= 1.4.6
|
|
|
|
BUILD_DIRS= ${WRKDIR}/build
|
|
CONFIGURE_DIRS= ${WRKDIR}/build
|
|
CONFIGURE_SCRIPT= ${WRKSRC}/platforms/unix/config/configure
|
|
DIST_SUBDIR= squeak
|
|
INSTALLATION_DIRS= ${WRKDIR}/build
|
|
|
|
ONLY_FOR_PLATFORM= NetBSD-*-*
|
|
|
|
SQUEAK_CHANGES= ${DISTNAME}/usr/local/lib/squeak/Squeak3.6-5429.changes.gz
|
|
SQUEAK_IMAGE= ${DISTNAME}/usr/local/lib/squeak/Squeak3.6-5429.image.gz
|
|
SQUEAK_SOURCES= Squeak-3/usr/local/lib/squeak/SqueakV3.sources
|
|
|
|
pre-configure:
|
|
cd ${WRKSRC}/platforms/unix/config \
|
|
&& ${SETENV} PATH=${PREFIX}/bin:${PATH} ${MAKE} configure
|
|
${MKDIR} ${CONFIGURE_DIRS}
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKDIR}/${SQUEAK_CHANGES} ${PREFIX}/lib/squeak/
|
|
${INSTALL_DATA} ${WRKDIR}/${SQUEAK_IMAGE} ${PREFIX}/lib/squeak/
|
|
${INSTALL_DATA} ${WRKDIR}/${SQUEAK_SOURCES} ${PREFIX}/lib/squeak/
|
|
cd ${PREFIX}/lib/squeak \
|
|
&& ${LN} -s ${SQUEAK_CHANGES:C/.*\///} squeak.changes.gz \
|
|
&& ${LN} -s ${SQUEAK_IMAGE:C/.*\///} squeak.image.gz
|
|
${INSTALL_SCRIPT} ${INSTALLATION_DIRS}/inisqueak ${PREFIX}/bin/
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${MACHINE_ARCH} == i386
|
|
CONFIGURE_ARGS+= --enable-mpg-mmx
|
|
.endif
|
|
|
|
.include "../../audio/nas/buildlink3.mk"
|
|
.include "../../mk/ossaudio.buildlink3.mk"
|
|
.include "../../mk/x11.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|