summaryrefslogtreecommitdiff
path: root/news/nget/Makefile
blob: 33b9574205bb2a493e323c32cf9ef062dd1a928a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# New ports collection makefile for:	nget
# Date created:				20 June 2002
# Whom:					George Sorsby <george@crackpipe.net>
#
# $FreeBSD$
#

PORTNAME=	nget
PORTVERSION=	0.21
CATEGORIES=	news
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	nget
DISTNAME=	nget-${PORTVERSION}+uulib

MAINTAINER=	george@crackpipe.net
COMMENT=	Auto-resuming command line nntp file grabber

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 500113
BROKEN=         "Fails to link"
.endif

MAN1=		nget.1 ngetlite.1
MANCOMPRESSED=	no
GNU_CONFIGURE=	yes
USE_GMAKE=	yes

post-extract:
	${LN} -s nget-${PORTVERSION} ${WRKDIR}/${DISTNAME}

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/nget ${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/ngetlite ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/nget.1 ${PREFIX}/man/man1
	${INSTALL_MAN} ${WRKSRC}/ngetlite.1 ${PREFIX}/man/man1

post-install:
	strip ${PREFIX}/bin/nget
	strip ${PREFIX}/bin/ngetlite

.include <bsd.port.post.mk>