Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Mar 2001 17:12:20 -0800 (PST)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/26235: Update port: www/cgic to 1.07
Message-ID:  <200103310112.f2V1CK020938@freefall.freebsd.org>

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

>Number:         26235
>Category:       ports
>Synopsis:       Update port: www/cgic to 1.07
>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 Mar 30 17:20:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.2-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 1.07

New file:
files/Makefile.lib

Remove file:
files/patch-aa

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/www/cgic/Makefile www/cgic/Makefile
--- /usr/ports/www/cgic/Makefile	Tue Feb  6 03:04:05 2001
+++ www/cgic/Makefile	Sat Mar 31 04:45:11 2001
@@ -6,32 +6,25 @@
 #
 
 PORTNAME=	cgic
-PORTVERSION=	1.06
+PORTVERSION=	1.07
 CATEGORIES=	www
 MASTER_SITES=	http://www.boutell.com/cgic/
-DISTNAME=	${PORTNAME}106
-EXTRACT_SUFX=	.tar.Z
+DISTNAME=	${PORTNAME}${PORTVERSION:S/.//}
 
 MAINTAINER=	ports@FreeBSD.org
 
+WRKSRC=		${WRKDIR}/${PORTNAME}
+MAKEFILE=	${FILESDIR}/Makefile.lib
 INSTALLS_SHLIB=	yes
 
-ALL_TARGET=	libcgic.so.1
-
-do-install:
-	@ ${INSTALL_DATA} ${WRKSRC}/cgic.h ${PREFIX}/include
-	@ ${INSTALL_DATA} ${WRKSRC}/libcgic.so.1 ${PREFIX}/lib
-	@ ${LN} -s ${PREFIX}/lib/libcgic.so.1 ${PREFIX}/lib/libcgic.so
-	@ ${MKDIR} ${PREFIX}/share/examples/cgic
-	@ ${INSTALL_DATA} ${WRKSRC}/capture.c ${PREFIX}/share/examples/cgic
-	@ ${INSTALL_DATA} ${WRKSRC}/cgictest.c ${PREFIX}/share/examples/cgic
-
 post-install:
 .if !defined(NOPORTDOCS)
-	@ ${MKDIR} ${PREFIX}/share/doc/cgic
-.for file in cgic.html cgic.txt license.txt readme.txt support.txt testform.html
-	@ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/cgic
-.endfor
+	@${MKDIR} ${PREFIX}/share/examples/cgic
+	${INSTALL_DATA} ${WRKSRC}/capture.c ${PREFIX}/share/examples/cgic
+	${INSTALL_DATA} ${WRKSRC}/cgictest.c ${PREFIX}/share/examples/cgic
+	@${MKDIR} ${PREFIX}/share/doc/cgic
+	${INSTALL_DATA} ${WRKSRC}/*.html ${PREFIX}/share/doc/cgic
+	${INSTALL_DATA} ${WRKSRC}/*.txt ${PREFIX}/share/doc/cgic
 .endif
 
 .include <bsd.port.mk>
diff -urN /usr/ports/www/cgic/distinfo www/cgic/distinfo
--- /usr/ports/www/cgic/distinfo	Wed Dec 29 18:25:47 1999
+++ www/cgic/distinfo	Sat Mar 31 04:19:04 2001
@@ -1 +1 @@
-MD5 (cgic106.tar.Z) = 84d67045866991359da9ab51a3c3345f
+MD5 (cgic107.tar.gz) = fd93c66491022c3dd051537e39e8c9b0
diff -urN /usr/ports/www/cgic/files/Makefile.lib www/cgic/files/Makefile.lib
--- /usr/ports/www/cgic/files/Makefile.lib	Thu Jan  1 09:00:00 1970
+++ www/cgic/files/Makefile.lib	Sat Mar 31 05:04:13 2001
@@ -0,0 +1,18 @@
+LIB=		cgic
+
+SHLIB_MAJOR?=	1
+NOPROFILE=	yes
+
+LIBDIR=		${PREFIX}/lib
+INCDIR=		${PREFIX}/include
+CFLAGS+=	-I${.CURDIR}
+
+SRCS=		cgic.c
+
+HEADERS=	cgic.h
+
+afterinstall:
+	${INSTALL} ${COPY} -o ${SHAREOWN} -g ${SHAREGRP} -m ${SHAREMODE} \
+		${HEADERS} ${INCDIR}
+
+.include <bsd.lib.mk>
diff -urN /usr/ports/www/cgic/files/patch-aa www/cgic/files/patch-aa
--- /usr/ports/www/cgic/files/patch-aa	Wed Dec 29 18:25:47 1999
+++ www/cgic/files/patch-aa	Thu Jan  1 09:00:00 1970
@@ -1,29 +0,0 @@
---- Makefile	Fri Feb 16 00:20:09 1996
-+++ /home/andy/tmp/wrk/Makefile	Tue Jul 27 15:40:18 1999
-@@ -3,16 +3,15 @@
- #or the system() function, respectively. Non-unix systems
- #will also definitely have different linker syntax.
- 
--CFLAGS=
--CC=gcc
-+#CFLAGS=
-+#CC=gcc
- AR=ar
- LIBS=-L./ -lcgic
- 
- all: libcgic.a cgictest capture
- 
--libcgic.a: cgic.o cgic.h
--	rm -f libcgic.a
--	$(AR) rc libcgic.a cgic.o
-+libcgic.so.1: cgic.o
-+	$(CC) $(CFLAGS) -shared -Wl,-soname,libcgic.so.1 -o libcgic.so.1 cgic.o
- 
- cgictest: cgictest.o libcgic.a
- 	gcc cgictest.o -o cgictest ${LIBS}
-@@ -20,3 +19,5 @@
- capture: capture.o libcgic.a
- 	gcc capture.o -o capture ${LIBS}
- 
-+cgic.o: cgic.c cgic.h
-+	$(CC) $(CFLAGS) -fPIC -o cgic.o -c -s cgic.c
diff -urN /usr/ports/www/cgic/pkg-plist www/cgic/pkg-plist
--- /usr/ports/www/cgic/pkg-plist	Fri Jun 16 02:12:50 2000
+++ www/cgic/pkg-plist	Sat Mar 31 04:42:50 2001
@@ -1,13 +1,14 @@
 include/cgic.h
+lib/libcgic.a
 lib/libcgic.so
 lib/libcgic.so.1
-share/doc/cgic/cgic.html
-share/doc/cgic/cgic.txt
-share/doc/cgic/license.txt
-share/doc/cgic/readme.txt
-share/doc/cgic/support.txt
-share/doc/cgic/testform.html
-share/examples/cgic/capture.c
-share/examples/cgic/cgictest.c
-@dirrm share/doc/cgic
-@dirrm share/examples/cgic
+%%PORTDOCS%%share/doc/cgic/cgic.html
+%%PORTDOCS%%share/doc/cgic/cgic.txt
+%%PORTDOCS%%share/doc/cgic/license.txt
+%%PORTDOCS%%share/doc/cgic/readme.txt
+%%PORTDOCS%%share/doc/cgic/support.txt
+%%PORTDOCS%%share/doc/cgic/testform.html
+%%PORTDOCS%%share/examples/cgic/capture.c
+%%PORTDOCS%%share/examples/cgic/cgictest.c
+%%PORTDOCS%%@dirrm share/examples/cgic
+%%PORTDOCS%%@dirrm share/doc/cgic

>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?200103310112.f2V1CK020938>