Skip site navigation (1)Skip section navigation (2)
Date:      Mon,  5 Jun 2000 15:40:38 -0700 (PDT)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/19046: Update port: misc/videotext to 0.6.19991029 (fix ports/16732)
Message-ID:  <20000605224038.BDEFF37B917@hub.freebsd.org>

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

>Number:         19046
>Category:       ports
>Synopsis:       Update port: misc/videotext to 0.6.19991029 (fix ports/16732)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 05 15:50:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.0-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 0.6.19991029
- freebsd.org -> FreeBSD.org

This PR supersedes ports/16732(left alone for about 4 months).

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/misc/videotext/Makefile misc/videotext/Makefile
--- /usr/ports/misc/videotext/Makefile	Sat Apr 15 00:28:59 2000
+++ misc/videotext/Makefile	Tue Jun  6 07:27:13 2000
@@ -1,33 +1,25 @@
-# New ports collection makefile for:	vbidecode
+# New ports collection makefile for:	videotext
 # Date created:		Tue June 8 15:11:00 BST 1999
 # Whom:			Roger Hardiman <roger@freebsd.org>
 #
 # $FreeBSD: ports/misc/videotext/Makefile,v 1.7 2000/04/14 08:46:59 asami Exp $
 #
 
-PORTNAME=	videotext
-PORTVERSION=	0.6.971023
+PORTTNAME=	videotext
+PORTVERSION=	0.6.19991029
 CATEGORIES=	misc
 MASTER_SITES=	http://elektra.e-technik.uni-ulm.de/~mbuck/download/
 
-MAINTAINER=	roger@freebsd.org
+MAINTAINER=	roger@FreeBSD.org
 
 LIB_DEPENDS=	png.3:${PORTSDIR}/graphics/png \
 		xview.3:${PORTSDIR}/x11-toolkits/xview
 
 USE_X_PREFIX=	yes
 USE_GMAKE=	yes
-MAN1=		videotext.1 tunerctl.1
+MAN1=		tunerctl.1 videotext.1 vtxget.1
 
-.include <bsd.port.pre.mk>
+FONTSDIR=	lib/X11/fonts/local
+PLIST_SUB=	FONTSDIR=${FONTSDIR}
 
