aboutsummaryrefslogtreecommitdiffstats
path: root/lang/cu-prolog/Makefile
blob: 6b6e4ff5672c1508e20a18d2fa72c7ee8959bf2d (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
36
37
38
# 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/ \
        http://mbsd.msk.ru/dist/
DISTNAME=   cupsrc
DISTFILES=  ${DISTNAME}${EXTRACT_SUFX} cupdoc${EXTRACT_SUFX}

MAINTAINER= stas@FreeBSD.org
COMMENT=    Experimental constraint logic programming language

WRKSRC=     ${WRKDIR}/src
MAKEFILE=   makefile
ALL_TARGET= cup
PORTDOCS=   *
MYPORTDOCS= 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} ${EXAMPLESDIR}
    ${INSTALL_DATA} ${WRKDIR}/sample/* ${EXAMPLESDIR}
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
.for i in ${MYPORTDOCS}
    ${INSTALL_DATA} ${WRKDIR}/$i ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>