1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/news/nnap/Makefile
Mathieu Arnold 065c026fe5 Fix ports that confused the meaning of WRKDIR and WRKSRC.
PR:		204056
Submitted by:	mat
Reviewed by:	bapt
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D2735
2015-11-05 12:36:25 +00:00

28 lines
610 B
Makefile

# Created by: 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} ${WRKSRC}
@${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC}
do-build:
(cd ${WRKSRC} && ${CC} ${CFLAGS} -o ${PORTNAME} ${DISTNAME}.c)
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin
.include <bsd.port.mk>