View | Details | Raw Unified | Return to bug 38996
Collapse All | Expand All

(-)ftp/downloader/Makefile (-12 / +26 lines)
Lines 7-13 Link Here
7
#
7
#
8
8
9
PORTNAME=	downloader
9
PORTNAME=	downloader
10
PORTVERSION=	2.0
10
PORTVERSION=	2.01
11
CATEGORIES=	ftp
11
CATEGORIES=	ftp
12
MASTER_SITES=	http://www.krasu.ru/soft/chuchelo/files/ \
12
MASTER_SITES=	http://www.krasu.ru/soft/chuchelo/files/ \
13
		ftp://ftp.chg.ru/pub/X11/applications/Xdownloader/ \
13
		ftp://ftp.chg.ru/pub/X11/applications/Xdownloader/ \
Lines 17-41 Link Here
17
17
18
MAINTAINER=	ports@FreeBSD.org
18
MAINTAINER=	ports@FreeBSD.org
19
19
20
LIB_DEPENDS=	gdk_pixbuf:${PORTSDIR}/graphics/gdk-pixbuf \
20
LIB_DEPENDS=	gnugetopt.1:${PORTSDIR}/devel/libgnugetopt \
21
		intl.2:${PORTSDIR}/devel/gettext \
21
		gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf
22
		iconv.3:${PORTSDIR}/converters/libiconv
23
22
24
USE_BISON=	yes
25
USE_GLIB=	yes
26
USE_GTK=	yes
23
USE_GTK=	yes
27
USE_ESOUND=	yes
24
USE_ESOUND=	yes
25
USE_GMAKE=	yes
28
GNU_CONFIGURE=	yes
26
GNU_CONFIGURE=	yes
29
CONFIGURE_ENV=	CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
27
CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
28
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
30
		LDFLAGS="-L${LOCALBASE}/lib"
29
		LDFLAGS="-L${LOCALBASE}/lib"
31
CONFIGURE_ARGS=	--mandir=${PREFIX}/man
30
CONFIGURE_ARGS=	--enable-release
32
USE_GMAKE=	yes
33
31
34
MAN1=		nt.1
32
MAN1=		nt.1
35
33
34
DOCSDIR=	${PREFIX}/share/doc/d4x
35
PORTDOCS=	FAQ FAQ.de FAQ.es FAQ.fr FAQ.gr INSTALL INSTALL.de \
36
		INSTALL.es INSTALL.fr INSTALL.gr INSTALL.he INSTALL.pl \
37
		INSTALL.pt_BR LICENSE NAMES THANKS TROUBLES
38
36
post-patch:
39
post-patch:
37
	@${PERL} -pi -e "s,Bison ,Bison,g ; \
40
	@${PERL} -pi -e 's|CXXFLAGS="-O."|CXXFLAGS=\$$CXXFLAGS|g ; \
38
		s,-lpthread,${PTHREAD_LIBS},g" ${WRKSRC}/configure
41
		 s|OS_CXXFLAGS="-pthread"|OS_CXXFLAGS="${PTHREAD_CFLAGS}"|g ; \
39
	@${PERL} -pi -e 's,-not,\\!,g' ${WRKSRC}/share/Makefile.in
42
		 s|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
43
	@${PERL} -pi -e 's| DOC||g' ${WRKSRC}/Makefile.in
44
	@${PERL} -pi -e 's|-not|\\!|g' ${WRKSRC}/share/Makefile.in
45
46
post-install:
47
	${INSTALL_MAN} ${WRKSRC}/DOC/nt.1 ${MANPREFIX}/man/man1
48
.if !defined(NOPORTDOCS)
49
	@${MKDIR} ${DOCSDIR}
50
.for file in ${PORTDOCS}
51
	${INSTALL_DATA} ${WRKSRC}/DOC/${file} ${DOCSDIR}
52
.endfor
53
.endif
40
54
41
.include <bsd.port.mk>
55
.include <bsd.port.mk>
(-)ftp/downloader/distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (d4x-2.0.tar.gz) = cf24d87c980684f3309ab5e5db77a252
1
MD5 (d4x-2.01.tar.gz) = 85d1974895b6d5431dfd3c42bb887b4d
(-)ftp/downloader/files/patch-DOC:Makefile.in (-20 lines)
Lines 1-20 Link Here
1
--- DOC/Makefile.in.orig	Wed May  1 03:22:50 2002
2
+++ DOC/Makefile.in	Wed May  1 03:27:40 2002
3
@@ -37,7 +37,7 @@
4
 mandir = @mandir@
5
 includedir = @includedir@
6
 oldincludedir = /usr/include
7
-pkgdatadir = $(datadir)/@PACKAGE@
8
+pkgdatadir = $(datadir)/doc/@PACKAGE@
9
 pkglibdir = $(libdir)/@PACKAGE@
10
 pkgincludedir = $(includedir)/@PACKAGE@
11
 top_builddir = ..
12
@@ -161,7 +161,7 @@
13
 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
14
 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
15
 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
