1999-01-27 01:33:13 +00:00
|
|
|
# New ports collection makefile for: mars_nwe
|
|
|
|
# Date created: 29 Dec 1998
|
1999-09-27 05:27:54 +00:00
|
|
|
# Whom: Boris Popov <bp@FreeBSD.org>
|
1999-01-27 01:33:13 +00:00
|
|
|
#
|
1999-08-30 14:24:37 +00:00
|
|
|
# $FreeBSD$
|
1999-01-27 01:33:13 +00:00
|
|
|
#
|
|
|
|
|
2000-04-09 18:14:07 +00:00
|
|
|
PORTNAME= mars_nwe
|
2000-07-05 08:06:38 +00:00
|
|
|
PORTVERSION= 0.99.b19
|
2001-01-30 22:05:10 +00:00
|
|
|
PORTREVISION= 1
|
1999-01-27 01:33:13 +00:00
|
|
|
CATEGORIES= net
|
2002-05-04 21:33:56 +00:00
|
|
|
MASTER_SITES= ftp://www.compu-art.de/mars_nwe/ \
|
1999-01-27 01:33:13 +00:00
|
|
|
ftp://ftp.gwdg.de/pub/linux/misc/ncpfs/mars_nwe/ \
|
|
|
|
ftp://ftp.butya.kz/pub/mars_nwe/
|
2000-07-05 08:06:38 +00:00
|
|
|
DISTNAME= mars_nwe-0.99.pl19
|
1999-01-27 01:33:13 +00:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
1999-09-27 05:27:54 +00:00
|
|
|
MAINTAINER= bp@FreeBSD.org
|
1999-01-27 01:33:13 +00:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/mars_nwe
|
|
|
|
|
2000-05-16 07:45:41 +00:00
|
|
|
PLIST= ${WRKDIR}/PLIST.DYN
|
|
|
|
|
|
|
|
NDOCDIR= ${PREFIX}/share/doc/mars_nwe
|
|
|
|
|
1999-01-27 01:33:13 +00:00
|
|
|
do-build:
|
|
|
|
@(cd ${WRKSRC} && ${MAKE} all)
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
@(cd ${WRKSRC} && ./mk.li install)
|
1999-09-27 08:35:51 +00:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/examples/nw.ini ${PREFIX}/etc/nwserv.conf.example
|
1999-03-08 17:27:46 +00:00
|
|
|
@${ECHO} "Please read details in ${WORKDIR}/mars_nwe/doc directory."
|
2000-05-16 07:45:41 +00:00
|
|
|
|
|
|
|
pre-install:
|
2000-10-08 03:54:56 +00:00
|
|
|
@cp ${PKGDIR}/pkg-plist ${WRKDIR}/PLIST.DYN
|
2000-05-16 07:45:41 +00:00
|
|
|
.if !defined(NOPORSDOCS)
|
2000-10-08 03:54:56 +00:00
|
|
|
@cat ${PKGDIR}/pkg-plist.DOC >> ${WRKDIR}/PLIST.DYN
|
2000-05-16 07:45:41 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${SED} -e "/%%PREFIX%%/s##${PREFIX}#g" \
|
|
|
|
${FILESDIR}/nwserv.sh \
|
|
|
|
>${PREFIX}/etc/rc.d/nwserv.sh
|
|
|
|
@${CHMOD} 0755 ${PREFIX}/etc/rc.d/nwserv.sh
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@if ! [ -d ${NDOCDIR} ]; then ${MKDIR} ${NDOCDIR}; fi
|
|
|
|
${RM} -f ${WRKSRC}/doc/*.orig
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/* ${NDOCDIR}
|
|
|
|
.endif
|
|
|
|
@${ECHO_MSG} "Look in ${NDOCDIR} for documentation."
|
1999-01-27 01:33:13 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|