summaryrefslogtreecommitdiff
path: root/lang/cu-prolog/Makefile
blob: 14eb5ec5077dd2da5909b87b3740504ba71a0841 (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
33
34
35
# New ports collection makefile for:	cu-Prolog
# Date created:		7 July 1999
# Whom:			Issei Suzuki <issei@jp.FreeBSD.ORG>
#
# $FreeBSD$
#

PORTNAME=	cu-prolog
PORTVERSION=	3.94
CATEGORIES=	lang
MASTER_SITES=	ftp://ftp.icot.or.jp/ifs/kbms-clp/unix/cuprolog/
DISTFILES=	${DISTNAME}.tar.gz cupdoc.tar.gz
DISTNAME=	cupsrc

MAINTAINER=	ports@FreeBSD.org

WRKSRC=		${WRKDIR}/src
MAKEFILE=	makefile
ALL_TARGET=	cup
PORTDOCS=	CHANGES COPYRIGHT COPYRIGHT.j INSTALL INSTALL.j README \
		README.j doc/cu3eman.dvi doc/cu3man.dvi doc/newpred_e.doc \
		doc/newpred_j.doc

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/cup3 ${PREFIX}/bin/cuprolog
	${MKDIR} ${PREFIX}/share/examples/cu-prolog
	${INSTALL_DATA} ${WRKDIR}/sample/* ${PREFIX}/share/examples/cu-prolog
.if !defined(NOPORTDOCS)
	${MKDIR} ${PREFIX}/share/doc/cu-prolog
.for i in ${PORTDOCS}
	${INSTALL_DATA} ${WRKDIR}/$i ${PREFIX}/share/doc/cu-prolog
.endfor
.endif

.include <bsd.port.mk>