Date: Wed, 8 Jan 2014 20:22:53 +0000 (UTC) From: Antoine Brodin <antoine@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r339170 - head/net/aget Message-ID: <201401082022.s08KMrxK050802@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: antoine Date: Wed Jan 8 20:22:53 2014 New Revision: 339170 URL: http://svnweb.freebsd.org/changeset/ports/339170 Log: - Add LICENSE - Stage support - Fix build with clang PR: ports/185501 Submitted by: KATO Tsuguru Modified: head/net/aget/Makefile Modified: head/net/aget/Makefile ============================================================================== --- head/net/aget/Makefile Wed Jan 8 20:18:34 2014 (r339169) +++ head/net/aget/Makefile Wed Jan 8 20:22:53 2014 (r339170) @@ -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?201401082022.s08KMrxK050802>