aboutsummaryrefslogtreecommitdiff
path: root/lang/clips/Makefile
blob: 2e193da39dfdec497f8c6a711c3145c536ababef (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
PORTNAME=	clips
PORTVERSION=	6.30
CATEGORIES=	lang
MASTER_SITES=	SF/clipsrules/CLIPS/${PORTVERSION}/
DISTNAME=	clips_core_source_630

MAINTAINER=	wen@FreeBSD.org
COMMENT=	Tool for Building Expert Systems
WWW=		https://sourceforge.net/projects/clipsrules/

LICENSE=	PD
LICENSE_FILE=	${WRKDIR}/${DISTNAME}/readme.txt

USES=		zip

WRKSRC=		${WRKDIR}/${DISTNAME}/core
MAKEFILE=	makefile.gcc
ALL_TARGET=	clips

PLIST_FILES=	bin/clips

post-extract:
	${CP} ${WRKDIR}/${DISTNAME}/makefiles/${MAKEFILE} ${WRKSRC}/

post-patch:
	${REINPLACE_CMD} -e 's#gcc #${CC} ${CFLAGS} #g' ${WRKSRC}/${MAKEFILE}

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/clips ${STAGEDIR}${PREFIX}/bin/

.include <bsd.port.mk>