1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/net/cnet/Makefile
Chris D. Faulhaber 2324fd2b3d Update port to 1.5p2
PR:		17234
Submitted by:	KATO Tsuguru <tkato@prontomail.ne.jp>
2000-03-08 17:02:06 +00:00

46 lines
1.2 KiB
Makefile

# New ports collection makefile for: cnet
# Version required: 1.5p2
# Date created: Feb 8th, 1988
# Whom: jkh
#
# $FreeBSD$
#
DISTNAME= cnet-1.5-2
PKGNAME= cnet-1.5p2
CATEGORIES= net tk82
MASTER_SITES= http://www.cs.uwa.edu.au/cnet/
MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= tk82.1:${PORTSDIR}/x11-toolkits/tk82 \
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>