[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / lang / squeak-vm

File: [cvs.NetBSD.org] / pkgsrc / lang / squeak-vm / Makefile (download)

Revision 1.38, Thu Jan 19 18:52:15 2017 UTC (6 years, 8 months ago) by agc
Branch: MAIN
Changes since 1.37: +3 -3 lines

Convert all occurrences (353 by my count) of

	MASTER_SITES= 	site1 \
			site2

style continuation lines to be simple repeated

	MASTER_SITES+= site1
	MASTER_SITES+= site2

lines. As previewed on tech-pkg. With thanks to rillig for fixing pkglint
accordingly.

# $NetBSD: Makefile,v 1.38 2017/01/19 18:52:15 agc Exp $
#

SQUEAK_VERSION=	4.10.2.2614

DISTNAME=	Squeak-${SQUEAK_VERSION}-src
PKGNAME=	squeak-vm-${SQUEAK_VERSION:C/-/./}
PKGREVISION=	11
CATEGORIES=	lang
MASTER_SITES=	http://squeakvm.org/unix/release/
MASTER_SITES+=	http://ftp.squeak.org/3.10/unix-linux/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://squeakvm.org/unix/
COMMENT=	Full Smalltalk 80 with portability to UN*X, Mac, and Windows
LICENSE=	2-clause-bsd

DIST_SUBDIR=		squeak
CHECK_PORTABILITY_SKIP=	unix/config/configure	# not used anymore

USE_LANGUAGES=	c c++
USE_CMAKE=	yes
USE_TOOLS=	gzip

CONFIGURE_DIRS=	build
CMAKE_ARG_PATH=	../unix
#CMAKE_ARGS+=	-DCMAKE_VERBOSE_MAKEFILE:BOOL=TRUE	# debug
CMAKE_ARGS+=	-DPKGMANDIR=${PKGMANDIR}
CMAKE_ARGS+=	-DVM_HOST=${MACHINE_GNU_PLATFORM:Q} -DVM_VERSION=${SQUEAK_VERSION}
CMAKE_ARGS+=	-DDEVOSSAUDIO=${DEVOSSAUDIO}

LDFLAGS.SunOS+=	-liconv -lsocket -lnsl -lm

# UUID routines are in libc:
BUILDLINK_TRANSFORM.NetBSD+=	rm:-luuid

PLIST_SUBST=	SQUEAK_VERSION=${SQUEAK_VERSION}

.include "options.mk"

PLIST_VARS+=	oss

pre-configure:
	cd ${WRKSRC} && ${MKDIR} ${CONFIGURE_DIRS}

.include "../../audio/libvorbis/buildlink3.mk"
.include "../../audio/speex/buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/libffi/buildlink3.mk"
.include "../../graphics/cairo/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../graphics/glu/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"
.if $(OSS_TYPE) != "none"
PLIST.oss=	yes
CMAKE_ARGS+=	-DLIBOSSAUDIO=${LIBOSSAUDIO:S/-l//}
.endif
.include "../../mk/bsd.pkg.mk"