aboutsummaryrefslogtreecommitdiffstats
path: root/news/nnap/Makefile
blob: c165423798ed0ff99237a412dd11393a75b88c59 (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.1
CATEGORIES= news
MASTER_SITES=   http://www.freebsdcluster.org/~lasse/software/
DISTNAME=   nnap-1_1
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 ${PORTNAME} ${DISTNAME}.c)

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

.include <bsd.port.mk>