summaryrefslogtreecommitdiffstats
path: root/lang/pharo/Makefile
blob: 48fce23a769d46a8b10b8d5caef766cd96d1ecae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Created by: mutoh@openedu.org
# $FreeBSD$

PORTNAME=	pharo
DISTVERSION=	1.4
PORTREVISION=	1
CATEGORIES=	lang
MASTER_SITES=	https://gforge.inria.fr/frs/download.php/30620/
DISTNAME=	Pharo-${DISTVERSION}-${SVNVERSION}
EXTRACT_ONLY=	Pharo-${DISTVERSION}-${SVNVERSION}.zip

MAINTAINER=	mutoh@openedu.org
COMMENT=	Pharo is Smalltalk-inspired environment

LICENSE=	APACHE20 MIT
LICENSE_COMB=	multi

RUN_DEPENDS=	squeak:lang/squeak

SVNVERSION=	14438

NO_BUILD=	yes
USES=		zip

DIST_SUBDIR=	squeak

FILES_DIR=	${WRKDIR}/Pharo-${DISTVERSION}-${SVNVERSION}/
FILES_TO_INSTALL=Pharo-${DISTVERSION}.image \
		Pharo-${DISTVERSION}.changes \
		PharoV10.sources
PLIST_FILES=	lib/squeak/Pharo-${DISTVERSION}.image \
		lib/squeak/Pharo-${DISTVERSION}.changes \
		lib/squeak/PharoV10.sources

do-install:
	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/squeak
	${INSTALL_DATA} ${FILES_TO_INSTALL:S,^,${FILES_DIR}/,} ${STAGEDIR}${PREFIX}/lib/squeak

.include <bsd.port.mk>
OpenPOWER on IntegriCloud