From owner-freebsd-ports Tue Sep 17 10:10:13 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DE07537B406 for ; Tue, 17 Sep 2002 10:10:05 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5FA9543E42 for ; Tue, 17 Sep 2002 10:10:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g8HHA3Co005270 for ; Tue, 17 Sep 2002 10:10:04 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g8HHA31B005269; Tue, 17 Sep 2002 10:10:03 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B055E37B401 for ; Tue, 17 Sep 2002 10:07:38 -0700 (PDT) Received: from www.freebsd.org (www.FreeBSD.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id AADA943F85 for ; Tue, 17 Sep 2002 09:49:34 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.4/8.12.4) with ESMTP id g8HGmiOT014424 for ; Tue, 17 Sep 2002 09:49:04 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.4/8.12.4/Submit) id g8HGmJHr014398; Tue, 17 Sep 2002 09:48:19 -0700 (PDT) Message-Id: <200209171648.g8HGmJHr014398@www.freebsd.org> Date: Tue, 17 Sep 2002 09:48:19 -0700 (PDT) From: KATO Tsuguru To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: ports/42878: Update port: devel/gindent Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 42878 >Category: ports >Synopsis: Update port: devel/gindent >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: Tue Sep 17 10:10:02 PDT 2002 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: 4.6.2-RELEASE i386 >Organization: >Environment: >Description: - Support CFLAGS/CXXFLAGS properly - Utilize NOPORTDOCS >How-To-Repeat: >Fix: diff -urN /usr/ports/devel/gindent/Makefile devel/gindent/Makefile --- /usr/ports/devel/gindent/Makefile Tue Sep 10 20:08:12 2002 +++ devel/gindent/Makefile Sun Sep 15 03:16:34 2002 @@ -8,6 +8,7 @@ PORTNAME= gindent PORTVERSION= 2.2.8a +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://home.hccnet.nl/d.ingamells/ \ ${MASTER_SITE_GNU} @@ -16,13 +17,14 @@ MAINTAINER= ports@FreeBSD.org -LIB_DEPENDS= intl:${PORTSDIR}/devel/gettext +LIB_DEPENDS= intl.4:${PORTSDIR}/devel/gettext USE_REINPLACE= yes GNU_CONFIGURE= yes -CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \ +CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" -CONFIGURE_ARGS= --program-prefix=g --without-included-gettext +CONFIGURE_ARGS= --program-prefix=g MAKE_ARGS= BERKELEY_DEFAULTS=1 MAN1= gindent.1 @@ -30,5 +32,9 @@ post-patch: @${GREP} -lR "malloc.h" ${WRKSRC} | ${XARGS} \ ${REINPLACE_CMD} -e "s/malloc.h/stdlib.h/g" + +post-install: + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/indent.html ${DOCSDIR} .include diff -urN /usr/ports/devel/gindent/files/patch-doc:Makefile.in devel/gindent/files/patch-doc:Makefile.in --- /usr/ports/devel/gindent/files/patch-doc:Makefile.in Tue Jun 25 15:38:17 2002 +++ devel/gindent/files/patch-doc:Makefile.in Sun Sep 15 03:21:25 2002 @@ -1,11 +1,15 @@ ---- doc/Makefile.in.orig Tue Jun 25 14:31:43 2002 -+++ doc/Makefile.in Tue Jun 25 14:32:50 2002 -@@ -103,7 +103,7 @@ +--- doc/Makefile.in.orig Wed May 22 04:01:16 2002 ++++ doc/Makefile.in Sun Sep 15 03:21:16 2002 +@@ -364,9 +364,9 @@ - info_TEXINFOS = indent.texinfo --docdir = $(prefix)/doc/@PACKAGE@ -+docdir = $(prefix)/share/doc/@PACKAGE@ - dvidir = $(docdir) - psdir = $(docdir) - pdfdir = $(docdir) + all-local: html +-install-data-local: install-html +-installdirs-local: installdirs-html +-uninstall-local: uninstall-html ++install-data-local: # install-html ++installdirs-local: # installdirs-html ++uninstall-local: # uninstall-html + + html: html-$(HTMLSTYLE) + install-html: install-html-$(HTMLSTYLE) diff -urN /usr/ports/devel/gindent/pkg-plist devel/gindent/pkg-plist --- /usr/ports/devel/gindent/pkg-plist Tue Sep 10 20:08:15 2002 +++ devel/gindent/pkg-plist Sun Sep 15 03:20:06 2002 @@ -3,7 +3,7 @@ @unexec install-info --delete %D/info/indent.info %D/info/dir info/indent.info @exec install-info %D/info/indent.info %D/info/dir -share/doc/indent/indent.html +%%PORTDOCS%%share/doc/gindent/indent.html share/locale/ca/LC_MESSAGES/indent.mo share/locale/da/LC_MESSAGES/indent.mo share/locale/de/LC_MESSAGES/indent.mo @@ -21,4 +21,4 @@ share/locale/sv/LC_MESSAGES/indent.mo share/locale/tr/LC_MESSAGES/indent.mo share/locale/zh_TW.Big5/LC_MESSAGES/indent.mo -@dirrm share/doc/indent +%%PORTDOCS%%@dirrm share/doc/gindent >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message