-pre-install:
-.if !exists(${X11BASE}/lib/X11/fonts/local)
-	@${ECHO} "*********************************************************"
-	@${ECHO} "Please update your XFree86 to version 3.3.3 or later"
-	@${ECHO} "or add ${X11BASE}/lib/X11/fonts/local to your font path"
-	@${ECHO} "in /etc/XF86Config."
-	@${ECHO} "*********************************************************"
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -urN /usr/ports/misc/videotext/files/md5 misc/videotext/files/md5
--- /usr/ports/misc/videotext/files/md5	Wed Jun  9 02:48:38 1999
+++ misc/videotext/files/md5	Wed Feb 16 00:45:31 2000
@@ -1 +1 @@
-MD5 (videotext-0.6.971023.tar.gz) = 2a6d760d007d0049040b0de0aa43a7a6
+MD5 (videotext-0.6.19991029.tar.gz) = dfff7f5f3a5ad3353d5c47154d521bb2
diff -urN /usr/ports/misc/videotext/patches/patch-ba misc/videotext/patches/patch-ba
--- /usr/ports/misc/videotext/patches/patch-ba	Fri Feb 18 11:10:35 2000
+++ misc/videotext/patches/patch-ba	Wed Feb 16 03:24:41 2000
@@ -1,75 +1,147 @@
-*** Makefile.orig	Wed Oct 22 18:55:44 1997
---- Makefile	Thu Feb 17 16:07:45 2000
-***************
-*** 22,35 ****
-  
-  # Set the installation-directories & permissions here
-  
-! LIBDIR = /usr/local/lib/vtx
-! SPOOLDIR = /var/spool/vtx
-  
-! BINDIR = /usr/local/bin
-! XBINDIR = /usr/local/bin/X11
-! FONTDIR = /usr/lib/X11/fonts/local
-! MANDIR = /usr/local/man
-! XMANDIR = /usr/local/man
-  
-  DIRPERM = 755
-  SPOOLDIRPERM = 777
---- 22,42 ----
-  
-  # Set the installation-directories & permissions here
-  
-! #LIBDIR = /usr/local/lib/vtx
-! #SPOOLDIR = /var/spool/vtx
-! #BINDIR = /usr/local/bin
-! #XBINDIR = /usr/local/bin/X11
-! #FONTDIR = /usr/lib/X11/fonts/local
-! #MANDIR = /usr/local/man
-! #XMANDIR = /usr/local/man
-  
-! SPOOLDIR = /var/spool/vtx
-! LIBDIR = ${X11BASE}/lib/X11/vtx
-! BINDIR = ${X11BASE}/bin
-! XBINDIR = ${X11BASE}/bin
-! FONTDIR = ${X11BASE}/lib/X11/fonts/local
-! MANDIR = ${X11BASE}/man
-! XMANDIR = ${X11BASE}/man
-  
-  DIRPERM = 755
-  SPOOLDIRPERM = 777
-***************
-*** 73,88 ****
-  # useful if you want to distribute VideoteXt and want to avoid trouble with
-  # Unisys' stupid licensing conditions.
-  
-! GIF_SUPPORT = -DGIF_SUPPORT
-  
-  
-  # Uncomment the next lines if you want PNG support and have libpng and libz
-  # installed.
-  
-! #PNG_SUPPORT = -DPNG_SUPPORT
-! #PNG_LIBS = -lpng -lz -lm
-! #PNG_INCLUDEDIRS = -I/usr/local/include
-! #PNG_LIBDIRS = -L/usr/local/lib
-  
-  
-  # Uncomment the following line if you want to get coredumps when an
---- 80,95 ----
-  # useful if you want to distribute VideoteXt and want to avoid trouble with
-  # Unisys' stupid licensing conditions.
-  
-! #GIF_SUPPORT = -DGIF_SUPPORT
-  
-  
-  # Uncomment the next lines if you want PNG support and have libpng and libz
-  # installed.
-  
-! PNG_SUPPORT = -DPNG_SUPPORT
-! PNG_LIBS = -lpng -lz -lm
-! PNG_INCLUDEDIRS = -I/usr/local/include
-! PNG_LIBDIRS = -L/usr/local/lib
-  
-  
-  # Uncomment the following line if you want to get coredumps when an
+--- Makefile.orig	Fri Oct 29 07:06:32 1999
++++ Makefile	Wed Feb 16 03:23:53 2000
+@@ -22,14 +22,21 @@
+ 
+ # Set the installation-directories & permissions here
+ 
+-LIBDIR = /usr/local/lib/vtx
+-SPOOLDIR = /var/spool/vtx
++#LIBDIR = /usr/local/lib/vtx
++#SPOOLDIR = /var/spool/vtx
++#BINDIR = /usr/local/bin
++#XBINDIR = /usr/local/bin/X11
++#FONTDIR = /usr/lib/X11/fonts/local
++#MANDIR = /usr/local/man
++#XMANDIR = /usr/local/man
+ 
+-BINDIR = /usr/local/bin
+-XBINDIR = /usr/local/bin/X11
+-FONTDIR = /usr/lib/X11/fonts/local
+-MANDIR = /usr/local/man
+-XMANDIR = /usr/local/man
++SPOOLDIR = /var/spool/vtx
++LIBDIR = ${PREFIX}/lib/X11/vtx
++BINDIR = ${PREFIX}/bin
++XBINDIR = ${PREFIX}/bin
++FONTDIR = ${PREFIX}/lib/X11/fonts/local
++MANDIR = ${PREFIX}/man
++XMANDIR = ${PREFIX}/man
+ 
+ DIRPERM = 755
+ SPOOLDIRPERM = 777
+@@ -58,11 +65,11 @@
+ 
+ # Compiler options
+ 
+-INCLUDEDIRS = -I/usr/openwin/include -I/usr/X11R6/include
+-LIBDIRS = -L/usr/openwin/lib -L/usr/X11R6/lib
++INCLUDEDIRS = -I${X11BASE}/include
++LIBDIRS = -L${X11BASE}/lib
+ 
+-CC = gcc
+-CCFLAGS = -O2 -fomit-frame-pointer -pipe -Wall #-Wstrict-prototypes
++CC ?= gcc
++CCFLAGS = -fomit-frame-pointer -pipe -Wall #-Wstrict-prototypes
+ 
+ LDFLAGS =
+ CLIBS =
+@@ -79,10 +86,10 @@
+ # Uncomment the next lines if you want PNG support and have libpng and libz
+ # installed.
+ 
+-#PNG_SUPPORT = -DPNG_SUPPORT
+-#PNG_LIBS = -lpng -lz -lm
+-#PNG_INCLUDEDIRS = -I/usr/local/include
+-#PNG_LIBDIRS = -L/usr/local/lib
++PNG_SUPPORT = -DPNG_SUPPORT
++PNG_LIBS = -lpng -lz -lm
++PNG_INCLUDEDIRS = -I${LOCALBASE}/include
++PNG_LIBDIRS = -L${LOCALBASE}/lib
+ 
+ 
+ # Uncomment the following line if you want to get coredumps when an
+@@ -131,7 +138,7 @@
+ #####################################################################
+ 
+ DEFINES += -DVTX_LIBDIR=\"$(LIBDIR)\" -DVTX_SPOOLDIR=\"$(SPOOLDIR)\"
+-CFLAGS = $(DEFINES) $(GIF_SUPPORT) $(PNG_SUPPORT) $(CCFLAGS) $(INCLUDEDIRS) $(PNG_INCLUDEDIRS) \
++CFLAGS += $(DEFINES) $(GIF_SUPPORT) $(PNG_SUPPORT) $(CCFLAGS) $(INCLUDEDIRS) $(PNG_INCLUDEDIRS) \
+          -I. -Ibitmaps $(XCFLAGS)
+ LDFLAGS += $(XLDFLAGS)
+ 
+@@ -246,37 +253,33 @@
+ 	-install -d $(_MANDIRGRP) -m $(MANDIRPERM) $(DESTDIR)$(XMANDIR) \
+ 	  $(DESTDIR)$(XMANDIR)/man1
+ 	-install -d $(_LIBDIRGRP) -m $(LIBDIRPERM) $(DESTDIR)$(LIBDIR)
+-	install $(STRIP) $(_BINGRP) -m $(BINPERM) videotext $(DESTDIR)$(XBINDIR)
+-	install $(_MANGRP) -m $(MANPERM) videotext.1 $(DESTDIR)$(XMANDIR)/man1
+-	install $(_LIBGRP) -m $(LIBPERM) $(HELP) $(DESTDIR)$(LIBDIR)/videotext.info
++	${BSD_INSTALL_PROGRAM} videotext $(DESTDIR)$(XBINDIR)
++	${BSD_INSTALL_MAN} videotext.1 $(DESTDIR)$(XMANDIR)/man1
++	${BSD_INSTALL_DATA} $(HELP) $(DESTDIR)$(LIBDIR)/videotext.info
+ 
+ install.vtxget: vtxget vtxget.1
+ 	-install -d $(_BINDIRGRP) -m $(BINDIRPERM) $(DESTDIR)$(BINDIR)
+ 	-install -d $(_MANDIRGRP) -m $(MANDIRPERM) $(DESTDIR)$(MANDIR) \
+ 	  $(DESTDIR)$(MANDIR)/man1
+-	install $(STRIP) $(_BINGRP) -m $(BINPERM) vtxget $(DESTDIR)$(BINDIR)
+-	install $(_MANGRP) -m $(MANPERM) vtxget.1 $(DESTDIR)$(MANDIR)/man1
++	${BSD_INSTALL_PROGRAM} vtxget $(DESTDIR)$(BINDIR)
++	${BSD_INSTALL_MAN} vtxget.1 $(DESTDIR)$(MANDIR)/man1
+ 
+ install.tunerctl: tunerctl tunerctl.1
+ 	-install -d $(_BINDIRGRP) -m $(BINDIRPERM) $(DESTDIR)$(BINDIR)
+ 	-install -d $(_MANDIRGRP) -m $(MANDIRPERM) $(DESTDIR)$(MANDIR) \
+ 	  $(DESTDIR)$(MANDIR)/man1
+-	install $(STRIP) $(_BINGRP) -m $(BINPERM) tunerctl $(DESTDIR)$(BINDIR)
+-	install $(_MANGRP) -m $(MANPERM) tunerctl.1 $(DESTDIR)$(MANDIR)/man1
++	${BSD_INSTALL_PROGRAM} tunerctl $(DESTDIR)$(BINDIR)
++	${BSD_INSTALL_MAN} tunerctl.1 $(DESTDIR)$(MANDIR)/man1
+ 
+ install.xfonts: $(PCFFONTS)
+ 	-install -d $(_FONTDIRGRP) -m $(FONTDIRPERM) $(DESTDIR)$(FONTDIR)
+-	install $(_FONTGRP) -m $(FONTPERM) $(PCFFONTS) $(DESTDIR)$(FONTDIR)
++	${BSD_INSTALL_DATA} $(PCFFONTS) $(DESTDIR)$(FONTDIR)
+ 	mkfontdir $(DESTDIR)$(FONTDIR)
+-	chmod $(FONTPERM) $(DESTDIR)$(FONTDIR)/fonts.dir
+-ifneq ($(FONTGRP),)
+-	chgrp $(FONTGRP) $(DESTDIR)$(FONTDIR)/fonts.dir
+-endif
+ 	-xset fp rehash
+ 
+ install.fonts: $(VTXFONTS)
+ 	-install -d $(_LIBDIRGRP) -m $(LIBDIRPERM) $(DESTDIR)$(LIBDIR)
+-	install $(_LIBGRP) -m $(LIBPERM) $(VTXFONTS) $(DESTDIR)$(LIBDIR)
++	${BSD_INSTALL_DATA} $(VTXFONTS) $(DESTDIR)$(LIBDIR)
+ 
+ install.config:
+ 	-install -d $(_LIBDIRGRP) -m $(LIBDIRPERM) $(DESTDIR)$(LIBDIR)
+@@ -286,7 +289,7 @@
+ 	@echo Do a \'make install.forceconfig\' to overwrite old version.
+ 	@echo
+ else
+-	install $(_LIBGRP) -m $(LIBPERM) data/vtxrc $(DESTDIR)$(LIBDIR)
++	${BSD_INSTALL_DATA} data/vtxrc $(DESTDIR)$(LIBDIR)
+ endif
+ ifeq ($(DESTDIR)$(LIBDIR)/vtx-hotlist,$(wildcard $(DESTDIR)$(LIBDIR)/vtx-hotlist))
+ 	@echo
+@@ -295,16 +298,16 @@
+ 	@echo Or do a \'make install.forceconfig\' to overwrite old version.
+ 	@echo
+ else
+-	install $(_LIBGRP) -m $(LIBPERM) data/vtx-hotlist $(DESTDIR)$(LIBDIR)
++	${BSD_INSTALL_DATA} data/vtx-hotlist $(DESTDIR)$(LIBDIR)
+ endif
+ 
+ install.forceconfig:
+ 	-install -d $(_LIBDIRGRP) -m $(LIBDIRPERM) $(DESTDIR)$(LIBDIR)
+-	install $(_LIBGRP) -m $(LIBPERM) data/vtxrc data/vtx-hotlist $(DESTDIR)$(LIBDIR)
++	${BSD_INSTALL_DATA} data/vtxrc data/vtx-hotlist $(DESTDIR)$(LIBDIR)
+ 
+ install.lib:
+ 	-install -d $(_LIBDIRGRP) -m $(LIBDIRPERM) $(DESTDIR)$(LIBDIR)
+-	install $(_LIBGRP) -m $(LIBPERM) data/tv-channels $(DESTDIR)$(LIBDIR)
++	${BSD_INSTALL_DATA} data/tv-channels $(DESTDIR)$(LIBDIR)
+ 
+ install.spooldirs:
+ 	-install -d -m $(BASESPOOLDIRPERM) $(DESTDIR)$(SPOOLDIR)
diff -urN /usr/ports/misc/videotext/pkg/PLIST misc/videotext/pkg/PLIST
--- /usr/ports/misc/videotext/pkg/PLIST	Mon Jun  5 04:33:25 2000
+++ misc/videotext/pkg/PLIST	Wed Feb 16 03:17:46 2000
@@ -1,7 +1,6 @@
-bin/vtxget
 bin/tunerctl
 bin/videotext
