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-05-16 07:45:41 +00:00
|
|
|
PORTVERSION= 0.99.b18
|
1999-01-27 01:33:13 +00:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= http://www.compu-art.de/download/ \
|
|
|
|
ftp://ftp.gwdg.de/pub/linux/misc/ncpfs/mars_nwe/ \
|
|
|
|
ftp://ftp.butya.kz/pub/mars_nwe/
|
2000-05-16 07:45:41 +00:00
|
|
|
DISTNAME= mars_nwe-0.99.pl18
|
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:
|
|
|
|
@cp ${PKGDIR}/PLIST ${WRKDIR}/PLIST.DYN
|
|
|
|
.if !defined(NOPORSDOCS)
|
|
|
|
@cat ${PKGDIR}/PLIST.DOC >> ${WRKDIR}/PLIST.DYN
|
|
|
|
.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>
|