pkgsrc/news/nget/Makefile

35 lines
931 B
Makefile

# $NetBSD: Makefile,v 1.7 2006/02/05 23:10:33 joerg Exp $
#
DISTNAME= nget-0.27.1
PKGREVISION= 1
CATEGORIES= news
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=nget/}
MAINTAINER= joel@carnat.net
HOMEPAGE= http://nget.sourceforge.net/
COMMENT= Command line nntp file grabber
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
USE_TOOLS+= gmake
USE_LANGUAGES= c c++
CONFIGURE_ARGS+= --with-pcre
CONFIGURE_ARGS+= --with-popt
EGDIR= ${PREFIX}/share/examples/nget
MESSAGE_SUBST+= EGDIR=${EGDIR}
INSTALLATION_DIRS= share/nget share/examples/nget
post-install:
for f in COPYING Changelog FAQ README TODO; do \
${INSTALL_DATA} ${WRKSRC}/$${f} ${PREFIX}/share/nget; done
${INSTALL_DATA} ${WRKSRC}/.ngetrc ${EGDIR}/dot.ngetrc
.include "../../converters/uulib/buildlink3.mk"
.include "../../devel/pcre/buildlink3.mk"
.include "../../devel/popt/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"