Date: Fri, 5 Oct 2001 10:40:04 -0700 (PDT) From: "Mario Sergio Fujikawa Ferreira" <lioux@uol.com.br> To: freebsd-ports@FreeBSD.org Subject: Re: ports/31060: New port docbook-to-man Message-ID: <200110051740.f95He4X31267@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/31060; it has been noted by GNATS. From: "Mario Sergio Fujikawa Ferreira" <lioux@uol.com.br> To: freebsd-gnats-submit@FreeBSD.org Cc: clefevre@citeweb.net Subject: Re: ports/31060: New port docbook-to-man Date: Fri, 5 Oct 2001 14:33:25 -0300 Hi, I made the following changes to the port, what do you think? 1) add missing trailing / in MASTER_SITES 2) *_DEPENDS use {LOCAL,X11}BASE not PREFIX 3) No need to conditionaly set PREFIX, it's in MAKE_ENV Regards, diff -ruN docbook-to-man.orig/Makefile docbook-to-man/Makefile --- docbook-to-man.orig/Makefile Fri Oct 5 14:25:03 2001 +++ docbook-to-man/Makefile Fri Oct 5 14:31:14 2001 @@ -8,7 +8,7 @@ PORTNAME= docbook-to-man PORTVERSION= 1.0 CATEGORIES= textproc -MASTER_SITES= http://www.oasis-open.org/docbook/tools/dtm +MASTER_SITES= http://www.oasis-open.org/docbook/tools/dtm/ DISTNAME= ${PORTNAME} MAINTAINER= clefevre@citeweb.net @@ -33,7 +33,7 @@ .else RUN_DEPENDS= nsgmls:${PORTSDIR}/textproc/jade .endif -RUN_DEPENDS+= ${PREFIX}/share/sgml/docbook:${PORTSDIR}/textproc/docbook +RUN_DEPENDS+= ${LOCALBASE}/share/sgml/docbook:${PORTSDIR}/textproc/docbook USE_IMAKE= yes USE_X_PREFIX= no diff -ruN docbook-to-man.orig/files/patch-Instant::Imakefile docbook-to-man/files/patch-Instant::Imakefile --- docbook-to-man.orig/files/patch-Instant::Imakefile Fri Oct 5 14:25:03 2001 +++ docbook-to-man/files/patch-Instant::Imakefile Fri Oct 5 14:21:30 2001 @@ -1,6 +1,6 @@ ---- Instant/Imakefile.orig Mon Jun 17 05:50:29 1996 -+++ Instant/Imakefile Fri Oct 5 18:18:22 2001 -@@ -1,14 +1,18 @@ +--- Instant/Imakefile.orig Mon Jun 17 00:50:09 1996 ++++ Instant/Imakefile Fri Oct 5 14:20:29 2001 +@@ -1,14 +1,17 @@ #define IHaveSubdirs #define PassCDebugFlags +#undef BuildInstallHtmlManPage @@ -9,9 +9,8 @@ SUBDIRS = tptregexp -ROOT = /usr/local -+PREFIX ?= /usr/local +ROOT = ${PREFIX} -+MANPATH = ${ROOT}/man ++MANPATH = $(ROOT)/man BINDIR = $(ROOT)/bin INCLUDES = -Itptregexp @@ -21,7 +20,7 @@ DEFINES = -DDEF_TPT_LIB=\"$(TPTLIB)\" SRCS = main.c util.c info.c translate.c traninit.c tranvar.c tables.c \ -@@ -19,4 +23,4 @@ +@@ -19,4 +22,4 @@ MakeSubdirs($(SUBDIRS)) DependSubdirs($(SUBDIRS)) diff -ruN docbook-to-man.orig/files/patch-Transpec::Imakefile docbook-to-man/files/patch-Transpec::Imakefile --- docbook-to-man.orig/files/patch-Transpec::Imakefile Fri Oct 5 14:25:03 2001 +++ docbook-to-man/files/patch-Transpec::Imakefile Fri Oct 5 14:21:22 2001 @@ -1,9 +1,8 @@ ---- Transpec/Imakefile.orig Mon Jun 17 05:50:28 1996 -+++ Transpec/Imakefile Fri Oct 5 18:20:17 2001 -@@ -1,5 +1,6 @@ +--- Transpec/Imakefile.orig Mon Jun 17 00:50:08 1996 ++++ Transpec/Imakefile Fri Oct 5 14:20:04 2001 +@@ -1,5 +1,5 @@ -ROOT = /usr/local -TPTLIB = $(ROOT)/lib/tpt -+PREFIX ?= /usr/local +ROOT = ${PREFIX} +TPTLIB = $(ROOT)/share/sgml/otranspec diff -ruN docbook-to-man.orig/files/patch-cmd::Imakefile docbook-to-man/files/patch-cmd::Imakefile --- docbook-to-man.orig/files/patch-cmd::Imakefile Fri Oct 5 14:25:03 2001 +++ docbook-to-man/files/patch-cmd::Imakefile Fri Oct 5 14:21:44 2001 @@ -1,8 +1,7 @@ ---- cmd/Imakefile.orig Mon Jun 17 05:50:30 1996 -+++ cmd/Imakefile Fri Oct 5 18:18:22 2001 -@@ -1,4 +1,5 @@ +--- cmd/Imakefile.orig Mon Jun 17 00:50:10 1996 ++++ cmd/Imakefile Fri Oct 5 14:20:40 2001 +@@ -1,4 +1,4 @@ -ROOT = /usr/local -+PREFIX ?= /usr/local +ROOT = ${PREFIX} BINDIR = $(ROOT)/bin -- Mario S F Ferreira - UnB - Brazil - "I guess this is a signature." lioux at ( freebsd dot org | linf dot unb dot br ) flames to beloved devnull@someotherworldbeloworabove.org feature, n: a documented bug | bug, n: an undocumented feature 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?200110051740.f95He4X31267>