aboutsummaryrefslogtreecommitdiffstats
path: root/news/nnap/Makefile
blob: faebe7e66507dc51da5f3e5da89bd9b066f672a0 (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
# 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

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>