Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Nov 2005 03:00:19 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/88560: Update port: ftp/rexx-curl to 1.4
Message-ID:  <20051107030019.0b853bb3.tkato432@yahoo.com>
Resent-Message-ID: <200511061810.jA6IAIYk005103@freefall.freebsd.org>

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

>Number:         88560
>Category:       ports
>Synopsis:       Update port: ftp/rexx-curl to 1.4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 06 18:10:17 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.11-RELEASE-p13 i386
>Organization:
>Environment:
>Description:
- Update to version 1.4

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/ftp/rexx-curl/Makefile ftp/rexx-curl/Makefile
--- /usr/ports/ftp/rexx-curl/Makefile	Mon Jul 18 22:44:15 2005
+++ ftp/rexx-curl/Makefile	Fri Nov  4 14:41:45 2005
@@ -7,7 +7,7 @@
 #
 
 PORTNAME=	curl
-PORTVERSION=	1.3
+PORTVERSION=	1.4
 CATEGORIES=	ftp
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	rexx${PORTNAME}
@@ -24,13 +24,26 @@
 USE_REINPLACE=	yes
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
+CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
 CONFIGURE_ENV=	CPPFLAGS="${PTHREAD_CFLAGS}" LDFLAGS="${PTHREAD_LIBS}"
 CONFIGURE_ARGS=	--with-rexx=regina
 INSTALLS_SHLIB=	yes
 
+DOCSDIR=	${PREFIX}/share/doc/rexx${PORTNAME}
 DATADIR=	${PREFIX}/share/rexx${PORTNAME}
 
 post-patch:
-	@${REINPLACE_CMD} -e 's| -lc | |g' ${WRKSRC}/Makefile.in
+	@${REINPLACE_CMD} -e 's| -lc | |g ; \
+		 /$$(sharedir)\/images/d ; \
+		 /index.html/d ; \
+		 /rxcurl64.png/d' ${WRKSRC}/Makefile.in
+
+post-install:
+.if !defined(NOPORTDOCS)
+	@${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/index.html ${DOCSDIR}
+	@${MKDIR} ${DOCSDIR}/images
+	${INSTALL_DATA} ${WRKSRC}/doc/images/rxcurl64.png ${DOCSDIR}/images
+.endif
 
 .include <bsd.port.mk>
diff -urN /usr/ports/ftp/rexx-curl/distinfo ftp/rexx-curl/distinfo
--- /usr/ports/ftp/rexx-curl/distinfo	Mon Jul 18 22:44:15 2005
+++ ftp/rexx-curl/distinfo	Fri Nov  4 14:02:41 2005
@@ -1,2 +1,2 @@
-MD5 (RexxCURL-1.3.tar.gz) = 22ccc44086f4a779133a1d5f04185239
-SIZE (RexxCURL-1.3.tar.gz) = 223748
+MD5 (RexxCURL-1.4.tar.gz) = ea23a225f7a7a2d8a9719275511a793a
+SIZE (RexxCURL-1.4.tar.gz) = 249692
diff -urN /usr/ports/ftp/rexx-curl/pkg-plist ftp/rexx-curl/pkg-plist
--- /usr/ports/ftp/rexx-curl/pkg-plist	Fri Dec 24 02:50:44 2004
+++ ftp/rexx-curl/pkg-plist	Fri Nov  4 14:38:14 2005
@@ -2,14 +2,15 @@
 bin/rexxcurl-config
 lib/librexxcurl.a
 lib/librexxcurl.so
-%%DATADIR%%/images/rxcurl64.png
+%%PORTDOCS%%%%DOCSDIR%%/images/rxcurl64.png
+%%PORTDOCS%%%%DOCSDIR%%/index.html
 %%DATADIR%%/README.txt
 %%DATADIR%%/getright.rexx
 %%DATADIR%%/httppost.rexx
-%%DATADIR%%/index.html
 %%DATADIR%%/mirror.rexx
 %%DATADIR%%/scp.rexx
 %%DATADIR%%/testcurl.rexx
 %%DATADIR%%/upload.rexx
-@dirrm %%DATADIR%%/images
 @dirrm %%DATADIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/images
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:



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