head	1.23;
access;
symbols
	RELEASE_6_EOL:1.22
	RELEASE_8_1_0:1.22
	old_RELEASE_7_3_0:1.19
	old_RELEASE_8_0_0:1.19
	old_RELEASE_7_2_0:1.19
	old_RELEASE_7_1_0:1.19
	old_RELEASE_6_4_0:1.19
	old_RELEASE_5_EOL:1.16
	old_RELEASE_7_0_0:1.14
	old_RELEASE_6_3_0:1.14
	old_PRE_XORG_7:1.12
	old_RELEASE_4_EOL:1.12
	old_RELEASE_6_2_0:1.8
	old_RELEASE_6_1_0:1.3
	old_RELEASE_5_5_0:1.3
	old_RELEASE_6_0_0:1.3
	old_RELEASE_5_4_0:1.3
	old_RELEASE_4_11_0:1.3
	old_RELEASE_5_3_0:1.1;
locks; strict;
comment	@# @;


1.23
date	2011.01.03.11.55.55;	author bsam;	state dead;
branches;
next	1.22;

1.22
date	2010.06.08.19.52.57;	author makc;	state Exp;
branches;
next	1.21;

1.21
date	2010.04.17.19.44.54;	author sylvio;	state Exp;
branches;
next	1.20;

1.20
date	2010.03.20.13.30.26;	author miwi;	state Exp;
branches;
next	1.19;

1.19
date	2008.08.25.21.04.41;	author miwi;	state Exp;
branches;
next	1.18;

1.18
date	2008.08.01.12.32.35;	author pav;	state Exp;
branches;
next	1.17;

1.17
date	2008.06.06.13.41.14;	author edwin;	state Exp;
branches;
next	1.16;

1.16
date	2008.04.19.17.51.36;	author miwi;	state Exp;
branches;
next	1.15;

1.15
date	2008.03.24.17.02.21;	author miwi;	state Exp;
branches;
next	1.14;

1.14
date	2007.10.08.05.27.22;	author rafan;	state Exp;
branches;
next	1.13;

1.13
date	2007.05.19.20.13.55;	author flz;	state Exp;
branches;
next	1.12;

1.12
date	2007.01.07.22.55.22;	author itetcu;	state Exp;
branches;
next	1.11;

1.11
date	2006.12.27.14.01.42;	author miwi;	state Exp;
branches;
next	1.10;

1.10
date	2006.12.23.21.12.21;	author miwi;	state Exp;
branches;
next	1.9;

1.9
date	2006.12.11.11.00.37;	author rafan;	state Exp;
branches;
next	1.8;

1.8
date	2006.10.05.19.16.59;	author stefan;	state Exp;
branches;
next	1.7;

1.7
date	2006.07.29.20.48.49;	author miwi;	state Exp;
branches;
next	1.6;

1.6
date	2006.06.13.16.05.16;	author stefan;	state Exp;
branches;
next	1.5;

1.5
date	2006.06.08.17.00.49;	author stefan;	state Exp;
branches;
next	1.4;

1.4
date	2006.05.09.20.52.22;	author edwin;	state Exp;
branches;
next	1.3;

1.3
date	2004.11.29.01.25.32;	author hq;	state Exp;
branches;
next	1.2;

1.2
date	2004.11.05.15.03.42;	author arved;	state Exp;
branches;
next	1.1;

1.1
date	2004.06.03.07.15.49;	author vs;	state Exp;
branches;
next	;


desc
@@


1.23
log
@Remove the port lang/squeak-dev since the port is broken
and the maintainer seems to loose interest
(not responding to the PR for 7+ months).

PR:		ports/144728
Submitted by:	Takeshi MUTOH <mutoh at openedu.org>
Approved by:	maintainer timeout (7+ months)
@
text
@# New ports collection makefile for:   	squeak
# Date created:        			12 October 2001
# Whom:                			roland.jesse@@gmx.net
#
# $FreeBSD: ports/lang/squeak-dev/Makefile,v 1.22 2010/06/08 19:52:57 makc Exp $
#

