Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Jun 2002 11:33:16 -0700 (PDT)
From:      KATO Tsuguru <tkato@prontomail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/38996: Update port: ftp/downloader to 2.01
Message-ID:  <200206071833.g57IXGU4048629@www.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         38996
>Category:       ports
>Synopsis:       Update port: ftp/downloader to 2.01
>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:   Fri Jun 07 11:40:03 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.5-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 2.01

Remove file:
files/patch-DOC:Makefile.in
files/patch-main:Makefile.in

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/ftp/downloader/Makefile ftp/downloader/Makefile
--- /usr/ports/ftp/downloader/Makefile	Wed May  1 20:04:26 2002
+++ ftp/downloader/Makefile	Thu Jun  6 23:31:07 2002
@@ -7,7 +7,7 @@
 #
 
 PORTNAME=	downloader
-PORTVERSION=	2.0
+PORTVERSION=	2.01
 CATEGORIES=	ftp
 MASTER_SITES=	http://www.krasu.ru/soft/chuchelo/files/ \
 		ftp://ftp.chg.ru/pub/X11/applications/Xdownloader/ \
@@ -17,25 +17,39 @@
 
 MAINTAINER=	ports@FreeBSD.org
 
-LIB_DEPENDS=	gdk_pixbuf:${PORTSDIR}/graphics/gdk-pixbuf \
-		intl.2:${PORTSDIR}/devel/gettext \
-		iconv.3:${PORTSDIR}/converters/libiconv
+LIB_DEPENDS=	gnugetopt.1:${PORTSDIR}/devel/libgnugetopt \
+		gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf
 
-USE_BISON=	yes
-USE_GLIB=	yes
 USE_GTK=	yes
 USE_ESOUND=	yes
+USE_GMAKE=	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=	--mandir=${PREFIX}/man
-USE_GMAKE=	yes
+CONFIGURE_ARGS=	--enable-release
 
 MAN1=		nt.1
 
+DOCSDIR=	${PREFIX}/share/doc/d4x
+PORTDOCS=	FAQ FAQ.de FAQ.es FAQ.fr FAQ.gr INSTALL INSTALL.de \
+		INSTALL.es INSTALL.fr INSTALL.gr INSTALL.he INSTALL.pl \
+		INSTALL.pt_BR LICENSE NAMES THANKS TROUBLES
+
 post-patch:
-	@${PERL} -pi -e "s,Bison ,Bison,g ; \
-		s,-lpthread,${PTHREAD_LIBS},g" ${WRKSRC}/configure
-	@${PERL} -pi -e 's,-not,\\!,g' ${WRKSRC}/share/Makefile.in
+	@${PERL} -pi -e 's|CXXFLAGS="-O."|CXXFLAGS=\$$CXXFLAGS|g ; \
+		 s|OS_CXXFLAGS="-pthread"|OS_CXXFLAGS="${PTHREAD_CFLAGS}"|g ; \
+		 s|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
+	@${PERL} -pi -e 's| DOC||g' ${WRKSRC}/Makefile.in
+	@${PERL} -pi -e 's|-not|\\!|g' ${WRKSRC}/share/Makefile.in
+
+post-install:
+	${INSTALL_MAN} ${WRKSRC}/DOC/nt.1 ${MANPREFIX}/man/man1
+.if !defined(NOPORTDOCS)
+	@${MKDIR} ${DOCSDIR}
+.for file in ${PORTDOCS}
+	${INSTALL_DATA} ${WRKSRC}/DOC/${file} ${DOCSDIR}
+.endfor
+.endif
 
 .include <bsd.port.mk>
