pkgsrc/lang/squeak/Makefile
skrll ec3aee670c Update automake to 1.4-p5 (1.5 is available)
Include a bugfix for lisp_LISP independently discovered by me that has
been pulled up to the automake-1-4 branch of automake cvs.

Changes are:
New in 1.4-p5:
* Allow AM_PROG_LIBTOOL again.
* Diagnose AC_CONFIG_HEADERS the same as AC_CONFIG_HEADER.
* Display distributed file list correctly in usage message.
* Allow numbers in macro names.
* Bugfixes.

New in 1.4-p4:
* Deal with configure.ac as well as configure.in -- this time for real!
* The version numbering system now allows three point version numbers,
  such as 1.4.4, without thinking they are alpha release numbers.

New in 1.4-p3:
* Deal with configure.ac as well as configure.in.
* Don't complain if `version.texi' is included in multiple places.

New in 1.4-p2:
* Deal with AC_CONFIG_FILES from autoconf-2.50.
* Improvements to f77 support.
* DESTDIR now works for script targets.
* distcheck-hook works correctly.

New in 1.4-p1:
* The version numbering system now allows fork identifiers (such as
  the p1 in this version of automake).
* Cope gracefully with various versions of libtool which may or may not
  require ltconfig, ltcf-c.sh, ltcf-cxx.sh or ltcf-gcj.sh.
* Bugfixes.
2001-08-26 10:32:18 +00:00

55 lines
1.6 KiB
Makefile

# $NetBSD: Makefile,v 1.17 2001/08/26 10:32:22 skrll Exp $
#
DISTNAME= Squeak-3.0
PKGNAME= squeak-3.0
CATEGORIES= lang
MASTER_SITES= ftp://st.cs.uiuc.edu/Smalltalk/Squeak/3.0/platform-independent/
MASTER_SITES+= ftp://st.cs.uiuc.edu/Smalltalk/Squeak/3.0/unix-linux/src/
MASTER_SITES+= ftp://ftp.inria.fr/INRIA/Projects/SOR/users/piumarta/squeak/
DISTFILES= ReadMe.txt.gz Squeak3.0-3552.zip SqueakV3.sources.gz
DISTFILES+= ${DISTNAME}-src${EXTRACT_SUFX}
MAINTAINER= fredb@netbsd.org
HOMEPAGE= http://www.squeak.org/
COMMENT= Full Smalltalk 80 with portability to UN*X, Mac, and Windows
BUILD_DEPENDS+= autoconf-2.13:../../devel/autoconf
BUILD_DEPENDS+= automake>=1.4:../../devel/automake
BUILD_DEPENDS+= unzip-*:../../archivers/unzip
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_X11= yes
CPPFLAGS+= -DNETBSD_OSS_HACK
DIST_SUBDIR= squeak
EXTRACT_ONLY= ${DISTNAME}-src${EXTRACT_SUFX}
WRKSRC= ${WRKDIR}/Squeak-3.0/build
CONFIGURE_SCRIPT= ${WRKSRC}/../src/unix/configure
LTCONFIG_OVERRIDE= ${WRKSRC}/../src/unix/ltconfig
post-extract:
.for f in ReadMe.txt.gz SqueakV3.sources.gz
${GZCAT} ${DISTDIR}/${DIST_SUBDIR}/${f} > ${WRKDIR}/${f:C/.gz//}
.endfor
cd ${WRKDIR} && \
${LOCALBASE}/bin/unzip ${DISTDIR}/${DIST_SUBDIR}/Squeak3.0-3552.zip
${MKDIR} ${WRKSRC}
pre-configure:
cd ${WRKSRC}/../src/unix; \
${LOCALBASE}/bin/aclocal && ${LOCALBASE}/bin/autoconf
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/squeak/3.0
.for f in ReadMe.txt SqueakV3.sources
${INSTALL_DATA} ${WRKDIR}/${f} ${PREFIX}/share/squeak/
.endfor
.for f in Squeak3.0.changes Squeak3.0.image
${INSTALL_DATA} ${WRKDIR}/${f} \
${PREFIX}/share/squeak/3.0/${f}
.endfor
.include "../../mk/bsd.pkg.mk"