PORTNAME=		squeak
PORTVERSION=		3.9
PORTREVISION=		2
CATEGORIES=		lang
##################################################
MASTER_SITES=		http://www.squeakvm.org/unix/release/ \
			http://ftp.squeak.org/${PORTVERSION}/ \
			http://ftp.squeak.org/${PORTVERSION}/unix-linux/ \
			ftp://st.cs.uiuc.edu/Smalltalk/Squeak/${PORTVERSION}/ \
			ftp://st.cs.uiuc.edu/Smalltalk/Squeak/${PORTVERSION}/unix-linux/ \
			ftp://ftp.cs.uni-magdeburg.de/pub/Smalltalk/Smalltalk/Squeak/${PORTVERSION}/ \
			ftp://ftp.cs.uni-magdeburg.de/pub/Smalltalk/Smalltalk/Squeak/${PORTVERSION}/unix-linux/ \
			http://www.squeakland.org/installers/:plugin \
			http://squeakland.jp/plugin/installers/:jpplugin \
			http://squeak.610t.org/patches/:ximpatch
DISTFILES=		Squeak-${VMVERSION}.src${EXTRACT_SUFX} \
			Squeak${IMAGEVERSION}-${PATCHNUMBER}.zip \
			SqueakV3.sources.gz \
			SqueakV39.sources.gz
EXTRACT_ONLY=		Squeak-${VMVERSION}.src${EXTRACT_SUFX}

##################################################
MAINTAINER=		mutoh@@openedu.org
COMMENT=		Full Smalltalk 80 with portability to UNIX, Mac, and Windows

# Don't set USE_ZIP as this breaks EXTRACT_CMD.
BUILD_DEPENDS=		unzip:${PORTSDIR}/archivers/unzip
LIB_DEPENDS=		audio:${PORTSDIR}/audio/nas \
			ffi:${PORTSDIR}/devel/libffi

##################################################
VMVERSION=		3.9-7
IMAGEVERSION=		3.9-final
PATCHNUMBER=		7067
IMAGEDIR=		Squeak${IMAGEVERSION}-${PATCHNUMBER}

##################################################
OPTIONS+=		MPG_MMX		"MMX support (MPG plugin)" off
OPTIONS+=		NPSQUEAK	"browser plugin support" on
OPTIONS+=		RFB		"remote frame buffer support" on
OPTIONS+=		X		"X Windows support" on
OPTIONS+=		XIM		"XIM support (Implies X)" off

.include <bsd.port.pre.mk>

##################################################
XIM_PATCH=		SqueakImmX11Plugin3a${EXTRACT_SUFX}
PLUGIN_IMAGE=		SqueakPlugin.zip
JAPANESE_PLUGIN_IMAGE=		SqueakPlugin2005J2.zip

##################################################
DIST_SUBDIR=		squeak
ONLY_FOR_ARCHS=		i386
MAN1=			inisqueak.1 squeak.1
USE_GMAKE=		yes
GNU_CONFIGURE=		yes

# Plugin image must be writable, because of it copy to user's ~/.npsqueak/ and
# be updated.
SHAREMODE=		644

FILES_TO_GZIP=		${IMAGEDIR}/Squeak${IMAGEVERSION}-${PATCHNUMBER}.image \
			${IMAGEDIR}/Squeak${IMAGEVERSION}-${PATCHNUMBER}.changes

##################################################
# Configure and Build
WRKSRC=			${WRKDIR}/Squeak-${VMVERSION}
CONFIGURE_WRKSRC=	${WRKSRC}/build
BUILD_WRKSRC=		${CONFIGURE_WRKSRC}
INSTALL_WRKSRC=		${CONFIGURE_WRKSRC}
CONFIGURE_SCRIPT=	../platforms/unix/config/configure
CONFIGURE_ARGS+=	--libdir=${PREFIX}/share \
			--without-quartz \
			LDFLAGS="-L${LOCALBASE}/lib" \
			CPPFLAGS="-I${LOCALBASE}/include"

