summaryrefslogtreecommitdiff
path: root/shells/ch/Makefile
blob: 31f79f0e54bc5e2763384000e2f77417fa3818e2 (plain) (blame)
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=	conrads@cox.net
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>