mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
1388438a59
PR: ports/85833 Submitted by: Nick Fishman <kwlogical@bellsouth.net> Approved by: jooji@nickelkid.com (maintainer, timeout 6 weeks)
37 lines
909 B
Makefile
37 lines
909 B
Makefile
# New ports collection makefile for: nn
|
|
# Date created: 24 September 1994
|
|
# Whom: adam
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= nn
|
|
PORTVERSION= 6.7.2
|
|
CATEGORIES= news
|
|
MASTER_SITES= ftp://ftp.nndev.org/pub/nn-6.7/%SUBDIR%/
|
|
MASTER_SITE_SUBDIR= . old
|
|
EXTRACT_SUFX= .tar.Z
|
|
|
|
MAINTAINER= jooji@nickelkid.com
|
|
COMMENT= Newsreader
|
|
|
|
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -Iconf" LDFLAGS="${LDFLAGS} -s"
|
|
|
|
MAN1= nn.1 nncheck.1 nngoback.1 nngrab.1 nngrep.1 nnpost.1 \
|
|
nntidy.1 nnview.1 nnacct.1m nnadmin.1m nnstats.1m nnusage.1m
|
|
MAN8= nnmaster.8 nnspew.8
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
pre-patch:
|
|
@${CP} ${WRKSRC}/config.h-dist ${WRKSRC}/config.h.unparsed
|
|
|
|
pre-build:
|
|
@${CAT} ${WRKSRC}/config.h.unparsed | ${SED} -e "s#SUB_PREFIX#${PREFIX}#" \
|
|
| ${SED} -e "s#SUB_MANPREFIX#${MANPREFIX}#" > ${WRKSRC}/config.h
|
|
|
|
post-install:
|
|
@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${DISTNAME} POST-INSTALL
|
|
|
|
.include <bsd.port.post.mk>
|