# don't pass "-s" to install to avoid trying to strip a shell script
CONFIGURE_ENV=

##################################################
# Knobs
.if defined(WITHOUT_RFB)
CONFIGURE_ARGS+=	--without-rfb
.endif

.if defined(WITHOUT_NPSQUEAK)
CONFIGURE_ARGS+=	--without-npsqueak
PLIST_NPSQUEAK=		"@@comment feature not wanted - "
.else
DISTFILES+=		SqueakPlugin.zip:plugin
WITH_NPSQUEAK=		yes
PLIST_NPSQUEAK=
FILES_TO_GZIP+=		SqueakPlugin.image
RUN_DEPENDS+=		bash:${PORTSDIR}/shells/bash
.endif

.if defined(WITHOUT_X)
CONFIGURE_ARGS+=	--without-x
PLIST_X=		"@@comment feature not wanted - "
.else
USE_XORG=		x11
USE_GL=			yes
CONFIGURE_ARGS+=	--with-x
PLIST_X=
.endif

.if defined(WITH_MPG_MMX)
CONFIGURE_ARGS+=	--enable-mpg-mmx
.endif

.if defined(WITH_XIM)
DISTFILES+=		${XIM_PATCH}:ximpatch \
			${JAPANESE_PLUGIN_IMAGE}:jpplugin
PLIST_XIM=
WITH_X=			yes
USE_ICONV=		yes
PLUGIN_IMAGE=		${JAPANESE_PLUGIN_IMAGE}
EXT_PLUGINS+=		ImmX11Plugin
.else
PLIST_XIM=		"@@comment feature not wanted - "
.endif

.ifdef (CC)
MAKE_ARGS+=		CC="${CC}"
.endif

.ifdef (CFLAGS)
MAKE_ARGS+=		CCFLAGS="${CFLAGS}"
.endif

SUB_FILES=		pkg-message
SUB_LIST=		VMVERSION=${VMVERSION}

PLIST_SUB=		IMAGEVERSION=${IMAGEVERSION}\
			PATCHNUMBER=${PATCHNUMBER}\
			VMVERSION=${VMVERSION}\
			PLIST_NPSQUEAK=${PLIST_NPSQUEAK}\
			PLIST_X=${PLIST_X} \
			PLIST_XIM=${PLIST_XIM}

##################################################
post-patch:
	@@${REINPLACE_CMD} \
		-e "s,%%LOCALBASE%%,${LOCALBASE},g" \
		${WRKSRC}/platforms/unix/npsqueak/npsqueakregister.in \
		${WRKSRC}/platforms/unix/npsqueak/npsqueakrun.in \
		${WRKSRC}/platforms/unix/npsqueak/Makefile
	@@${REINPLACE_CMD} -e "s,echo aout,echo elf," ${WRKSRC}/platforms/unix/config/configure
