From owner-freebsd-ports Sun Jul 12 08:50:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA07452 for freebsd-ports-outgoing; Sun, 12 Jul 1998 08:50:22 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA07445 for ; Sun, 12 Jul 1998 08:50:20 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id IAA27756; Sun, 12 Jul 1998 08:50:01 -0700 (PDT) Received: from myrddin.demon.co.uk (exim@myrddin.demon.co.uk [158.152.54.180]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA06937 for ; Sun, 12 Jul 1998 08:46:35 -0700 (PDT) (envelope-from dom@myrddin.demon.co.uk) Received: from dom by myrddin.demon.co.uk with local (Exim 1.92 #1) id 0yvOG4-0000Qi-00; Sun, 12 Jul 1998 16:41:48 +0100 Message-Id: Date: Sun, 12 Jul 1998 16:41:48 +0100 From: Dom Mitchell Reply-To: dom@myrddin.demon.co.uk To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: ports/7260: port of gxditview Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 7260 >Category: ports >Synopsis: port of gxditview >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: Sun Jul 12 08:50:00 PDT 1998 >Last-Modified: >Originator: Dom Mitchell >Organization: Big orange angry things, inc. >Release: FreeBSD 3.0-CURRENT i386 >Environment: FreeBSD myrddin.demon.co.uk 3.0-CURRENT FreeBSD 3.0-CURRENT #3: Sun Jul 5 15:50:59 BST 1998 root@myrddin.demon.co.uk:/usr/src/sys/compile/MYRDDIN i386 groff 1.10 (as part of base OS) >Description: This port activates a bit of code that is already in our source tree. It is an X11 previewer for documents formatted by groff. The port is in the shar below. >How-To-Repeat: cd gxditview && make install to test: gzip -dc /usr/share/man/man1/ls.1.gz | groff -X -man That should pop up a nicely formatted man page on your X display. >Fix: N/A # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # gxditview # gxditview/Makefile # gxditview/pkg # gxditview/pkg/COMMENT # gxditview/pkg/PLIST # gxditview/pkg/DESCR # gxditview/scripts # gxditview/scripts/pre-configure # echo c - gxditview mkdir -p gxditview > /dev/null 2>&1 echo x - gxditview/Makefile sed 's/^X//' >gxditview/Makefile << 'END-of-gxditview/Makefile' X# New ports collection makefile for: gxditview X# Version required: 1.10 X# Date created: 24 June 1998 X# Whom: Dom Mitchell X# X# $Id$ X# X X# Same version as the contrib groff sources... XDISTNAME= gxditview-1.10 XCATEGORIES= textproc XDISTFILES= # none X XMAINTAINER= dom@myrddin.demon.co.uk X XUSE_IMAKE= yes XWRKSRC= ${WRKDIR}/${DISTNAME} X XGXDVSRC?= /usr/src/contrib/groff/xditview X Xdo-extract: X @if [ ! -d ${GXDVSRC} ]; then \ X ${ECHO} "You need the gxditview source in"; \ X ${ECHO} "${GXDVSRC}"; \ X ${ECHO} "to build this port."; \ X exit 1; \ X fi X @${RM} -rf ${WRKDIR} X @${MKDIR} ${WRKSRC} X ${CP} -rp ${GXDVSRC}/* ${WRKSRC} X X.include END-of-gxditview/Makefile echo c - gxditview/pkg mkdir -p gxditview/pkg > /dev/null 2>&1 echo x - gxditview/pkg/COMMENT sed 's/^X//' >gxditview/pkg/COMMENT << 'END-of-gxditview/pkg/COMMENT' XAn X11 based previewer for groff output. END-of-gxditview/pkg/COMMENT echo x - gxditview/pkg/PLIST sed 's/^X//' >gxditview/pkg/PLIST << 'END-of-gxditview/pkg/PLIST' Xbin/gxditview Xlib/X11/app-defaults/GXditview Xman/man1/gxditview.1.gz END-of-gxditview/pkg/PLIST echo x - gxditview/pkg/DESCR sed 's/^X//' >gxditview/pkg/DESCR << 'END-of-gxditview/pkg/DESCR' XGxditview is a version of xditview that supports groff. It can be Xused by adding a -X option to your groff command line. It creates a Xpage preview of what will be printed. X XNote: to install this as a port, you need to have installed the Xcontrib source code. X X-Dom Xdom@myrddin.demon.co.uk END-of-gxditview/pkg/DESCR echo c - gxditview/scripts mkdir -p gxditview/scripts > /dev/null 2>&1 echo x - gxditview/scripts/pre-configure sed 's/^X//' >gxditview/scripts/pre-configure << 'END-of-gxditview/scripts/pre-configure' X#!/bin/sh X# X# Set up the Imakefile correctly for gxditview. X# X# $Id$ X# X Xcd $WRKSRC Xsed -e 's|^GROFF_LIBDIR.*|GROFF_LIBDIR=/usr/share|' \ X -e 's|^GROFF_FONTDIR.*|GROFF_FONTDIR=/usr/share/groff_font|' \ X -e 's|^GROFF_FONTPATH.*|GROFF_FONTPATH=.:$(GROFF_FONTDIR)|' \ X Imakefile > Imakefile.new Xmv Imakefile.new Imakefile END-of-gxditview/scripts/pre-configure exit >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message