diff options
author | sada <sada@FreeBSD.org> | 2002-05-16 19:40:00 +0000 |
---|---|---|
committer | sada <sada@FreeBSD.org> | 2002-05-16 19:40:00 +0000 |
commit | 3f579479554d6fe42d545412fcd20398decdcacd (patch) | |
tree | 28532d3e24cbc1802bbfa8d7dd948313a4d4ba83 /chinese | |
parent | 505ddbaa92839ef19f4e8d0bebafb07074a48ad6 (diff) | |
download | FreeBSD-ports-3f579479554d6fe42d545412fcd20398decdcacd.zip FreeBSD-ports-3f579479554d6fe42d545412fcd20398decdcacd.tar.gz |
- fix missing header file problem.
- change maintainer's email address.
PR: ports/37538
Submitted by: maintainer
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/telnet/Makefile | 23 |
1 files changed, 7 insertions, 16 deletions
diff --git a/chinese/telnet/Makefile b/chinese/telnet/Makefile index 19defbe..1916123 100644 --- a/chinese/telnet/Makefile +++ b/chinese/telnet/Makefile @@ -11,39 +11,30 @@ CATEGORIES= chinese MASTER_SITES= # none DISTFILES= # none -MAINTAINER= leeym@cae.ce.ntu.edu.tw +MAINTAINER= leeym@leeym.com SRCDIR= /usr/src/usr.bin/telnet +MAN1= zh-telnet.1 -.include <bsd.port.pre.mk> do-extract: .if exists (${SRCDIR}) @${MKDIR} ${WRKDIR} @${CP} -R ${SRCDIR} ${WRKSRC} -.if ${OSVERSION} > 500000 @${MKDIR} ${WRKSRC}/lib @${CP} -R /usr/src/lib/libtelnet ${WRKSRC}/lib -.endif .else BROKEN= "You need to build this port with ${SRCDIR}" .endif -MAN1= zh-telnet.1 - -.if ${OSVERSION} > 500000 pre-patch: - @${PERL} -pi -e 's,/../..,,' ${WRKSRC}/Makefile + @${PERL} -pi -e 's,/../..,,g' ${WRKSRC}/Makefile pre-build: - @cd ${WRKSRC}/lib/libtelnet; \ - ${MAKE} -.endif + @cd ${WRKSRC}/lib/libtelnet && ${MAKE} do-install: - @cd ${WRKSRC}; \ - ${CP} telnet.1 ${MAN1}; \ - ${INSTALL_PROGRAM} ${WRKSRC}/telnet ${PREFIX}/bin/zh-telnet; \ - ${INSTALL_MAN} ${MAN1} ${PREFIX}/man/man1 + @${INSTALL_PROGRAM} ${WRKSRC}/telnet ${PREFIX}/bin/zh-telnet + @${INSTALL_MAN} ${WRKSRC}/telnet.1 ${PREFIX}/man/man1/${MAN1} -.include <bsd.port.post.mk> +.include <bsd.port.mk> |