Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Aug 2001 15:31:58 -0700 (PDT)
From:      KATO Tsuguru <tkato@prontomail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/29820: Update port: ftp/axel
Message-ID:  <200108172231.f7HMVwj41729@freefall.freebsd.org>

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

>Number:         29820
>Category:       ports
>Synopsis:       Update port: ftp/axel
>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 Aug 17 15:40:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.3-RELEASE i386
>Organization:
>Environment:
>Description:
- Support PTHREAD_CFLAGS properly
- Support install macros

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/ftp/axel/Makefile ftp/axel/Makefile
--- /usr/ports/ftp/axel/Makefile	Wed Aug 15 18:08:07 2001
+++ ftp/axel/Makefile	Sat Aug 18 06:55:49 2001
@@ -17,15 +17,23 @@
 		intl:${PORTSDIR}/devel/gettext
 
 USE_GMAKE=	yes
-CFLAGS+=	-I${LOCALBASE}/include
+CFLAGS+=	-I${LOCALBASE}/include ${PTHREAD_CFLAGS}
 MAKE_ENV=	LFLAGS="-L${LOCALBASE}/lib -lgnugetopt -lintl"
 
-MANCOMPRESSED=	no
-MAN1=	axel.1
+MAN1=		axel.1
 
 post-patch:
 	@${PERL} -pi -e "s,-pthread,${PTHREAD_LIBS},g ; \
 		s,^(CFLAGS = -O3),#\1,g ; \
 		s,gcc,${CC},g" ${WRKSRC}/Makefile
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/axel ${PREFIX}/bin/axel
+	${INSTALL_DATA} ${WRKSRC}/axelrc.example ${PREFIX}/etc/axelrc
+	${INSTALL_MAN} ${WRKSRC}/axel.1 ${PREFIX}/man/man1/axel.1
+.for lang in de nl
+	${INSTALL_DATA} ${WRKSRC}/${lang}.mo \
+		${PREFIX}/share/locale/${lang}/LC_MESSAGES/axel.mo
+.endfor
 
 .include <bsd.port.mk>

>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?200108172231.f7HMVwj41729>