Date: Sat, 1 Mar 2003 00:02:40 +0100 (CET) From: Volker Stolz <vs@foldr.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/48795: [patch] Unbreak textproc/unroff (bento) Message-ID: <200302282302.h1SN2eZF076039@monster.theater.foldr.org>
next in thread | raw e-mail | index | archive | help
>Number: 48795 >Category: ports >Synopsis: [patch] Unbreak textproc/unroff (bento) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Feb 28 15:10:00 PST 2003 >Closed-Date: >Last-Modified: >Originator: Volker Stolz >Release: FreeBSD 5.0-CURRENT i386 >Organization: >Environment: System: FreeBSD monster.theater.foldr.org 5.0-CURRENT FreeBSD 5.0-CURRENT #1: Sun Nov 24 14:40:01 CET 2002 root@monster.theater.foldr.org:/usr/obj/usr/src/sys/MONSTER i386 >Description: - fix breakage noticed by bento - de-pkg-comment while here - CFLAG-police - condense makefile, obsolete scripts - honour NOPORTDOCS >How-To-Repeat: >Fix: Committer: - drop scripts directory - remove pkg-comment --- unroff begins here --- diff -urN unroff.orig/Makefile unroff/Makefile --- unroff.orig/Makefile Mon Feb 5 17:35:18 2001 +++ unroff/Makefile Fri Feb 28 23:44:31 2003 @@ -14,6 +14,7 @@ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${PATCH1} ${PATCH2} MAINTAINER= wosch@freebsd.org +COMMENT= A programmable troff translator with backend for HTML RUN_DEPENDS= elk:${PORTSDIR}/lang/elk BUILD_DEPENDS= elk:${PORTSDIR}/lang/elk @@ -26,9 +27,10 @@ PATCH1= me-misc-patch PATCH2= misc-patch-2 +BUILD_WRKSRC= ${WRKSRC}/src + MAN1= unroff.1 unroff-html.1 unroff-html-man.1 \ unroff-html-me.1 unroff-html-ms.1 -MANCOMPRESSED= yes pre-patch: @${ECHO_MSG} "===> Applying distribution patches for ${PKGNAME}" @@ -41,5 +43,16 @@ ${ECHO_MSG} "===> Applying distribution patch ${PATCH2}" ; \ fi; \ ${PATCH} ${PATCH_DIST_ARGS} -p1 < ${PATCH2}) + +do-install: + @${MKDIR} ${DATADIR}/misc + ${INSTALL_PROGRAM} ${WRKSRC}/src/unroff ${PREFIX}/bin/unroff + ${CP} -R ${WRKSRC}/scm ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/doc/tmac.hyper ${WRKSRC}/misc/sample.unroff ${DATADIR}/misc + ${INSTALL_MAN} ${WRKSRC}/doc/*.1 ${PREFIX}/man/man1 +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/manual.ms ${DOCSDIR} +.endif .include <bsd.port.mk> diff -urN unroff.orig/files/patch-a unroff/files/patch-a --- unroff.orig/files/patch-a Wed Apr 10 08:38:58 1996 +++ unroff/files/patch-a Fri Feb 28 23:44:01 2003 @@ -22,7 +22,7 @@ ### You need a C compiler that compiles ANSI C code. ! #CC = gcc -! #CFLAGS = -Wall -pedantic -O +! CFLAGS += -DBSD ### If you need additional linker flags add them here. ! LDFLAGS = -s diff -urN unroff.orig/pkg-plist unroff/pkg-plist --- unroff.orig/pkg-plist Tue May 30 22:15:05 2000 +++ unroff/pkg-plist Fri Feb 28 23:44:01 2003 @@ -1,5 +1,4 @@ bin/unroff -share/unroff/doc/manual.ms share/unroff/misc/sample.unroff share/unroff/misc/tmac.hyper share/unroff/scm/troff.scm @@ -14,7 +13,8 @@ share/unroff/scm/html/ms.scm.orig share/unroff/scm/misc/hyper.scm share/unroff/scm/misc/hyper.scm.orig -@dirrm share/unroff/doc +%%PORTDOCS%%share/doc/unroff/manual.ms +%%PORTDOCS%%@dirrm share/doc/unroff @dirrm share/unroff/misc @dirrm share/unroff/scm/html @dirrm share/unroff/scm/misc --- unroff ends here --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302282302.h1SN2eZF076039>