diff options
Diffstat (limited to 'news')
-rw-r--r-- | news/suck/Makefile | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/news/suck/Makefile b/news/suck/Makefile index 0cb134c48df..2d58601456c 100644 --- a/news/suck/Makefile +++ b/news/suck/Makefile @@ -1,36 +1,36 @@ -# $NetBSD: Makefile,v 1.9 2001/01/21 18:25:04 veego Exp $ +# $NetBSD: Makefile,v 1.10 2001/01/21 18:31:27 veego Exp $ # -DISTNAME= ruby-1.4.3 -CATEGORIES= lang -MASTER_SITES= ftp://ftp.TokyoNet.AD.JP/pub/misc/ruby/ \ - ftp://ftp.iij.ad.jp/pub/lang/ruby/ \ - ftp://ftp.netlab.co.jp/pub/lang/ruby/ \ - ftp://blade.nagaokaut.ac.jp/pub/lang/ruby/ \ - ftp://ftp.krnet.ne.jp/pub/ruby/ \ - ftp://ftp.mirror.nucba.ac.jp/mirror/ruby/ \ - http://mirror.nucba.ac.jp/mirror/ruby/ +DISTNAME= suck-4.2.2 +CATEGORIES= news +MASTER_SITES= http://home.att.net/~bobyetman/ \ + ${MASTER_SITE_SUNSITE:=system/news/transport/} \ + ftp://tsx-11.mit.edu/pub/linux/sources/sbin/ -MAINTAINER= sakamoto@netbsd.org -HOMEPAGE= http://www.ruby-lang.org/ - -BUILD_DEPENDS= ${LOCALBASE}/bin/bison:../../devel/bison -DEPENDS+= gdbm-1.7.3:../../databases/gdbm -DEPENDS+= ncurses>=4.2:../../devel/ncurses -DEPENDS+= readline-4.0:../../devel/readline +MAINTAINER= drankin@bohemians.lexington.ky.us +HOMEPAGE= http://home.att.net/~bobyetman/ GNU_CONFIGURE= yes -CONFIGURE_ARGS+= --enable-shared -MAKE_ENV+= DLDFLAGS="-L${LOCALBASE}/lib -R${LOCALBASE}/lib -L${X11BASE}/lib -R${X11BASE}/lib" -PLIST_SUBST= RUBY_VERSION=1.4 +.include "../../mk/bsd.prefs.mk" + +# Include SOCKS firewall support +.if defined(USE_SOCKS) && (${USE_SOCKS} == 4 || ${USE_SOCKS} == 5) +.if ${USE_SOCKS} == 4 +DEPENDS+= socks4-2.2:../../net/socks4 +.else +DEPENDS+= socks5-1.0.2:../../net/socks5 +.endif +.endif post-patch: - ${RM} -f ${WRKSRC}/ext/tcltklib/MANIFEST - ${RM} -f ${WRKSRC}/ext/tk/MANIFEST + ${SED} -e 's|%%%HISTORY%%%|${LOCALBASE}/etc/news/history|g' \ + ${WRKSRC}/Makefile.in >${WRKSRC}/Makefile.tmp + @${MV} ${WRKSRC}/Makefile.tmp ${WRKSRC}/Makefile.in post-install: - strip ${PREFIX}/bin/ruby - ${MKDIR} ${PR + ${MKDIR} ${LOCALBASE}/share/examples/suck + ${CP} ${WRKSRC}/sample/* ${LOCALBASE}/share/examples/suck + ${CHMOD} 644 ${LOCALBASE}/share/examples/suck/* .include "../../mk/bsd.pkg.mk" |