aboutsummaryrefslogtreecommitdiffstats
path: root/lang/cu-prolog
diff options
context:
space:
mode:
authorshaun <shaun@FreeBSD.org>2006-09-14 02:09:15 +0800
committershaun <shaun@FreeBSD.org>2006-09-14 02:09:15 +0800
commite22ab1be9b07bf16db0dc2cd7a0490e09c9691a4 (patch)
tree55d6e4156342c2aedaf7f2ab588d8dc8f0fde81f /lang/cu-prolog
parentd53ce9d85fbdb5142e1ad48690e1ba6a5ceb9297 (diff)
downloadfreebsd-ports-gnome-e22ab1be9b07bf16db0dc2cd7a0490e09c9691a4.tar.gz
freebsd-ports-gnome-e22ab1be9b07bf16db0dc2cd7a0490e09c9691a4.tar.zst
freebsd-ports-gnome-e22ab1be9b07bf16db0dc2cd7a0490e09c9691a4.zip
- Add mirror.
- Use PORTDOCS and EXAMPLESDIR macros. - Pass maintainership to submitter. PR: ports/100634 Submitted by: Stanislav Sedov <ssedov@mbsd.msk.ru>
Diffstat (limited to 'lang/cu-prolog')
-rw-r--r--lang/cu-prolog/Makefile16
-rw-r--r--lang/cu-prolog/pkg-plist30
2 files changed, 18 insertions, 28 deletions
diff --git a/lang/cu-prolog/Makefile b/lang/cu-prolog/Makefile
index 7d860aadf08a..954acc0a53c1 100644
--- a/lang/cu-prolog/Makefile
+++ b/lang/cu-prolog/Makefile
@@ -8,28 +8,30 @@
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
+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= ports@FreeBSD.org
+MAINTAINER= ssedov@mbsd.msk.ru
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} ${PREFIX}/share/examples/cu-prolog
- ${INSTALL_DATA} ${WRKDIR}/sample/* ${PREFIX}/share/examples/cu-prolog
+ ${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKDIR}/sample/* ${EXAMPLESDIR}
.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/cu-prolog
+ ${MKDIR} ${DOCSDIR}
.for i in ${MYPORTDOCS}
- ${INSTALL_DATA} ${WRKDIR}/$i ${PREFIX}/share/doc/cu-prolog
+ ${INSTALL_DATA} ${WRKDIR}/$i ${DOCSDIR}
.endfor
.endif
diff --git a/lang/cu-prolog/pkg-plist b/lang/cu-prolog/pkg-plist
index 55ce4226d3ad..4e1983160e45 100644
--- a/lang/cu-prolog/pkg-plist
+++ b/lang/cu-prolog/pkg-plist
@@ -1,22 +1,10 @@
bin/cuprolog
-share/doc/cu-prolog/CHANGES
-share/doc/cu-prolog/COPYRIGHT
-share/doc/cu-prolog/COPYRIGHT.j
-share/doc/cu-prolog/INSTALL
-share/doc/cu-prolog/INSTALL.j
-share/doc/cu-prolog/README
-share/doc/cu-prolog/README.j
-share/doc/cu-prolog/cu3eman.dvi
-share/doc/cu-prolog/cu3man.dvi
-share/doc/cu-prolog/newpred_e.doc
-share/doc/cu-prolog/newpred_j.doc
-@dirrm share/doc/cu-prolog
-share/examples/cu-prolog/README
-share/examples/cu-prolog/bagof.p
-share/examples/cu-prolog/eisele.p
-share/examples/cu-prolog/hpsg.p
-share/examples/cu-prolog/jpsg.p
-share/examples/cu-prolog/kasper.p
-share/examples/cu-prolog/marcus.p
-share/examples/cu-prolog/memap.p
-@dirrm share/examples/cu-prolog
+%%EXAMPLESDIR%%/README
+%%EXAMPLESDIR%%/bagof.p
+%%EXAMPLESDIR%%/eisele.p
+%%EXAMPLESDIR%%/hpsg.p
+%%EXAMPLESDIR%%/jpsg.p
+%%EXAMPLESDIR%%/kasper.p
+%%EXAMPLESDIR%%/marcus.p
+%%EXAMPLESDIR%%/memap.p
+@dirrm %%EXAMPLESDIR%%