Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Feb 2006 20:55:39 -0300
From:      "Alejandro Pulver" <alejandro@varnet.biz>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/93255: [MAINTAINER UPDATE] ftp/prozilla: install header files in a subdirectory
Message-ID:  <1139788539.54819@phobos.mars.bsd>
Resent-Message-ID: <200602130000.k1D00IKc016007@freefall.freebsd.org>

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

>Number:         93255
>Category:       ports
>Synopsis:       [MAINTAINER UPDATE] ftp/prozilla: install header files in a subdirectory
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 13 00:00:17 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Alejandro Pulver
>Release:        FreeBSD 5.4-RELEASE i386
>Organization:
>Environment:


System: FreeBSD 5.4-RELEASE #0: Sat May 21 12:14:47 ART 2005
    root@ale.varnet.bsd:/usr/src/sys/i386/compile/ATHLON-ALE



>Description:


* Install header files in a subdirectory called "prozilla" and add a pkg-message to inform this.
* Change the category from "ftp" to "net" (it supports FTP and HTTP).


>How-To-Repeat:





>Fix:


--- prozilla.diff begins here ---
diff -urN /usr/ports/ftp/prozilla/Makefile prozilla/Makefile
--- /usr/ports/ftp/prozilla/Makefile	Mon Jan 23 12:39:23 2006
+++ prozilla/Makefile	Sun Feb 12 20:49:22 2006
@@ -7,8 +7,8 @@
 
 PORTNAME=	prozilla
 PORTVERSION=	2.0.3
-PORTREVISION=	1
-CATEGORIES=	ftp
+PORTREVISION=	2
+CATEGORIES=	net
 MASTER_SITES=	http://prozilla.genesys.ro/downloads/prozilla/tarballs/
 
 MAINTAINER=	alejandro@varnet.biz
@@ -25,5 +25,13 @@
 		LDFLAGS="-L${LOCALBASE}/lib"
 
 MAN1=		proz.1
+
+SUB_FILES=	pkg-message
+PKGMESSAGE=	${FILESDIR}/pkg-message
+
+post-install:
+	@${ECHO_CMD}
+	@${CAT} ${PKGMESSAGE}
+	@${ECHO_CMD}
 
 .include <bsd.port.mk>
diff -urN /usr/ports/ftp/prozilla/files/patch-libprozilla_src_Makefile.in prozilla/files/patch-libprozilla_src_Makefile.in
--- /usr/ports/ftp/prozilla/files/patch-libprozilla_src_Makefile.in	Fri Jan 20 19:10:48 2006
+++ prozilla/files/patch-libprozilla_src_Makefile.in	Sun Feb 12 20:30:36 2006
@@ -1,11 +1,17 @@
 --- libprozilla/src/Makefile.in.orig	Sun Dec 11 21:19:15 2005
-+++ libprozilla/src/Makefile.in	Thu Jan 19 17:11:36 2006
-@@ -114,7 +114,7 @@
- #      example...)
- libprozilla_la_LDFLAGS = -version-info 1:0:1
++++ libprozilla/src/Makefile.in	Sun Feb 12 20:29:58 2006
+@@ -226,11 +226,11 @@
  
--include_HEADERS = prozilla.h common.h netrc.h 
-+include_HEADERS = prozilla.h netrc.h 
- CPPFLAGS = @CPPFLAGS@ -DLOCALEDIR=\"$(datadir)/locale\"  
- INCLUDES = -I../intl -I@includedir@
- #AM_CPPFLAGS =  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
+ install-includeHEADERS: $(include_HEADERS)
+ 	@$(NORMAL_INSTALL)
+-	$(mkinstalldirs) $(DESTDIR)$(includedir)
++	$(mkinstalldirs) $(DESTDIR)$(includedir)/prozilla
+ 	@list='$(include_HEADERS)'; for p in $$list; do \
+ 	  if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
+-	  echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$p"; \
+-	  $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$p; \
++	  echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/prozilla/$$p"; \
++	  $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/prozilla/$$p; \
+ 	done
+ 
+ uninstall-includeHEADERS:
diff -urN /usr/ports/ftp/prozilla/files/pkg-message.in prozilla/files/pkg-message.in
--- /usr/ports/ftp/prozilla/files/pkg-message.in	Wed Dec 31 21:00:00 1969
+++ prozilla/files/pkg-message.in	Sun Feb 12 20:48:09 2006
@@ -0,0 +1,11 @@
+==============================================================================
+
+ProZilla has been installed!
+
+The libprozilla header files are now installed in a "prozilla" subdirectory to
+avoid problems caused by the file named "common.h".
+
+Now to compile a program that uses libprozilla you have to add the
+"-I%%PREFIX%%/include/prozilla" flag to the compiler.
+
+==============================================================================
diff -urN /usr/ports/ftp/prozilla/pkg-descr prozilla/pkg-descr
--- /usr/ports/ftp/prozilla/pkg-descr	Sat Apr 19 18:06:53 2003
+++ prozilla/pkg-descr	Sun Feb 12 20:26:50 2006
@@ -1,17 +1,16 @@
-ProZilla is a download accelerator for Linux which gives you 
-a 200% to 300% improvement in your file downloading speeds.
+ProZilla is a download accelerator for Linux which gives you a 200% to 300%
+improvement in your file downloading speeds.
 
 Its features:
 
-    * Supports FTP & HTTP including redirection 
-    * Resume Supported 
-    * Complete acceleration: The file will be downloaded as fast as 
-      possible as your bandwidth allows if not otherwise specified 
-    * Unlike certain other download accelerators available for Linux, 
-      this really works.
-    * The number of connections that prozilla uses can be specified 
-    * FTPsearch support now permits fetching Mirror locations and 
-      pinging them and selecting the fastest server is automatically 
-      done 
+* Supports FTP & HTTP including redirection.
+* Resume Supported.
+* Complete acceleration: The file will be downloaded as fast as possible as
+  your bandwidth allows if not otherwise specified.
+* Unlike certain other download accelerators available for Linux, this really
+  works.
+* The number of connections that prozilla uses can be specified.
+* FTPsearch support now permits fetching Mirror locations and pinging them and
+  selecting the fastest server is automatically done.
 
 WWW: http://prozilla.genesys.ro/
diff -urN /usr/ports/ftp/prozilla/pkg-plist prozilla/pkg-plist
--- /usr/ports/ftp/prozilla/pkg-plist	Fri Jan 20 19:10:48 2006
+++ prozilla/pkg-plist	Sun Feb 12 20:31:05 2006
@@ -1,7 +1,7 @@
 bin/proz
-@comment include/common.h
-include/netrc.h
-include/prozilla.h
+include/prozilla/common.h
+include/prozilla/netrc.h
+include/prozilla/prozilla.h
 lib/libprozilla.a
 share/locale/fr/LC_MESSAGES/proz.mo
 share/locale/it/LC_MESSAGES/.mo
@@ -12,3 +12,4 @@
 share/locale/pt_BR/LC_MESSAGES/proz.mo
 share/locale/ro/LC_MESSAGES/.mo
 share/locale/ro/LC_MESSAGES/proz.mo
+@dirrm include/prozilla
--- prozilla.diff ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1139788539.54819>