summaryrefslogtreecommitdiff
path: root/lang/cu-prolog/Makefile
blob: 63804db3788064b62a417aff217b238a4bbccb15 (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
# $NetBSD: Makefile,v 1.4 2001/04/14 21:43:47 jtb Exp $
# FreeBSD Id: Makefile,v 1.2 2000/04/12 06:18:03 obrien Exp

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

MAINTAINER=	packages@netbsd.org
COMMENT=	Experimental constraint logic programming language

DIST_SUBDIR=	${DISTNAME}
NO_WRKSUBDIR=	#defined
WRKSRC=		${WRKDIR}/src
MAKEFILE=	makefile
ALL_TARGET=	cup

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/cup3 ${PREFIX}/bin/cuprolog
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/cu-prolog
	@for f in ${WRKDIR}/README* ${WRKDIR}/COPYRIGHT*		\
	${WRKDIR}/CHANGES ${WRKDIR}/doc/*.dvi ${WRKDIR}/doc/*.doc; do	\
	i="${INSTALL_DATA} $$f ${PREFIX}/share/doc/cu-prolog/";		\
	${ECHO} $$i; $$i;						\
	done
	${INSTALL_DATA_DIR} ${PREFIX}/share/examples/cu-prolog
	@for f in ${WRKDIR}/sample/*; do				\
	i="${INSTALL_DATA} $$f ${PREFIX}/share/examples/cu-prolog/";	\
	${ECHO} $$i; $$i;						\
	done

.include "../../mk/bsd.pkg.mk"