Skip site navigation (1)Skip section navigation (2)
Date:      Sun,  7 Apr 2002 21:20:47 +0200 (CEST)
From:      Miguel Mendez <flynn@energyhq.homeip.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/36856: Maintainer Update: Fix some issues in lang/dice
Message-ID:  <20020407192047.9648D3FC41@energyhq.homeip.net>

next in thread | raw e-mail | index | archive | help

>Number:         36856
>Category:       ports
>Synopsis:       Maintainer Update: Fix some issues in lang/dice
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 07 12:20:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Miguel Mendez
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
>Environment:
System: FreeBSD energyhq.homeip.net 4.5-STABLE FreeBSD 4.5-STABLE #0: Sun Apr 7 15:11:22 CEST 2002 root@energyhq.homeip.net:/storage2/obj/storage2/src/sys/ENERGYHQ i386


	
>Description:
I missed some needed files, added to the install process. Fix PORTDOCS in pkg-plist
and make dice fully hier(7) compliant. Bump PORTREVISION to reflect this.
	
>How-To-Repeat:
	
>Fix:

	

--- dice.diff begins here ---
diff -ruN dice.old/Makefile dice/Makefile
--- dice.old/Makefile	Fri Feb 22 15:06:02 2002
+++ dice/Makefile	Sun Apr  7 21:11:42 2002
@@ -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 @@
 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 @@
 			${INSTALL_PROGRAM} $$i ${PREFIX}/bin; \
 		done
 
+		@${MKDIR} -p ${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 -ruN dice.old/pkg-plist dice/pkg-plist
--- dice.old/pkg-plist	Fri Feb 22 15:06:02 2002
+++ dice/pkg-plist	Sun Apr  7 21:11:01 2002
@@ -16,84 +16,96 @@
 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
--- dice.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020407192047.9648D3FC41>