summaryrefslogtreecommitdiff
path: root/japanese/gn-mnews/Makefile
blob: 47024eba90a0b94d36156be78290c5a093c6b9ef (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
33
34
35
# New ports collection makefile for:	gn-mnews
# Version required:		1.20
# Date created:			7 Feb 1997
# Whom:				Kiroh HARADA <kiroh@jp.freebsd.org>
#
# $Id: Makefile,v 1.3 1999/02/05 22:45:56 sada Exp $
#

DISTNAME=	mnews120
PKGNAME=	ja-gn-mnews-1.20
CATEGORIES=	japanese news
MASTER_SITES=	ftp://ftp.mei.co.jp/free/Network/news/readers/

MAINTAINER=	seiken@ARGV.AC

RUN_DEPENDS=	gninews:${PORTSDIR}/japanese/gn-gnspool \
		mnews:${PORTSDIR}/japanese/mnews

NO_PACKAGE=	"Redistribution of binary built from modified source is prohibited"

WRKSRC=		${WRKDIR}/mnews-1.20/build

do-configure:
	@for f in Makefile site_dep.h ; do \
	  ${SED} s+@PREFIX@+${PREFIX}+ ${FILESDIR}/$$f.in > ${WRKSRC}/$$f ; done

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/mnews ${PREFIX}/bin/gnmnews

post-install:
	@${ECHO} "You must have gn/gnspool configured to your environment,"
	@${ECHO} "before using gn-mnews.  Please refer to gn documents and"
	@${ECHO} "${PREFIX}/share/doc/mnews/gnspool.doc"

.include <bsd.port.mk>