1998-02-08 20:02:51 +00:00
|
|
|
# New ports collection makefile for: cnet
|
2000-03-08 17:02:06 +00:00
|
|
|
# Version required: 1.5p2
|
1998-02-08 20:02:51 +00:00
|
|
|
# Date created: Feb 8th, 1988
|
|
|
|
# Whom: jkh
|
|
|
|
#
|
1999-08-30 14:24:37 +00:00
|
|
|
# $FreeBSD$
|
1998-02-08 20:02:51 +00:00
|
|
|
#
|
|
|
|
|
2000-03-08 17:02:06 +00:00
|
|
|
DISTNAME= cnet-1.5-2
|
|
|
|
PKGNAME= cnet-1.5p2
|
|
|
|
CATEGORIES= net tk82
|
|
|
|
MASTER_SITES= http://www.cs.uwa.edu.au/cnet/
|
1998-02-08 20:02:51 +00:00
|
|
|
|
1999-03-15 02:03:38 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
|
2000-03-08 17:02:06 +00:00
|
|
|
LIB_DEPENDS= tk82.1:${PORTSDIR}/x11-toolkits/tk82 \
|
1998-11-29 22:27:20 +00:00
|
|
|
Xpm.4:${PORTSDIR}/graphics/xpm
|
1998-02-08 20:02:51 +00:00
|
|
|
|
2000-03-08 17:02:06 +00:00
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
ALL_TARGET= # empty
|
1998-02-08 20:02:51 +00:00
|
|
|
MAN1= cnet.1
|
|
|
|
|
2000-03-08 17:02:06 +00:00
|
|
|
post-extract:
|
1998-02-16 10:54:05 +00:00
|
|
|
${CP} ${FILESDIR}/Makefile.freebsd ${WRKSRC}/src
|
2000-03-08 17:02:06 +00:00
|
|
|
@${MKDIR} ${WRKSRC}/src/freebsd
|
1998-02-16 10:54:05 +00:00
|
|
|
${CP} ${FILESDIR}/compile.c ${WRKSRC}/src/freebsd
|
1998-02-08 20:02:51 +00:00
|
|
|
|
2000-03-08 17:02:06 +00:00
|
|
|
post-patch:
|
|
|
|
@${PERL} -pi.in \
|
|
|
|
-e "s|%%CC%%|${CC}|g;" \
|
|
|
|
-e "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} ${PREFIX}/libdata/cnet
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/src/tcltk/cnet.tcl ${PREFIX}/libdata/cnet
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/src/tcltk/cnet_icon.bmp ${PREFIX}/libdata/cnet
|
|
|
|
@${MKDIR} ${PREFIX}/share/examples/cnet
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/EXAMPLES/* ${PREFIX}/share/examples/cnet
|
1998-02-08 20:02:51 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|