1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Add LICENSE

- Stage support
- Fix build with clang

PR:		ports/185501
Submitted by:	KATO Tsuguru
This commit is contained in:
Antoine Brodin 2014-01-08 20:22:53 +00:00
parent 8d17c06c5a
commit a31541b0d2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=339170

View File

@ -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>