summaryrefslogtreecommitdiffstats
path: root/shells/ch/Makefile
blob: e23fe057fbade1d7b291a479aa5cadeaac42d706 (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
# Created by: conrads@cox.net
# $FreeBSD$

PORTNAME=	ch
PORTVERSION=	7.0.0
PORTREVISION=	1
CATEGORIES=	shells
MASTER_SITES=	http://www.softintegration.com/download/software/release/FreeBSD/
DISTNAME=	chstandard-${PORTVERSION}.freebsd9.0

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Embeddable C/C++ interpreter/shell

IA32_BINARY_PORT=	yes
NO_BUILD=	yes
MANDIRS=	${DATADIR}/docs/man/

DATADIR=	${PREFIX}/${PORTNAME}

SUB_FILES=	${PORTNAME}
PORTDATA=	README  bin config demos dl extern include lib license package sbin toolkit

post-extract:
	@${MKDIR} ${WRKSRC}/ch
	@${TAR} zxf ${WRKSRC}/ch.bin -C ${WRKSRC}/ch

do-install:
	@${MKDIR} ${STAGEDIR}${DATADIR}
	cd ${WRKSRC}/ch && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin

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