Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jan 2014 20:25:50 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r339171 - branches/2014Q1/net/aget
Message-ID:  <201401082025.s08KPopv051199@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Wed Jan  8 20:25:50 2014
New Revision: 339171
URL: http://svnweb.freebsd.org/changeset/ports/339171

Log:
  MFH: r339170
  
  - Add LICENSE
  - Stage support
  - Fix build with clang
  
  PR:		ports/185501
  Submitted by:	KATO Tsuguru
  Approved by:	portmgr (implicit)

Modified:
  branches/2014Q1/net/aget/Makefile
Directory Properties:
  branches/2014Q1/   (props changed)

Modified: branches/2014Q1/net/aget/Makefile
==============================================================================
--- branches/2014Q1/net/aget/Makefile	Wed Jan  8 20:22:53 2014	(r339170)
+++ branches/2014Q1/net/aget/Makefile	Wed Jan  8 20:25:50 2014	(r339171)
@@ -7,15 +7,18 @@ CATEGORIES=	net
 MASTER_SITES=	http://www.enderunix.org/aget/
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A multithreaded HTTP download accelerator
+COMMENT=	Multithreaded HTTP download accelerator
 
-PLIST_FILES=	bin/aget
-MAN1=	aget.1
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/COPYING
 
-NO_STAGE=	yes
-post-patch:
-# fix man prefix and make portlint happy :)
-	@${REINPLACE_CMD} -e 's|/usr/share/man/man1/|${MANPREFIX}/man/man1/|g' -e \
-		's|/usr/local/bin/|${PREFIX}/bin/|g' ${WRKSRC}/Makefile
+MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+LDFLAGS+=	-pthread
+
+PLIST_FILES=	bin/aget man/man1/aget.1.gz
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/aget ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/aget.1 ${STAGEDIR}${MANPREFIX}/man/man1
 
 .include <bsd.port.mk>



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