1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/net/mars_nwe/Makefile

52 lines
1.3 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: mars_nwe
# Date created: 29 Dec 1998
# Whom: Boris Popov <bp@FreeBSD.org>
#
1999-08-30 14:24:37 +00:00
# $FreeBSD$
#
PORTNAME= mars_nwe
2000-07-05 08:06:38 +00:00
PORTVERSION= 0.99.b19
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-07-05 08:06:38 +00:00
DISTNAME= mars_nwe-0.99.pl19
EXTRACT_SUFX= .tgz
MAINTAINER= bp@FreeBSD.org
WRKSRC= ${WRKDIR}/mars_nwe
2000-05-16 07:45:41 +00:00
PLIST= ${WRKDIR}/PLIST.DYN
NDOCDIR= ${PREFIX}/share/doc/mars_nwe
do-build:
@(cd ${WRKSRC} && ${MAKE} all)
do-install:
@(cd ${WRKSRC} && ./mk.li install)
@${INSTALL_DATA} ${WRKSRC}/examples/nw.ini ${PREFIX}/etc/nwserv.conf.example
@${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."
.include <bsd.port.mk>