.if defined(WITH_XIM)
	@@cd ${WRKSRC} && \
		${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/${XIM_PATCH} ${EXTRACT_AFTER_ARGS}
# Skip first patch for plugins.ext because patch place has changed.
	@@cd ${WRKSRC} && \
		${PATCH} -S + -p0 < ImmX11.patch
.endif
# Fix external plugins
	@@${ECHO_MSG} "EXTERNAL_PLUGINS = B3DAcceleratorPlugin PseudoTTYPlugin UnixOSProcessPlugin XDisplayControlPlugin Squeak3D AioPlugin ${EXT_PLUGINS}" > ${WRKSRC}/platforms/unix/src/plugins.ext
# Fix utmp.h
.if ${OSVERSION} > 900007
	@@${REINPLACE_CMD} -e 's,<utmp.h>,<utmpx.h>,g' \
		${WRKSRC}/platforms/unix/plugins/PseudoTTYPlugin/openpty.h
.endif

##################################################
pre-configure:
	@@${MKDIR} ${CONFIGURE_WRKSRC}

##################################################
post-configure:
	@@${REINPLACE_CMD} -E \
		-e s'|^(prefix).*$$|\1=${PREFIX}|' \
		-e s'|^(docdir).*$$|\1=${DOCSDIR}|' \
		${CONFIGURE_WRKSRC}/Makefile

##################################################
post-install:
	(cd ${DISTDIR}/${DIST_SUBDIR} && ${INSTALL_DATA} SqueakV3.sources.gz ${PREFIX}/share/squeak/)
	(cd ${PREFIX}/share/squeak && ${EXTRACT_CMD} -d SqueakV3.sources.gz)
	(cd ${DISTDIR}/${DIST_SUBDIR} && ${INSTALL_DATA} SqueakV39.sources.gz ${PREFIX}/share/squeak/)
	(cd ${PREFIX}/share/squeak && ${EXTRACT_CMD} -d SqueakV39.sources.gz)
	(cd ${DISTDIR}/${DIST_SUBDIR} && ${UNZIP_CMD} -u Squeak${IMAGEVERSION}-${PATCHNUMBER}.zip -d ${WRKDIR} Squeak${IMAGEVERSION}-${PATCHNUMBER}/*)
.if defined(WITH_NPSQUEAK)
	(cd ${DISTDIR}/${DIST_SUBDIR} && ${UNZIP_CMD} -u ${PLUGIN_IMAGE} -d ${WRKDIR})
.endif
.for file in ${FILES_TO_GZIP}
	(cd ${WRKDIR} && ${GZIP_CMD} ${file} && ${INSTALL_DATA} ${file}.gz ${PREFIX}/share/squeak/)
.endfor
	(cd ${WRKDIR} && ${INSTALL_DATA} ${IMAGEDIR}/SqueakV39.sources ${PREFIX}/share/squeak/${VMVERSION})
	${INSTALL_SCRIPT} ${WRKSRC}/build/inisqueak ${PREFIX}/bin/inisqueak
	${CHMOD} 755 ${PREFIX}/bin/inisqueak
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>
@


1.22
log
@Convert LDCONFIG_DIRS to USE_LDCONFIG.

PR:		based on ports/146365
Submitted by:	Alex Kozlov <spam at rm-rf.kiev.ua>
Approved by:	maintainers timeout (two weeks)
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.21
log
@- Fix problem of utmpx.h with build in 9-current
- BUMP PORTREVISION

PR:		ports/145758
Submitted by:	Takeshi Mutoh <mutoh@@openedu.org> (maintainer)
Approved by:	itetcu (mentor, implicit)
@
text
@d10 1
a10 1
PORTREVISION=		1
a68 3
# shared Libaries are to be installed in:
LDCONFIG_DIRS=		${PREFIX}/share/squeak/${VMVERSION}

@


1.20
log
@- Mark BROKEN on HEAD: fails to build with new utmpx

Reported by:	pointyhat
@
text
@d10 1
a52 4
.if ${OSVERSION} > 900007
BROKEN=		fails to build with new utmpx
.endif

d168 5
@


1.19
log
@- Update to 3.9-7

PR:		126298
Submitted by:	Takeshi MUTOH <mutoh@@openedu.org> (maintainer)
@
text
@d52 4
@


1.18
log
@- Reorganize Makefile to only download distfiles relevant to enabled OPTIONS
- Update WWW

PR:		ports/126081
Submitted by:	Pedro F. Giffuni <pfgshield-freebsd@@yahoo.com>
Approved by:	Takeshi MUTOH <mutoh@@openedu.org> (maintainer)
@
text
@d9 1
a9 2
PORTVERSION=		3.7
PORTREVISION=	3
d20 1
a20 1
			http://www.squeakland.jp/plugin/installers/:jpplugin \
d23 1
a23 2
			Squeak${IMAGEVERSION}-${PATCHNUMBER}-basic.zip \
			Squeak${IMAGEVERSION}-${PATCHNUMBER}-full.zip \
d25 1
a25 1
			${JAPANESE_PLUGIN_IMAGE}:jpplugin
d34 2
a35 1
LIB_DEPENDS=		audio:${PORTSDIR}/audio/nas
d38 4
a41 3
VMVERSION=		3.7-7
IMAGEVERSION=		3.7
PATCHNUMBER=		5989
a46 1
OPTIONS+=		FFI		"libffi support" off
d55 1
a55 1
JAPANESE_PLUGIN_IMAGE=		SqueakPlugin2005J.zip
d71 2
a72 4
FILES_TO_GZIP=		Squeak${IMAGEVERSION}-${PATCHNUMBER}-basic.image \
			Squeak${IMAGEVERSION}-${PATCHNUMBER}-basic.changes \
			Squeak${IMAGEVERSION}-${PATCHNUMBER}-full.image \
			Squeak${IMAGEVERSION}-${PATCHNUMBER}-full.changes
a119 9
.if defined(WITH_FFI)
LIB_DEPENDS+=		ffi.2:${PORTSDIR}/devel/libffi
PLIST_FFI=
EXT_PLUGINS+=		SqueakFFIPrims
.else
CONFIGURE_ARGS+=	--without-ffi
PLIST_FFI=		"@@comment feature not wanted - "
.endif

d121 2
a122 1
DISTFILES+=		${XIM_PATCH}:ximpatch
a147 1
			PLIST_FFI=${PLIST_FFI} \
d166 1
a166 1
	@@${ECHO_MSG} "EXTERNAL_PLUGINS = B3DAcceleratorPlugin Squeak3D XDisplayControlPlugin ${EXT_PLUGINS}" > ${WRKSRC}/platforms/unix/src/plugins.ext
d183 3
a185 3
	(cd ${DISTDIR}/${DIST_SUBDIR} && ${UNZIP_CMD} -u Squeak${IMAGEVERSION}-${PATCHNUMBER}-basic.zip -d ${WRKDIR})
	(cd ${DISTDIR}/${DIST_SUBDIR} && ${UNZIP_CMD} -u Squeak${IMAGEVERSION}-${PATCHNUMBER}-full.zip -d ${WRKDIR})
	(cd ${WRKDIR} && ${INSTALL_DATA} ReadMe.txt ${PREFIX}/share/squeak/)
d192 1
@


1.17
log
@Bump portrevision due to upgrade of devel/gettext.

The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@@
Approved by:    portmgr (pav)
@
text
@d20 4
a23 4
			http://www.squeakland.org/installers/ \
			http://www.squeakland.jp/plugin/installers/ \
			http://squeak.610t.org/patches/
DISTFILES=		Squeak-${VMVERSION}.src.tar.gz \
a25 1
			SqueakPlugin.zip \
d27 2
a28 3
			${XIM_PATCH} \
			${JAPANESE_PLUGIN_IMAGE}
EXTRACT_ONLY=		Squeak-${VMVERSION}.src.tar.gz
d54 1
a54 1
XIM_PATCH=		SqueakImmX11Plugin3a.tar.gz
d102 1
d133 1
@


1.16
log
@- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
@
text
@d10 1
a10 1
PORTREVISION=		2
@


1.15
log
@- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Bump PORTREVISION

Approved by:	portmgr (xorg cleanup)
@
text
@d88 2
a89 2
			LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" \
			CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include"
a165 1
		-e "s,%%X11BASE%%,${X11BASE},g" \
@


1.14
log
@- Fix build after removal of objformat

PR:		ports/117006
Submitted by:	Takeshi MUTOH <mutoh at openedu.org> (maintainer)
@
text
@d10 1
a10 1
PORTREVISION=		1
d114 1
a114 1
USE_XLIB=		yes
@


1.13
log
@- Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
@
text
@d170 1
@


1.12
log
@- update to 3.7 [1]
- fix MASTER_SITES [1]
- use SUB_FILES from pkg-plist [2]

PR:		ports/107650 [1]
Submitted by:	Takeshi MUTOH <mutoh@@openedu.org> (maintainer) [1]
		itetcu (me) [2]
@
text
@d10 1
d115 1
@


1.11
log
@- Respect X11BASE
- Fix pkg-plist with NAS plugin
- Bump PORTREVISION

Submitted by:	Takeshi MUTOH <mutoh@@openedu.org> (maintainer via privat mail)
@
text
@d9 1
a9 2
PORTVERSION=		3.6
PORTREVISION=		7
d12 7
a18 5
MASTER_SITES=		ftp://st.cs.uiuc.edu/Smalltalk/Squeak/3.6/ \
			ftp://st.cs.uiuc.edu/Smalltalk/Squeak/3.6/unix-linux/ \
			ftp://ftp.cs.uni-magdeburg.de/pub/Smalltalk/Smalltalk/Squeak/3.6/ \
			ftp://ftp.cs.uni-magdeburg.de/pub/Smalltalk/Smalltalk/Squeak/3.6/unix-linux/ \
			http://www-sor.inria.fr/~piumarta/squeak/unix/release/ \
d37 1
a37 1
LIB_DEPENDS=		audio.2:${PORTSDIR}/audio/nas
d40 3
a42 3
VMVERSION=		3.6-3
IMAGEVERSION=		3.6
PATCHNUMBER=		5429
d55 1
a55 1
XIM_PATCH=		SqueakImmX11Plugin2c.tar.gz
d105 2
d149 2
a150 3
PKGMESSAGE=		${WRKDIR}/pkg-message
PKGMESSAGE_SUB=		PREFIX=${PREFIX} \
			VMVERSION=${VMVERSION}
d166 1
d171 1
d173 1
a173 1
		${PATCH} -p0 < ImmX11.patch
d176 1
a176 1
	@@${ECHO_MSG} "EXTERNAL_PLUGINS = B3DAcceleratorPlugin UnixOSProcessPlugin XDisplayControlPlugin ${EXT_PLUGINS}" > ${WRKSRC}/src/plugins.ext
d196 3
d202 1
a202 9
.if defined(WITH_NPSQUEAK)
	(cd ${DISTDIR}/${DIST_SUBDIR} && ${UNZIP_CMD} -u ${PLUGIN_IMAGE} -d ${WRKDIR})
	(cd ${WRKDIR} && ${INSTALL_DATA} SqueakPlugin.image ${PREFIX}/share/squeak/npsqueak.image)
.endif
	${SED}	-e 's|VERSION=3.5-5180|VERSION=${IMAGEVERSION}-${PATCHNUMBER}|' \
		-e 's|IMAGE=Squeak3.5-5180|IMAGE=Squeak${IMAGEVERSION}-${PATCHNUMBER}|' \
		-e 's|CHANGES=Squeak3.5-5180|CHANGES=Squeak${IMAGEVERSION}-${PATCHNUMBER}|' \
		${WRKSRC}/build/inisqueak > ${WRKSRC}/build/inisqueak.tmp
	${INSTALL_SCRIPT} ${WRKSRC}/build/inisqueak.tmp ${PREFIX}/bin/inisqueak
a203 2
	@@${SED} ${PKGMESSAGE_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
		< ${PKGDIR}/pkg-message > ${PKGMESSAGE}
@


1.10
log
@- Add missing NAS plugin

PR:		ports/107136
Submitted by:	Takeshi MUTOH <mutoh@@openedu.org> (maintainer)
@
text
@d10 1
a10 1
PORTREVISION=		6
d86 2
a87 1
			LDFLAGS="-L${LOCALBASE}/lib" CPPFLAGS="-I${LOCALBASE}/include"
@


1.9
log
@- Respect X11BASE by GNU_CONFIGURE + USE_XLIB
  The configure script is generated by autotools.

Reported by:	pointyhat
Approved by:	portmgr (linimon)
@
text
@d10 1
a10 1
PORTREVISION=		5
d36 1
@


1.8
log
@- Add XIM support.
- Transfer maintainership to submitter.

PR:		103474
Submitted by:	Takeshi MUTOH <mutoh@@openedu.org>
Approved by:	old maintainer
@
text
@d62 1
a62 1
HAS_CONFIGURE=		yes
@


1.7
log
@- Add OPTIONS dialog
- Split message for users from Makefile to pkg-message
- Bump PORTREVISION

PR:		ports/100894
Submitted by:	Stanislav Sedov <ssedov(at)mbsd.msk.ru>
Approved by:	krion (mentor), maintainer
@
text
@d10 1
a10 1
PORTREVISION=		4
d18 3
a20 1
			http://www.squeakland.org/installers/
d25 3
a27 1
			SqueakV3.sources.gz
d31 1
a31 1
MAINTAINER=		chris@@chrisburkert.de
d48 1
d53 5
d126 10
d153 2
a154 1
			PLIST_FFI=${PLIST_FFI}
d163 6
d194 1
a194 1
	(cd ${DISTDIR}/${DIST_SUBDIR} && ${UNZIP_CMD} -u SqueakPlugin.zip -d ${WRKDIR})
@


1.6
log
@- Fix plist by removing a superfluous '/'.
- Bump PORTREVISION.

Noticed by:	kris/pointyhat
Approved by:	arved (mentor)
@
text
@d10 1
a10 1
PORTREVISION=		3
d39 9
d82 1
a82 1
.if defined(WITH_RFB) && (${WITH_RFB}=="no")
d86 1
a86 1
.if defined(WITH_NPSQUEAK) && (${WITH_NPSQUEAK}=="no")
d94 1
a94 1
.if defined(WITH_X) && (${WITH_X}=="no")
d103 1
a103 1
.if defined(WITH_MPG_MMX) && (${WITH_MPG_MMX}=="yes")
d107 1
a107 1
.if defined(WITH_FFI) && (${WITH_FFI}=="yes")
d124 4
a134 27
.include <bsd.port.pre.mk>

##################################################
pre-everything::
	@@${ECHO_MSG} " "
	@@${ECHO_MSG} " ------------------------- Please note: -------------------------"
	@@${ECHO_MSG} " "
	@@${ECHO_MSG} "  Squeak has the following tunable options:"
	@@${ECHO_MSG} " "
	@@${ECHO_MSG} "    WITH_MPG_MMX=      [yes|no]  MMX support (MPG plugin)"
	@@${ECHO_MSG} "                            ^^   (default: disabled)"
	@@${ECHO_MSG} "    WITH_NPSQUEAK=     [yes|no]  browser plugin support"
	@@${ECHO_MSG} "                        ^^^      (default: enabled)"
	@@${ECHO_MSG} "    WITH_RFB=          [yes|no]  remote frame buffer support"
	@@${ECHO_MSG} "                        ^^^      (default: enabled)"
	@@${ECHO_MSG} "    WITH_X=            [yes|no]  X Windows support"
	@@${ECHO_MSG} "                        ^^^      (default: enabled)"
	@@${ECHO_MSG} "    WITH_FFI=          [yes|no]  FFI support"
	@@${ECHO_MSG} "                            ^^   (default: disabled)"
	@@${ECHO_MSG} " "
	@@${ECHO_MSG} "  additional make arguments"
	@@${ECHO_MSG} "    CC=<aString>"
	@@${ECHO_MSG} "    CFLAGS=<aString>"
	@@${ECHO_MSG} " "
	@@${ECHO_MSG} " ------------------ Thanks for your attention! ------------------"
	@@${ECHO_MSG} " "

d137 1
a137 1
	${REINPLACE_CMD} \
a147 2
	@@cd ${WRKSRC}/platforms/unix/npsqueak && \
		${REINPLACE_CMD} -e 's|include|include -I${X11BASE}/include|g' Makefile
d166 1
a166 1
.if defined(WITH_NPSQUEAK) && (${WITH_NPSQUEAK}=="yes")
d176 3
a178 16
	@@${ECHO_MSG} " "
	@@${ECHO_MSG} " ------------------------- Please note: -------------------------"
	@@${ECHO_MSG} " "
	@@${ECHO_MSG} "  In order to be able to make use of squeak you need to have an"
	@@${ECHO_MSG} "    image and a changes file in your working directory as well"
	@@${ECHO_MSG} "    as access to a source file. This is easy by using inisqueak."
	@@${ECHO_MSG} "    Please see the inisqueak(1) manpage for details."
	@@${ECHO_MSG} " "
	@@${ECHO_MSG} "  Make sure you have the following values in your environment"
	@@${ECHO_MSG} "    variables:"
	@@${ECHO_MSG} "    PATH:            ${PREFIX}/bin"
	@@${ECHO_MSG} "    LD_LIBRARY_PATH: ${PREFIX}/lib"
	@@${ECHO_MSG} "                     ${PREFIX}/share/squeak/${VMVERSION}"
	@@${ECHO_MSG} " "
	@@${ECHO_MSG} " ------------------ Thanks for your attention! ------------------"
	@@${ECHO_MSG} " "
@


1.5
log
@- Fix web browser plugin.
- Fix/improve FFI support.
- Pet portlint(1).

PR:		94058
Submitted by:	Takeshi MUTOH <mutoh@@openedu.org>
Approved by:	maintainer
		arved (mentor)
@
text
@d10 1
a10 1
PORTREVISION=		2
@


1.4
log
@Remove USE_REINPLACE from the categories starting with L
@
text
@a7 1
##################################################
d10 1
a10 1
PORTREVISION=		1
a11 4
VMVERSION=		3.6-3
IMAGEVERSION=		3.6
PATCHNUMBER=		5429

d18 1
a18 1

d22 1
a23 2

DIST_SUBDIR=		squeak
d28 4
a31 1
COMMENT=		Full Smalltalk 80 with portability to UNIX, Mac, and Windows.
d34 7
a40 1
ONLY_FOR_ARCHS= 	i386
d45 3
a47 2
# Don't set USE_ZIP as this breaks EXTRACT_CMD.
BUILD_DEPENDS=		unzip:${PORTSDIR}/archivers/unzip
d65 3
a67 1
			--without-quartz
d74 1
a74 1
CONFIGURE_ARGS+=        --without-rfb
d78 2
a79 2
CONFIGURE_ARGS+=        --without-npsqueak
PLIST_NPSQUEAK=         "@@comment feature not wanted - "
d81 1
d86 1
a86 1
CONFIGURE_ARGS+=        --without-x
d89 2
a90 2
USE_XLIB=              yes
CONFIGURE_ARGS+=        --with-x
d95 10
a104 1
CONFIGURE_ARGS+=        --enable-mpg-mmx
d115 1
a115 1
PLIST_SUB=              IMAGEVERSION=${IMAGEVERSION}\
d119 2
a120 1
			PLIST_X=${PLIST_X}
d139 2
d150 10
d176 2
a177 2
	(cd ${DISTDIR}/${DIST_SUBDIR} && unzip -u Squeak${IMAGEVERSION}-${PATCHNUMBER}-basic.zip -d ${WRKDIR})
	(cd ${DISTDIR}/${DIST_SUBDIR} && unzip -u Squeak${IMAGEVERSION}-${PATCHNUMBER}-full.zip -d ${WRKDIR})
d182 4
@


1.3
log
@Disable the port on sparc64 temporary until the problem has been fixed by the
developers.

PR:		74491
Submitted by:	maintainer
Reported by:	kris
@
text
@a39 1
USE_REINPLACE=		yes
@


1.2
log
@Don't depend on XLIB in case a build without X is requested

PR:		73003
Submitted by:	Chris Burkert <chris@@chrisburkert.de>
@
text
@d37 1
a37 1
ONLY_FOR_ARCHS= 	i386 sparc64
@


1.1
log
@Resurrect lang/squeak: Squeak3 is the latest stable version.

Resurrection suggested by: marcus
@
text
@d11 1
a38 1
USE_XLIB=		yes
d83 1
@