16
-	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
17
+	  inst=`echo $$inst`.$$ext; \
18
 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
19
 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
20
 	done
(-)ftp/downloader/files/patch-main:Makefile.in (-11 lines)
Lines 1-11 Link Here
1
--- main/Makefile.in.orig	Wed May  1 03:16:32 2002
2
+++ main/Makefile.in	Wed May  1 03:17:03 2002
3
@@ -251,7 +251,7 @@
4
 	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
5
 	  if test -f $$p \
6
 	  ; then \
7
-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
8
+	    f=`echo $$p1|sed 's/$$/$(EXEEXT)/'`; \
9
 	   echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \
10
 	   $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \
11
 	  else :; fi; \
(-)ftp/downloader/pkg-plist (-25 / +26 lines)
Lines 1-28 Link Here
1
bin/nt
1
bin/nt
2
share/doc/d4x/FAQ
3
share/doc/d4x/FAQ.de
4
share/doc/d4x/FAQ.es
5
share/doc/d4x/FAQ.fr
6
share/doc/d4x/FAQ.gr
7
share/doc/d4x/INSTALL
8
share/doc/d4x/INSTALL.de
9
share/doc/d4x/INSTALL.es
10
share/doc/d4x/INSTALL.fr
11
share/doc/d4x/INSTALL.gr
12
share/doc/d4x/INSTALL.he
13
share/doc/d4x/INSTALL.pl
14
share/doc/d4x/INSTALL.pt_BR
15
share/doc/d4x/LICENSE
16
share/doc/d4x/NAMES
17
share/doc/d4x/THANKS
18
share/doc/d4x/TROUBLES
19
@dirrm share/doc/d4x
20
share/locale/bg/LC_MESSAGES/d4x.mo
21
share/locale/de/LC_MESSAGES/d4x.mo
22
share/locale/es/LC_MESSAGES/d4x.mo
23
share/locale/fr/LC_MESSAGES/d4x.mo
24
share/locale/it/LC_MESSAGES/d4x.mo
25
share/locale/ru/LC_MESSAGES/d4x.mo
26
share/d4x/sounds/add.wav
2
share/d4x/sounds/add.wav
27
share/d4x/sounds/complete.wav
3
share/d4x/sounds/complete.wav
28
share/d4x/sounds/dnd.wav
4
share/d4x/sounds/dnd.wav
Lines 55-63 Link Here
55
share/d4x/themes/old_theme/dnd2.png
31
share/d4x/themes/old_theme/dnd2.png
56
share/d4x/themes/old_theme/dndmini.png
32
share/d4x/themes/old_theme/dndmini.png
57
share/d4x/themes/tooltip.xml
33
share/d4x/themes/tooltip.xml
58
@dirrm share/d4x/sounds
34
%%PORTDOCS%%share/doc/d4x/FAQ
35
%%PORTDOCS%%share/doc/d4x/FAQ.de
36
%%PORTDOCS%%share/doc/d4x/FAQ.es
37
%%PORTDOCS%%share/doc/d4x/FAQ.fr
38
%%PORTDOCS%%share/doc/d4x/FAQ.gr
39
%%PORTDOCS%%share/doc/d4x/INSTALL
40
%%PORTDOCS%%share/doc/d4x/INSTALL.de
41
%%PORTDOCS%%share/doc/d4x/INSTALL.es
42
%%PORTDOCS%%share/doc/d4x/INSTALL.fr
43
%%PORTDOCS%%share/doc/d4x/INSTALL.gr
44
%%PORTDOCS%%share/doc/d4x/INSTALL.he
45
%%PORTDOCS%%share/doc/d4x/INSTALL.pl
46
%%PORTDOCS%%share/doc/d4x/INSTALL.pt_BR
47
%%PORTDOCS%%share/doc/d4x/LICENSE
48
%%PORTDOCS%%share/doc/d4x/NAMES
49
%%PORTDOCS%%share/doc/d4x/THANKS
50
%%PORTDOCS%%share/doc/d4x/TROUBLES
51
share/locale/bg/LC_MESSAGES/d4x.mo
52
share/locale/de/LC_MESSAGES/d4x.mo
53
share/locale/es/LC_MESSAGES/d4x.mo
54
share/locale/fr/LC_MESSAGES/d4x.mo
55
share/locale/it/LC_MESSAGES/d4x.mo
56
share/locale/ru/LC_MESSAGES/d4x.mo
57
share/locale/uk/LC_MESSAGES/d4x.mo
58
%%PORTDOCS%%@dirrm share/doc/d4x
59
@dirrm share/d4x/themes/old_theme/buttons
59
@dirrm share/d4x/themes/old_theme/buttons
60
@dirrm share/d4x/themes/old_theme
60
@dirrm share/d4x/themes/old_theme
61
@dirrm share/d4x/themes/glass
61
@dirrm share/d4x/themes/glass
62
@dirrm share/d4x/themes
62
@dirrm share/d4x/themes
63
@dirrm share/d4x/sounds
63
@dirrm share/d4x
64
@dirrm share/d4x

Return to bug 38996