diff options
author | petef <petef@FreeBSD.org> | 2001-08-28 13:35:40 +0800 |
---|---|---|
committer | petef <petef@FreeBSD.org> | 2001-08-28 13:35:40 +0800 |
commit | 9c9e21c257bc0b247c47145057bd130ca35d1eef (patch) | |
tree | 799b988c763d1e0bceed123db794f40accaaa4ee /net/cnet/Makefile | |
parent | 44611f3fc6185fc71cd4d4326557946256349e57 (diff) | |
download | freebsd-ports-graphics-9c9e21c257bc0b247c47145057bd130ca35d1eef.tar.gz freebsd-ports-graphics-9c9e21c257bc0b247c47145057bd130ca35d1eef.tar.zst freebsd-ports-graphics-9c9e21c257bc0b247c47145057bd130ca35d1eef.zip |
- update to 1.7.4
- use tk83
PR: 30143
Submitted by: KATO Tsuguru <tkato@prontomail.com>
Diffstat (limited to 'net/cnet/Makefile')
-rw-r--r-- | net/cnet/Makefile | 32 |
1 files changed, 14 insertions, 18 deletions
diff --git a/net/cnet/Makefile b/net/cnet/Makefile index 776cef9be35..5c656fca285 100644 --- a/net/cnet/Makefile +++ b/net/cnet/Makefile @@ -6,14 +6,14 @@ # PORTNAME= cnet -PORTVERSION= 1.6 -PORTREVISION= 3 -CATEGORIES= net tk82 +PORTVERSION= 1.7.4 +CATEGORIES= net tk83 MASTER_SITES= http://www.cs.uwa.edu.au/cnet/ +EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org -LIB_DEPENDS= tk82.1:${PORTSDIR}/x11-toolkits/tk82 +LIB_DEPENDS= tk83.1:${PORTSDIR}/x11-toolkits/tk83 USE_X_PREFIX= yes USE_XPM= yes @@ -21,29 +21,25 @@ USE_GMAKE= yes ALL_TARGET= # empty MAN1= cnet.1 -post-extract: - ${CP} ${FILESDIR}/Makefile.freebsd ${WRKSRC}/src - ${CP} ${FILESDIR}/compile.c ${WRKSRC}/src/compile/freebsd.c - post-patch: - @${PERL} -pi.in \ - -e "s|%%CC%%|${CC}|g;" \ - -e "s|%%PREFIX%%|${PREFIX}|g;" \ - ${WRKSRC}/src/config.h + @${PERL} -pi -e 's|8.2|8.3|g ; \ + s|82|83|g' ${WRKSRC}/src/Makefile.freebsd + @${PERL} -pi -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} ${PREFIX}/share/cnet - ${INSTALL_DATA} ${WRKSRC}/cnetlib/* ${PREFIX}/share/cnet + @${MKDIR} ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/cnetlib/* ${DATADIR} .if !defined(NOPORTDOCS) @${MKDIR} ${PREFIX}/share/examples/cnet ${INSTALL_DATA} ${WRKSRC}/EXAMPLES/* ${PREFIX}/share/examples/cnet - @${MKDIR} ${PREFIX}/share/doc/cnet - ${INSTALL_DATA} ${WRKSRC}/DOC/*.html ${PREFIX}/share/doc/cnet - @${MKDIR} ${PREFIX}/share/doc/cnet/images - ${INSTALL_DATA} ${WRKSRC}/DOC/images/* ${PREFIX}/share/doc/cnet/images + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/DOC/*.html ${DOCSDIR} + @${MKDIR} ${DOCSDIR}/images + ${INSTALL_DATA} ${WRKSRC}/DOC/images/* ${DOCSDIR}/images .endif .include <bsd.port.mk> |