From owner-freebsd-ports Mon Apr 8 12:21: 1 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id AA3D437B41E for ; Mon, 8 Apr 2002 12:20:02 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g38JK2x17718; Mon, 8 Apr 2002 12:20:02 -0700 (PDT) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 8E49E37B417 for ; Mon, 8 Apr 2002 12:15:21 -0700 (PDT) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g38JFLe16515; Mon, 8 Apr 2002 12:15:21 -0700 (PDT) (envelope-from nobody) Message-Id: <200204081915.g38JFLe16515@freefall.freebsd.org> Date: Mon, 8 Apr 2002 12:15:21 -0700 (PDT) From: KATO Tsuguru To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: ports/36892: Update port: graphics/gsubedit 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: 36892 >Category: ports >Synopsis: Update port: graphics/gsubedit >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 Apr 08 12:20:02 PDT 2002 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: 4.4-RELEASE i386 >Organization: >Environment: >Description: - Support CFLAGS properly - Remove unnecessary USE_BISON - Utilize NOPORTDOCS Remove file: files/patch-pixmaps::Makefile.in >How-To-Repeat: >Fix: diff -urN /usr/ports/graphics/gsubedit/Makefile graphics/gsubedit/Makefile --- /usr/ports/graphics/gsubedit/Makefile Tue Mar 12 02:54:27 2002 +++ graphics/gsubedit/Makefile Tue Apr 9 03:36:47 2002 @@ -8,6 +8,7 @@ PORTNAME= gsubedit PORTVERSION= 0.3 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -15,14 +16,28 @@ MAINTAINER= ports@FreeBSD.org USE_X_PREFIX= yes -USE_BISON= yes +USE_GMAKE= yes USE_GNOME= yes GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-gnome -USE_GMAKE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" post-patch: - @${PERL} -pi -e "s,Bison ,Bison,g" ${WRKSRC}/configure - @${PERL} -pi -e "s,doc/,share/doc/,g" ${WRKSRC}/Makefile.in + @${PERL} -pi -e 's|Bison |Bison|g ; \ + s|-lpthread|${PTHREAD_LIBS}|g ; \ + s|DATADIRNAME=lib|DATADIRNAME=share|g ; \ + s|share/pixmaps|share/gnome/pixmaps|g' ${WRKSRC}/configure + @${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${PERL} -pi -e \ + 's|^gsubeditdoc|#gsubeditdoc|g ; \ + s|-g -O2|| ; \ + s|\$$\(datadir\)/locale|\$$\(prefix\)/share/locale|' + +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for file in AUTHORS ChangeLog INSTALL README TODO + ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} +.endfor +.endif .include diff -urN /usr/ports/graphics/gsubedit/files/patch-pixmaps::Makefile.in graphics/gsubedit/files/patch-pixmaps::Makefile.in --- /usr/ports/graphics/gsubedit/files/patch-pixmaps::Makefile.in Tue Mar 12 02:54:27 2002 +++ graphics/gsubedit/files/patch-pixmaps::Makefile.in Thu Jan 1 09:00:00 1970 @@ -1,11 +0,0 @@ ---- pixmaps/Makefile.in.orig Tue Mar 12 01:34:16 2002 -+++ pixmaps/Makefile.in Tue Mar 12 01:36:23 2002 -@@ -119,7 +119,7 @@ - cflags_set = @cflags_set@ - cxxflags_set = @cxxflags_set@ - --gsubedit_pixmapsdir = $(prefix)/@NO_PREFIX_PACKAGE_PIXMAPS_DIR@ -+gsubedit_pixmapsdir = $(prefix)/share/gnome/pixmaps/gsubedit - - gsubedit_pixmaps_DATA = \ - gsubedit_icon.png diff -urN /usr/ports/graphics/gsubedit/pkg-plist graphics/gsubedit/pkg-plist --- /usr/ports/graphics/gsubedit/pkg-plist Tue Mar 12 02:54:27 2002 +++ graphics/gsubedit/pkg-plist Mon Apr 1 05:02:59 2002 @@ -1,13 +1,12 @@ bin/gsubedit -share/doc/gsubedit/ABOUT-NLS -share/doc/gsubedit/AUTHORS -share/doc/gsubedit/COPYING -share/doc/gsubedit/ChangeLog -share/doc/gsubedit/INSTALL -share/doc/gsubedit/README -share/doc/gsubedit/TODO +%%PORTDOCS%%share/doc/gsubedit/AUTHORS +%%PORTDOCS%%share/doc/gsubedit/ChangeLog +%%PORTDOCS%%share/doc/gsubedit/INSTALL +%%PORTDOCS%%share/doc/gsubedit/README +%%PORTDOCS%%share/doc/gsubedit/TODO share/gnome/apps/Applications/gsubedit.desktop share/gnome/help/gsubedit/C/index.html share/gnome/help/gsubedit/C/topic.dat -share/gnome/locale/sv/LC_MESSAGES/gsubedit.mo share/gnome/pixmaps/gsubedit/gsubedit_icon.png +share/locale/sv/LC_MESSAGES/gsubedit.mo +%%PORTDOCS%%@dirrm share/doc/gsubedit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message