aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorsada <sada@FreeBSD.org>2002-05-17 03:29:10 +0800
committersada <sada@FreeBSD.org>2002-05-17 03:29:10 +0800
commit505ddbaa92839ef19f4e8d0bebafb07074a48ad6 (patch)
tree55da19f76abdac3b035e604859f0fa36b3a61b02 /lang
parenta9b0f363cf1471ca027242099490c1ee15d99fce (diff)
downloadfreebsd-ports-gnome-505ddbaa92839ef19f4e8d0bebafb07074a48ad6.tar.gz
freebsd-ports-gnome-505ddbaa92839ef19f4e8d0bebafb07074a48ad6.tar.zst
freebsd-ports-gnome-505ddbaa92839ef19f4e8d0bebafb07074a48ad6.zip
- reflect PREFIX variable.
- install some config files. - enable NOPORTDOCS option. PR: ports/36856 Submitted by: maintainer
Diffstat (limited to 'lang')
-rw-r--r--lang/dice/Makefile18
-rw-r--r--lang/dice/pkg-plist174
2 files changed, 109 insertions, 83 deletions
diff --git a/lang/dice/Makefile b/lang/dice/Makefile
index acbda341fc9f..c545525f7389 100644
--- a/lang/dice/Makefile
+++ b/lang/dice/Makefile
@@ -7,6 +7,7 @@
PORTNAME= dice
PORTVERSION= 3.15
+PORTREVISION= 1
CATEGORIES= lang devel
MASTER_SITES= http://www.obviously.com/dice/
DISTNAME= ${PORTNAME}-rel-${PORTVERSION}
@@ -15,6 +16,13 @@ EXTRACT_SUFX= .tgz
MAINTAINER= flynn@energyhq.homeip.net
post-patch:
+ @for i in ${WRKSRC}/lib/version.h ${WRKSRC}/include/lib/version.h \
+ ${WRKSRC}/src/dcpp/main.c ${WRKSRC}/src/dcc/defs.h \
+ ${WRKSRC}/src/dlink/main.c; \
+ do \
+ ${PERL} -pi -e 's@/home/dice@${PREFIX}/share/dice@g' $$i; \
+ done
+
@${CP} ${FILESDIR}/Makefile ${WRKSRC}
do-install:
@@ -23,11 +31,17 @@ do-install:
${INSTALL_PROGRAM} $$i ${PREFIX}/bin; \
done
+ @${MKDIR} ${PREFIX}/share/dice/config
+ @for i in ${WRKSRC}/config/* ; \
+ do \
+ ${INSTALL_DATA} $$i ${PREFIX}/share/dice/config; \
+ done
+
.if !defined(NOPORTDOCS)
- @${MKDIR} ${PREFIX}/share/doc/dice
+ @${MKDIR} ${DOCSDIR}
@for i in ${WRKSRC}/doc/* ; \
do \
- ${INSTALL_DATA} $$i ${PREFIX}/share/doc/dice; \
+ ${INSTALL_DATA} $$i ${DOCSDIR}; \
done
.endif
diff --git a/lang/dice/pkg-plist b/lang/dice/pkg-plist
index 356622202f6d..7c5e97faaba3 100644
--- a/lang/dice/pkg-plist
+++ b/lang/dice/pkg-plist
@@ -16,84 +16,96 @@ bin/libtos
bin/makeproto
bin/romable
bin/uprev
-share/doc/dice/BEGINNER_README.DOC
-share/doc/dice/COMPILER.DOC
-share/doc/dice/EXTENSIONS.DOC
-share/doc/dice/GERMAN_DISTRIBUTOR.DOC
-share/doc/dice/KnownBugs
-share/doc/dice/REGARGS.DOC
-share/doc/dice/REGISTER.DOC
-share/doc/dice/TUTORIAL
-share/doc/dice/UTILITIES.DOC
-share/doc/dice/_MAIN.DOC
-share/doc/dice/alib.doc
-share/doc/dice/ame.doc
-share/doc/dice/amiga.doc
-share/doc/dice/ascii_chart.doc
-share/doc/dice/assert.doc
-share/doc/dice/autorefs.doc
-share/doc/dice/bintohex.doc
-share/doc/dice/c_quickref.doc
-share/doc/dice/cat.doc
-share/doc/dice/chap08.doc
-share/doc/dice/chap12.doc
-share/doc/dice/compat.doc
-share/doc/dice/ctype.doc
-share/doc/dice/das.doc
-share/doc/dice/dc1.doc
-share/doc/dice/dcc.doc
-share/doc/dice/dcpp.doc
-share/doc/dice/dice_commands.doc
-share/doc/dice/dice_debugger.doc
-share/doc/dice/dice_extras.doc
-share/doc/dice/dice_libraries.doc
-share/doc/dice/dicehelp.doc
-share/doc/dice/dlink.doc
-share/doc/dice/dmake.doc
-share/doc/dice/dme.doc
-share/doc/dice/dme.refs
-share/doc/dice/dobj.doc
-share/doc/dice/dprof.doc
-share/doc/dice/dsearch.doc
-share/doc/dice/du.doc
-share/doc/dice/dupdate.doc
-share/doc/dice/dynamic.doc
-share/doc/dice/errors.doc
-share/doc/dice/expand.doc
-share/doc/dice/extra.doc
-share/doc/dice/extras.doc
-share/doc/dice/fd.doc
-share/doc/dice/fdtoinline.doc
-share/doc/dice/fdtolib.doc
-share/doc/dice/float.doc
-share/doc/dice/flush.doc
-share/doc/dice/head.doc
-share/doc/dice/istrip.doc
-share/doc/dice/lbmake.doc
-share/doc/dice/lhex.doc
-share/doc/dice/libmake.doc
-share/doc/dice/libtos.doc
-share/doc/dice/loadabs.c
-share/doc/dice/loadabs.doc
-share/doc/dice/loadfile.doc
-share/doc/dice/makeproto.doc
-share/doc/dice/memoration.doc
-share/doc/dice/memory.doc
-share/doc/dice/methodology.doc
-share/doc/dice/mkrefs
-share/doc/dice/mungwall.doc
-share/doc/dice/owner.doc
-share/doc/dice/quickref.doc
-share/doc/dice/rexx.doc
-share/doc/dice/romable.doc
-share/doc/dice/setjmp.doc
-share/doc/dice/signal.doc
-share/doc/dice/stdio.doc
-share/doc/dice/stdlib.doc
-share/doc/dice/string.doc
-share/doc/dice/sushi.doc
-share/doc/dice/time.doc
-share/doc/dice/tstat.doc
-share/doc/dice/unix.doc
-share/doc/dice/wedge.doc
-@dirrm share/doc/dice
+%%PORTDOCS%%share/doc/dice/BEGINNER_README.DOC
+%%PORTDOCS%%share/doc/dice/COMPILER.DOC
+%%PORTDOCS%%share/doc/dice/EXTENSIONS.DOC
+%%PORTDOCS%%share/doc/dice/GERMAN_DISTRIBUTOR.DOC
+%%PORTDOCS%%share/doc/dice/KnownBugs
+%%PORTDOCS%%share/doc/dice/REGARGS.DOC
+%%PORTDOCS%%share/doc/dice/REGISTER.DOC
+%%PORTDOCS%%share/doc/dice/TUTORIAL
+%%PORTDOCS%%share/doc/dice/UTILITIES.DOC
+%%PORTDOCS%%share/doc/dice/_MAIN.DOC
+%%PORTDOCS%%share/doc/dice/alib.doc
+%%PORTDOCS%%share/doc/dice/ame.doc
+%%PORTDOCS%%share/doc/dice/amiga.doc
+%%PORTDOCS%%share/doc/dice/ascii_chart.doc
+%%PORTDOCS%%share/doc/dice/assert.doc
+%%PORTDOCS%%share/doc/dice/autorefs.doc
+%%PORTDOCS%%share/doc/dice/bintohex.doc
+%%PORTDOCS%%share/doc/dice/c_quickref.doc
+%%PORTDOCS%%share/doc/dice/cat.doc
+%%PORTDOCS%%share/doc/dice/chap08.doc
+%%PORTDOCS%%share/doc/dice/chap12.doc
+%%PORTDOCS%%share/doc/dice/compat.doc
+%%PORTDOCS%%share/doc/dice/ctype.doc
+%%PORTDOCS%%share/doc/dice/das.doc
+%%PORTDOCS%%share/doc/dice/dc1.doc
+%%PORTDOCS%%share/doc/dice/dcc.doc
+%%PORTDOCS%%share/doc/dice/dcpp.doc
+%%PORTDOCS%%share/doc/dice/dice_commands.doc
+%%PORTDOCS%%share/doc/dice/dice_debugger.doc
+%%PORTDOCS%%share/doc/dice/dice_extras.doc
+%%PORTDOCS%%share/doc/dice/dice_libraries.doc
+%%PORTDOCS%%share/doc/dice/dicehelp.doc
+%%PORTDOCS%%share/doc/dice/dlink.doc
+%%PORTDOCS%%share/doc/dice/dmake.doc
+%%PORTDOCS%%share/doc/dice/dme.doc
+%%PORTDOCS%%share/doc/dice/dme.refs
+%%PORTDOCS%%share/doc/dice/dobj.doc
+%%PORTDOCS%%share/doc/dice/dprof.doc
+%%PORTDOCS%%share/doc/dice/dsearch.doc
+%%PORTDOCS%%share/doc/dice/du.doc
+%%PORTDOCS%%share/doc/dice/dupdate.doc
+%%PORTDOCS%%share/doc/dice/dynamic.doc
+%%PORTDOCS%%share/doc/dice/errors.doc
+%%PORTDOCS%%share/doc/dice/expand.doc
+%%PORTDOCS%%share/doc/dice/extra.doc
+%%PORTDOCS%%share/doc/dice/extras.doc
+%%PORTDOCS%%share/doc/dice/fd.doc
+%%PORTDOCS%%share/doc/dice/fdtoinline.doc
+%%PORTDOCS%%share/doc/dice/fdtolib.doc
+%%PORTDOCS%%share/doc/dice/float.doc
+%%PORTDOCS%%share/doc/dice/flush.doc
+%%PORTDOCS%%share/doc/dice/head.doc
+%%PORTDOCS%%share/doc/dice/istrip.doc
+%%PORTDOCS%%share/doc/dice/lbmake.doc
+%%PORTDOCS%%share/doc/dice/lhex.doc
+%%PORTDOCS%%share/doc/dice/libmake.doc
+%%PORTDOCS%%share/doc/dice/libtos.doc
+%%PORTDOCS%%share/doc/dice/loadabs.c
+%%PORTDOCS%%share/doc/dice/loadabs.doc
+%%PORTDOCS%%share/doc/dice/loadfile.doc
+%%PORTDOCS%%share/doc/dice/makeproto.doc
+%%PORTDOCS%%share/doc/dice/memoration.doc
+%%PORTDOCS%%share/doc/dice/memory.doc
+%%PORTDOCS%%share/doc/dice/methodology.doc
+%%PORTDOCS%%share/doc/dice/mkrefs
+%%PORTDOCS%%share/doc/dice/mungwall.doc
+%%PORTDOCS%%share/doc/dice/owner.doc
+%%PORTDOCS%%share/doc/dice/quickref.doc
+%%PORTDOCS%%share/doc/dice/rexx.doc
+%%PORTDOCS%%share/doc/dice/romable.doc
+%%PORTDOCS%%share/doc/dice/setjmp.doc
+%%PORTDOCS%%share/doc/dice/signal.doc
+%%PORTDOCS%%share/doc/dice/stdio.doc
+%%PORTDOCS%%share/doc/dice/stdlib.doc
+%%PORTDOCS%%share/doc/dice/string.doc
+%%PORTDOCS%%share/doc/dice/sushi.doc
+%%PORTDOCS%%share/doc/dice/time.doc
+%%PORTDOCS%%share/doc/dice/tstat.doc
+%%PORTDOCS%%share/doc/dice/unix.doc
+%%PORTDOCS%%share/doc/dice/wedge.doc
+share/dice/config/Self.DMakefile
+share/dice/config/Self1.DMakefile
+share/dice/config/Self2.DMakefile
+share/dice/config/Self2X.DMakefile
+share/dice/config/Self3.DMakefile
+share/dice/config/Self3X.DMakefile
+share/dice/config/VMake.config
+share/dice/config/dice.errors
+share/dice/config/setlev1.rexx
+share/dice/config/setlev2.rexx
+%%PORTDOCS%%@dirrm share/doc/dice
+@dirrm share/dice/config
+@dirrm share/dice