summaryrefslogtreecommitdiff
path: root/lang/cu-prolog/Makefile
blob: 69e5acb4c01846fd19a0caba393209726e6059b9 (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
# $NetBSD: Makefile,v 1.1.1.1 2001/02/24 15:38:48 jtb Exp $
# New ports collection makefile for:	cu-Prolog
# Date created:		7 July 1999
# Whom:			Issei Suzuki <issei@jp.FreeBSD.ORG>
#
# FreeBSD: ports/lang/cu-prolog/Makefile,v 1.2 2000/04/12 06:18:03 obrien Exp
#

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=	issei@jp.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>