diff -urN /usr/ports/ftp/downloader/distinfo ftp/downloader/distinfo
--- /usr/ports/ftp/downloader/distinfo	Wed May  1 20:04:26 2002
+++ ftp/downloader/distinfo	Thu Jun  6 21:06:53 2002
@@ -1 +1 @@
-MD5 (d4x-2.0.tar.gz) = cf24d87c980684f3309ab5e5db77a252
+MD5 (d4x-2.01.tar.gz) = 85d1974895b6d5431dfd3c42bb887b4d
diff -urN /usr/ports/ftp/downloader/files/patch-DOC:Makefile.in ftp/downloader/files/patch-DOC:Makefile.in
--- /usr/ports/ftp/downloader/files/patch-DOC:Makefile.in	Wed May  1 04:59:54 2002
+++ ftp/downloader/files/patch-DOC:Makefile.in	Thu Jan  1 09:00:00 1970
@@ -1,20 +0,0 @@
---- DOC/Makefile.in.orig	Wed May  1 03:22:50 2002
-+++ DOC/Makefile.in	Wed May  1 03:27:40 2002
-@@ -37,7 +37,7 @@
- mandir = @mandir@
- includedir = @includedir@
- oldincludedir = /usr/include
--pkgdatadir = $(datadir)/@PACKAGE@
-+pkgdatadir = $(datadir)/doc/@PACKAGE@
- pkglibdir = $(libdir)/@PACKAGE@
- pkgincludedir = $(includedir)/@PACKAGE@
- top_builddir = ..
-@@ -161,7 +161,7 @@
- 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
- 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
- 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
--	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
-+	  inst=`echo $$inst`.$$ext; \
- 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
- 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
- 	done
diff -urN /usr/ports/ftp/downloader/files/patch-main:Makefile.in ftp/downloader/files/patch-main:Makefile.in
--- /usr/ports/ftp/downloader/files/patch-main:Makefile.in	Wed May  1 04:59:54 2002
+++ ftp/downloader/files/patch-main:Makefile.in	Thu Jan  1 09:00:00 1970
@@ -1,11 +0,0 @@
---- main/Makefile.in.orig	Wed May  1 03:16:32 2002
-+++ main/Makefile.in	Wed May  1 03:17:03 2002
-@@ -251,7 +251,7 @@
- 	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
- 	  if test -f $$p \
- 	  ; then \
--	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
-+	    f=`echo $$p1|sed 's/$$/$(EXEEXT)/'`; \
- 	   echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \
- 	   $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \
- 	  else :; fi; \
diff -urN /usr/ports/ftp/downloader/pkg-plist ftp/downloader/pkg-plist
--- /usr/ports/ftp/downloader/pkg-plist	Wed May  1 20:04:28 2002
+++ ftp/downloader/pkg-plist	Thu Jun  6 23:36:02 2002
@@ -1,28 +1,4 @@
 bin/nt
-share/doc/d4x/FAQ
-share/doc/d4x/FAQ.de
-share/doc/d4x/FAQ.es
-share/doc/d4x/FAQ.fr
-share/doc/d4x/FAQ.gr
-share/doc/d4x/INSTALL
-share/doc/d4x/INSTALL.de
-share/doc/d4x/INSTALL.es
-share/doc/d4x/INSTALL.fr
-share/doc/d4x/INSTALL.gr
-share/doc/d4x/INSTALL.he
-share/doc/d4x/INSTALL.pl
-share/doc/d4x/INSTALL.pt_BR
-share/doc/d4x/LICENSE
-share/doc/d4x/NAMES
-share/doc/d4x/THANKS
-share/doc/d4x/TROUBLES
-@dirrm share/doc/d4x
-share/locale/bg/LC_MESSAGES/d4x.mo
-share/locale/de/LC_MESSAGES/d4x.mo
-share/locale/es/LC_MESSAGES/d4x.mo
-share/locale/fr/LC_MESSAGES/d4x.mo
-share/locale/it/LC_MESSAGES/d4x.mo
-share/locale/ru/LC_MESSAGES/d4x.mo
 share/d4x/sounds/add.wav
 share/d4x/sounds/complete.wav
 share/d4x/sounds/dnd.wav
@@ -55,9 +31,34 @@
 share/d4x/themes/old_theme/dnd2.png
 share/d4x/themes/old_theme/dndmini.png
 share/d4x/themes/tooltip.xml
-@dirrm share/d4x/sounds
+%%PORTDOCS%%share/doc/d4x/FAQ
+%%PORTDOCS%%share/doc/d4x/FAQ.de
+%%PORTDOCS%%share/doc/d4x/FAQ.es
+%%PORTDOCS%%share/doc/d4x/FAQ.fr
+%%PORTDOCS%%share/doc/d4x/FAQ.gr
+%%PORTDOCS%%share/doc/d4x/INSTALL
+%%PORTDOCS%%share/doc/d4x/INSTALL.de
+%%PORTDOCS%%share/doc/d4x/INSTALL.es
+%%PORTDOCS%%share/doc/d4x/INSTALL.fr
+%%PORTDOCS%%share/doc/d4x/INSTALL.gr
+%%PORTDOCS%%share/doc/d4x/INSTALL.he
+%%PORTDOCS%%share/doc/d4x/INSTALL.pl
+%%PORTDOCS%%share/doc/d4x/INSTALL.pt_BR
+%%PORTDOCS%%share/doc/d4x/LICENSE
+%%PORTDOCS%%share/doc/d4x/NAMES
+%%PORTDOCS%%share/doc/d4x/THANKS
+%%PORTDOCS%%share/doc/d4x/TROUBLES
+share/locale/bg/LC_MESSAGES/d4x.mo
+share/locale/de/LC_MESSAGES/d4x.mo
+share/locale/es/LC_MESSAGES/d4x.mo
+share/locale/fr/LC_MESSAGES/d4x.mo
+share/locale/it/LC_MESSAGES/d4x.mo
+share/locale/ru/LC_MESSAGES/d4x.mo
+share/locale/uk/LC_MESSAGES/d4x.mo
+%%PORTDOCS%%@dirrm share/doc/d4x
 @dirrm share/d4x/themes/old_theme/buttons
 @dirrm share/d4x/themes/old_theme
 @dirrm share/d4x/themes/glass
 @dirrm share/d4x/themes
+@dirrm share/d4x/sounds
 @dirrm share/d4x

>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?200206071833.g57IXGU4048629>