summaryrefslogtreecommitdiff
path: root/news/nnap/Makefile
blob: 36d3c50d4b4a4d5e853fff3c5c23d6ad427e8a31 (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
# ex:ts=8
# Ports collection makefile for:  nnap
# Date created:                          Sun May 26, 2002
# Whom:                                  Lasse L. Johnsen (lasse@freebsdcluster.org)
#
# $FreeBSD$
#

PORTNAME=	nnap
PORTVERSION=	1.0
CATEGORIES=	news
MASTER_SITES=	http://www.freebsdcluster.org/~lasse/software/
DISTNAME=	nnap
EXTRACT_SUFX=	.c

MAINTAINER=	lasse@freebsdcluster.org
COMMENT=	Nnap is a lightweight NNTP authentication proxy

NO_WRKSUBDIR=	yes
PLIST_FILES=	sbin/nnap

do-extract:
	@${MKDIR} ${WRKDIR}
	@${CP} ${DISTDIR}/${DISTFILES} ${WRKDIR}

do-build:
	(cd ${WRKSRC} && ${CC} ${CFLAGS} -o ${DISTNAME} ${DISTNAME}.c)

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME} ${PREFIX}/sbin

.include <bsd.port.mk>