Date: Mon, 21 Oct 2002 11:47:21 -0700 (PDT) From: KATO Tsuguru <tkato@prontomail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/44353: Update port: science/gdis to 0.77.0 Message-ID: <200210211847.g9LIlLX2005312@www.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 44353 >Category: ports >Synopsis: Update port: science/gdis to 0.77.0 >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 Oct 21 11:50:10 PDT 2002 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: 4.7-RELEASE i386 >Organization: >Environment: >Description: - Update to version 0.77.0 Remove file: files/patch-gdis.h >How-To-Repeat: >Fix: diff -urN /usr/ports/science/gdis/Makefile science/gdis/Makefile --- /usr/ports/science/gdis/Makefile Tue Sep 10 20:25:52 2002 +++ science/gdis/Makefile Mon Oct 21 05:41:32 2002 @@ -7,32 +7,43 @@ # PORTNAME= gdis -PORTVERSION= 0.73.3 +PORTVERSION= 0.77.0 CATEGORIES= science MASTER_SITES= ftp://ftp.seul.org/pub/gdis/ EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org -LIB_DEPENDS= gtkextra:${PORTSDIR}/x11-toolkits/gtkextra \ - gtkgl:${PORTSDIR}/x11-toolkits/gtkglarea +LIB_DEPENDS= gtkgl.5:${PORTSDIR}/x11-toolkits/gtkglarea -USE_REINPLACE= yes +USE_MESA= yes USE_GNOMENG= yes USE_GNOME= gtk12 -USE_MESA= yes -WRKSRC= ${WRKDIR}/${PORTNAME} +USE_REINPLACE= yes USE_GMAKE= yes -ALL_TARGET= # empty +ALL_TARGET= main post-patch: - @${REINPLACE_CMD} -e "s,^CC,#CC,g ; s,^CFLAGS,#CFLAGS,g ; \ - s,gtk-config,${GTK_CONFIG},g" ${WRKSRC}/Makefile - @${REINPLACE_CMD} -e "s,%%DATADIR%%,${DATADIR},g" ${WRKSRC}/gdis.h + @${REINPLACE_CMD} -e 's|^CC|#CC|g ; \ + s|^CFLAGS|#CFLAGS|g ; \ + s|/usr/local/bin|${DATADIR}|g ; \ + s|gtk-config|${GTK_CONFIG}|g ; \ + s|-I/usr/local/include||g ; \ + s|-lgtkgl|-lgtkgl ${PTHREAD_LIBS:S/"//g}|g ; \ + s|-DGTK_GL|-DGTK_GL ${PTHREAD_CFLAGS}|g' ${WRKSRC}/Makefile + @${FIND} ${WRKSRC} -name "*.c" | ${XARGS} ${REINPLACE_CMD} -e \ + 's|<sys/dir.h>|<dirent.h>|g ; \ + s|struct direct|struct dirent|g' do-install: ${INSTALL_PROGRAM} ${WRKSRC}/gdis ${PREFIX}/bin @${MKDIR} ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/gdis.lib ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/gdis.elements ${DATADIR} +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for file in CHANGELOG README TODO + ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} +.endfor +.endif .include <bsd.port.mk> diff -urN /usr/ports/science/gdis/distinfo science/gdis/distinfo --- /usr/ports/science/gdis/distinfo Tue Mar 5 12:36:20 2002 +++ science/gdis/distinfo Mon Oct 21 05:20:04 2002 @@ -1 +1 @@ -MD5 (gdis-0.73.3.tgz) = 50be37ea193352dc681d594903b2eead +MD5 (gdis-0.77.0.tgz) = 00659d0712150cb6e3670d4d638ce1ad diff -urN /usr/ports/science/gdis/files/patch-gdis.h science/gdis/files/patch-gdis.h --- /usr/ports/science/gdis/files/patch-gdis.h Tue Mar 5 12:36:20 2002 +++ science/gdis/files/patch-gdis.h Thu Jan 1 09:00:00 1970 @@ -1,11 +0,0 @@ ---- gdis.h.orig Tue Mar 5 11:24:15 2002 -+++ gdis.h Tue Mar 5 11:25:22 2002 -@@ -61,7 +61,7 @@ - - /* location of data file - TODO - IMPROVE ie rc file/scan etc */ - #define RCFILE ".gdisrc" --#define LIBRARY "gdis.lib" -+#define LIBRARY "%%DATADIR%%gdis.lib" - #define LOG_FILE "gdismol.log" - #define FONT "-misc-fixed-medium-r-*-*-*-120-*-*-*-*-iso8859-1" - diff -urN /usr/ports/science/gdis/pkg-plist science/gdis/pkg-plist --- /usr/ports/science/gdis/pkg-plist Tue Mar 5 12:36:20 2002 +++ science/gdis/pkg-plist Mon Oct 21 05:36:53 2002 @@ -1,3 +1,7 @@ bin/gdis -share/gdis/gdis.lib +%%PORTDOCS%%share/doc/gdis/CHANGELOG +%%PORTDOCS%%share/doc/gdis/README +%%PORTDOCS%%share/doc/gdis/TODO +share/gdis/gdis.elements @dirrm share/gdis +%%PORTDOCS%%@dirrm share/doc/gdis >Release-Note: >Audit-Trail: >Unformatted: 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?200210211847.g9LIlLX2005312>