-
+bin/vtxget
 lib/X11/vtx/tv-channels
 lib/X11/vtx/videotext.info
 lib/X11/vtx/vtx-hotlist
@@ -9,24 +8,12 @@
 lib/X11/vtx/vtx15x18.vtxfont
 lib/X11/vtx/vtx20x24.vtxfont
 lib/X11/vtx/vtxrc
-
-lib/X11/fonts/local/vtx10x12d.pcf
-lib/X11/fonts/local/vtx15x18d.pcf
-lib/X11/fonts/local/vtx20x24d.pcf
-lib/X11/fonts/local/vtx10x12.pcf
-lib/X11/fonts/local/vtx15x18.pcf
-lib/X11/fonts/local/vtx20x24.pcf
-
-@exec /bin/chmod u+w %D/lib/X11/fonts/local %D/lib/X11/fonts/local/fonts.dir
-@exec %D/bin/mkfontdir %D/lib/X11/fonts/local
-@exec /bin/chmod u=rwx,go=rx %D/lib/X11/fonts/local
-@exec /bin/chmod a=r %D/lib/X11/fonts/local/fonts.dir
-
-
-@unexec /bin/chmod u+w %D/lib/X11/fonts/local %D/lib/X11/fonts/local/fonts.dir
-@unexec %D/bin/mkfontdir %D/lib/X11/fonts/local
-@unexec /bin/chmod u=rwx,go=rx %D/lib/X11/fonts/local
-@unexec /bin/chmod a=r %D/lib/X11/fonts/local/fonts.dir
-@unexec if [ `wc -c %D/lib/X11/fonts/local/fonts.dir | awk '{print $1}'` = 2 ]; then rm -f %D/lib/X11/fonts/local/fonts.dir; fi
-
+%%FONTSDIR%%/vtx10x12d.pcf
+%%FONTSDIR%%/vtx15x18d.pcf
+%%FONTSDIR%%/vtx20x24d.pcf
+%%FONTSDIR%%/vtx10x12.pcf
+%%FONTSDIR%%/vtx15x18.pcf
+%%FONTSDIR%%/vtx20x24.pcf
+@exec cd %D/%%FONTSDIR%% ; %D/bin/mkfontdir
+@unexec cd %D/%%FONTSDIR%% ; %D/bin/mkfontdir
 @dirrm lib/X11/vtx


>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?20000605224038.BDEFF37B917>