1998-02-08 20:02:51 +00:00
|
|
|
# New ports collection makefile for: cnet
|
|
|
|
# Date created: Feb 8th, 1988
|
|
|
|
# Whom: jkh
|
|
|
|
#
|
1999-08-30 14:24:37 +00:00
|
|
|
# $FreeBSD$
|
1998-02-08 20:02:51 +00:00
|
|
|
#
|
2006-03-18 22:13:05 +00:00
|
|
|
# $Tecnik: ports/net/cnet/Makefile,v 1.5 2006/03/18 20:13:12 itetcu Exp $
|
|
|
|
#
|
1998-02-08 20:02:51 +00:00
|
|
|
|
2000-04-09 18:14:07 +00:00
|
|
|
PORTNAME= cnet
|
2006-03-10 17:35:29 +00:00
|
|
|
PORTVERSION= 2.0.10
|
2008-03-23 23:03:18 +00:00
|
|
|
PORTREVISION= 2
|
2008-04-09 13:42:26 +00:00
|
|
|
CATEGORIES= net tcl tk
|
2006-03-18 22:13:05 +00:00
|
|
|
MASTER_SITES= http://www.csse.uwa.edu.au/cnet/ \
|
|
|
|
ftp://ftp.giga.net.tw/OS/FreeBSD/distfiles/ \
|
2008-03-25 09:41:13 +00:00
|
|
|
http://T32.TecNik93.com/FreeBSD/ports/${PORTNAME}/sources/
|
2001-08-28 05:35:40 +00:00
|
|
|
EXTRACT_SUFX= .tgz
|
1998-02-08 20:02:51 +00:00
|
|
|
|
2008-03-25 09:41:13 +00:00
|
|
|
MAINTAINER= itetcu@FreeBSD.org
|
2003-02-20 19:00:52 +00:00
|
|
|
COMMENT= A networking simulator
|
1999-03-15 02:03:38 +00:00
|
|
|
|
2003-08-17 02:29:36 +00:00
|
|
|
LIB_DEPENDS= tk84.1:${PORTSDIR}/x11-toolkits/tk84
|
1998-02-08 20:02:51 +00:00
|
|
|
|
2008-03-23 23:03:18 +00:00
|
|
|
USE_XORG= xpm
|
2000-03-08 17:02:06 +00:00
|
|
|
USE_GMAKE= yes
|
|
|
|
ALL_TARGET= # empty
|
1998-02-08 20:02:51 +00:00
|
|
|
MAN1= cnet.1
|
|
|
|
|
2005-07-20 23:58:25 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${ARCH} == "ia64" || ${ARCH} == "amd64"
|
2006-03-18 22:13:05 +00:00
|
|
|
BROKEN= Does not compile on amd64 or ia64
|
2005-07-20 23:58:25 +00:00
|
|
|
.endif
|
|
|
|
|
2000-03-08 17:02:06 +00:00
|
|
|
post-patch:
|
2005-06-12 11:04:19 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|8.3|8.4|g ; \
|
|
|
|
s|83|84|g' ${WRKSRC}/src/Makefile.freebsd
|
2002-06-23 06:04:01 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|%%CC%%|${CC}|g ; \
|
2001-08-28 05:35:40 +00:00
|
|
|
s|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/src/config.h
|
2000-03-08 17:02:06 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/cnet ${PREFIX}/bin
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/src/cnet.h ${PREFIX}/include
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/DOC/cnet.man ${PREFIX}/man/man1/cnet.1
|
2001-08-28 05:35:40 +00:00
|
|
|
@${MKDIR} ${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/cnetlib/* ${DATADIR}
|
2001-03-08 17:15:58 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2000-03-08 17:02:06 +00:00
|
|
|
@${MKDIR} ${PREFIX}/share/examples/cnet
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/EXAMPLES/* ${PREFIX}/share/examples/cnet
|
2001-08-28 05:35:40 +00:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/DOC/*.html ${DOCSDIR}
|
|
|
|
@${MKDIR} ${DOCSDIR}/images
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/DOC/images/* ${DOCSDIR}/images
|
2000-07-22 07:22:57 +00:00
|
|
|
.endif
|
1998-02-08 20:02:51 +00:00
|
|
|
|
2005-07-20 23:58:25 +00:00
|
|
|
.include <bsd.port.post.mk>
|