1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/net/cnet/Makefile

46 lines
1.2 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: cnet
# Date created: Feb 8th, 1988
# Whom: jkh
#
1999-08-30 14:24:37 +00:00
# $FreeBSD$
#
PORTNAME= cnet
PORTVERSION= 1.5.p2
CATEGORIES= net tk82
MASTER_SITES= http://www.cs.uwa.edu.au/cnet/
DISTNAME= cnet-1.5-2
MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= tk82.1:${PORTSDIR}/x11-toolkits/tk82 \
1998-11-29 22:27:20 +00:00
Xpm.4:${PORTSDIR}/graphics/xpm
USE_X_PREFIX= yes
USE_GMAKE= yes
ALL_TARGET= # empty
MAN1= cnet.1
post-extract:
${CP} ${FILESDIR}/Makefile.freebsd ${WRKSRC}/src
@${MKDIR} ${WRKSRC}/src/freebsd
${CP} ${FILESDIR}/compile.c ${WRKSRC}/src/freebsd
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
.include <bsd.port.mk>