# $NetBSD: Makefile,v 1.21 2005/10/15 21:23:00 tonio Exp $ # DISTNAME= suck-4.3.2 PKGREVISION= 3 CATEGORIES= news MASTER_SITES= http://home.comcast.net/~bobyetman/ \ ${MASTER_SITE_SUNSITE:=system/news/transport/} \ ftp://tsx-11.mit.edu/pub/linux/sources/sbin/ MAINTAINER= drankin@bohemians.lexington.ky.us HOMEPAGE= http://home.comcast.net/~bobyetman/ COMMENT= Feed a local news server without a dedicated newsfeed GNU_CONFIGURE= yes .include "../../mk/bsd.prefs.mk" # Include SOCKS firewall support .if defined(USE_SOCKS) && (${USE_SOCKS} == 4 || ${USE_SOCKS} == 5) .if ${USE_SOCKS} == 4 .include "../../net/socks4/buildlink3.mk" .else .include "../../net/socks5/buildlink3.mk" .endif .endif post-patch: ${SED} -e 's|%%%HISTORY%%%|${PREFIX}/etc/news/history|g' \ ${WRKSRC}/Makefile.in >${WRKSRC}/Makefile.tmp @${MV} ${WRKSRC}/Makefile.tmp ${WRKSRC}/Makefile.in post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/suck ${CP} ${WRKSRC}/sample/* ${PREFIX}/share/examples/suck ${CHMOD} 644 ${PREFIX}/share/examples/suck/* #.include "../../databases/gdbm/buildlink3.mk" .include "../../security/openssl/buildlink3.mk" .include "../../mk/bsd.pkg.mk"