Fix main distsite -- they finally s/PUB/pub/
Use MLINKS over my manual method Use hard link over symlink for the alternate binary name.
This commit is contained in:
parent
2c344b40d3
commit
52fda226e3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=21877
@ -10,7 +10,7 @@
|
||||
DISTNAME= celvis
|
||||
PKGNAME= zh-celvis-1.3
|
||||
CATEGORIES= chinese editors
|
||||
MASTER_SITES= ftp://ftp.edu.cn/PUB/Chinese/
|
||||
MASTER_SITES= ftp://ftp.edu.cn/pub/Chinese/
|
||||
#
|
||||
# switch to http://www.ifcss.org/ftp-pub/software/unix/editor/celvis-1.3.tar.gz
|
||||
# if the distfile becomes unfetchable again. Note this ver is slightly
|
||||
@ -19,16 +19,12 @@ MASTER_SITES= ftp://ftp.edu.cn/PUB/Chinese/
|
||||
MAINTAINER= obrien@FreeBSD.org
|
||||
|
||||
MAN1= celvis.1
|
||||
MLINKS= celvis.1 cvi.1
|
||||
|
||||
do-install:
|
||||
@# install target in celvis Makefile is not too good -- this is easier
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/celvis ${WRKSRC}/virec ${PREFIX}/bin
|
||||
${LN} -sf ${PREFIX}/bin/celvis ${PREFIX}/bin/cvi
|
||||
${LN} -f ${PREFIX}/bin/celvis ${PREFIX}/bin/cvi
|
||||
${INSTALL_MAN} ${FILESDIR}/celvis.1 ${PREFIX}/man/man1/celvis.1
|
||||
.if !defined{NOMANCOMPRESS}
|
||||
${LN} -sf ${PREFIX}/man/man1/celvis.1.gz ${PREFIX}/man/man1/cvi.1.gz
|
||||
.else
|
||||
${LN} -sf ${PREFIX}/man/man1/celvis.1 ${PREFIX}/man/man1/cvi.1
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user