1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/net/cnet/Makefile
Florent Thoumie d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00

57 lines
1.5 KiB
Makefile

# New ports collection makefile for: cnet
# Date created: Feb 8th, 1988
# Whom: jkh
#
# $FreeBSD$
#
# $Tecnik: ports/net/cnet/Makefile,v 1.5 2006/03/18 20:13:12 itetcu Exp $
#
PORTNAME= cnet
PORTVERSION= 2.0.10
PORTREVISION= 1
CATEGORIES= net tcl84 tk84
MASTER_SITES= http://www.csse.uwa.edu.au/cnet/ \
ftp://ftp.giga.net.tw/OS/FreeBSD/distfiles/ \
http://people.tecnik93.com/~itetcu/ports/${PORTNAME}/sources/
EXTRACT_SUFX= .tgz
MAINTAINER= itetcu@people.tecnik93.com
COMMENT= A networking simulator
LIB_DEPENDS= tk84.1:${PORTSDIR}/x11-toolkits/tk84
USE_XPM= yes
USE_GMAKE= yes
ALL_TARGET= # empty
MAN1= cnet.1
.include <bsd.port.pre.mk>
.if ${ARCH} == "ia64" || ${ARCH} == "amd64"
BROKEN= Does not compile on amd64 or ia64
.endif
post-patch:
@${REINPLACE_CMD} -e 's|8.3|8.4|g ; \
s|83|84|g' ${WRKSRC}/src/Makefile.freebsd
@${REINPLACE_CMD} -e 's|%%CC%%|${CC}|g ; \
s|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/src/config.h
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
@${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/cnetlib/* ${DATADIR}
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/examples/cnet
${INSTALL_DATA} ${WRKSRC}/EXAMPLES/* ${PREFIX}/share/examples/cnet
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/DOC/*.html ${DOCSDIR}
@${MKDIR} ${DOCSDIR}/images
${INSTALL_DATA} ${WRKSRC}/DOC/images/* ${DOCSDIR}/images
.endif
.include <bsd.port.post.mk>