diff options
author | minskim <minskim> | 2004-02-18 02:00:34 +0000 |
---|---|---|
committer | minskim <minskim> | 2004-02-18 02:00:34 +0000 |
commit | 26a38e5d50ae7c5b42d5960c5dd9341222441cb3 (patch) | |
tree | 72f077d515e1d88c349003782eae229be5b55793 /net/aget/Makefile | |
parent | f076d1f7d3af23cb300b5ed0342e2e78917ce6ef (diff) | |
download | pkgsrc-26a38e5d50ae7c5b42d5960c5dd9341222441cb3.tar.gz |
Import aget from pkgsrc-wip. Packaged by Earl Gay, improved by
Roland Illig to support Solaris, and modified by me.
Aget is a multithreaded HTTP download accelerator. It aims to imitate
Flashget for Win32. Aget is an acronym for two Turkish words "Acele
Getir," meaning "Get it fast."
Diffstat (limited to 'net/aget/Makefile')
-rw-r--r-- | net/aget/Makefile | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/net/aget/Makefile b/net/aget/Makefile new file mode 100644 index 00000000000..90c2628e619 --- /dev/null +++ b/net/aget/Makefile @@ -0,0 +1,42 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/02/18 02:00:34 minskim Exp $ +# + +DISTNAME= aget-0.4 +CATEGORIES= net +MASTER_SITES= http://www.enderunix.org/aget/ + +MAINTAINER= eeg@e3labs.ath.cx +HOMEPAGE= http://www.enderunix.org/aget/ +COMMENT= Multithreaded HTTP download accelerator + +PKG_INSTALLATION_TYPES= overwrite pkgviews + +USE_BUILDLINK3= yes +NO_CONFIGURE= yes + +.include "../../mk/bsd.prefs.mk" + +SUBST_CLASSES+= options +SUBST_MESSAGE.options= "Fixing build options." +SUBST_STAGE.options= post-patch +SUBST_FILES.options= Makefile Makefile.Solaris +SUBST_SED.options= -e 's,CFLAGS =,\#CFLAGS =,' \ + -e 's,LDFLAGS =,\#LDFLAGS =,' \ + -e 's,CC =,\#CC =,' \ + +PTHREAD_OPTS+= require +CFLAGS+= ${PTHREAD_CFLAGS} +LDFLAGS+= ${PTHREAD_LDFLAGS} + +.if ${OPSYS} == "SunOS" +CFLAGS+= -DSOLARIS +LDFLAGS+= -lsocket -lnsl -lresolv +.endif + +INSTALLATION_DIRS= bin + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/aget ${PREFIX}/bin/aget + +.include "../../mk/pthread.buildlink3.mk" +.include "../../mk/bsd.pkg.mk" |