1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00
freebsd-ports/news/nn/Makefile
2014-02-08 13:10:58 +00:00

28 lines
663 B
Makefile

# Created by: adam
# $FreeBSD$
PORTNAME= nn
PORTVERSION= 6.7.3
PORTREVISION= 1
CATEGORIES= news
MASTER_SITES= http://www.sourcefiles.org/Internet/News/Usenet_Clients/ \
http://www.wa.apana.org.au/~dean/sources/
EXTRACT_SUFX= .tar.Z
MAINTAINER= johans@FreeBSD.org
COMMENT= Newsreader
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -Iconf" LDFLAGS="${LDFLAGS} -s"
pre-patch:
@${CP} ${WRKSRC}/config.h-dist ${WRKSRC}/config.h.unparsed
pre-build:
@${SED} 's#SUB_PREFIX#${PREFIX}#; s#SUB_MANPREFIX#${MANPREFIX}#' \
${WRKSRC}/config.h.unparsed > ${WRKSRC}/config.h
post-build:
@${REINPLACE_CMD} 's#${PREFIX}#$${DESTDIR}&#' ${WRKSRC}/inst
.include <bsd.port.mk>