aboutsummaryrefslogtreecommitdiff
path: root/chinese/celvis/Makefile
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1999-09-22 06:04:45 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1999-09-22 06:04:45 +0000
commit52fda226e3cc3d4b30969e8a79b6a06cd4416ec9 (patch)
treea0f2e12dbe5a26e7574107c19f0f0981217518d9 /chinese/celvis/Makefile
parent2c344b40d32458463cbb9e9546a05fb492aee1fd (diff)
downloadports-52fda226e3cc3d4b30969e8a79b6a06cd4416ec9.tar.gz
ports-52fda226e3cc3d4b30969e8a79b6a06cd4416ec9.zip
Fix main distsite -- they finally s/PUB/pub/
Use MLINKS over my manual method Use hard link over symlink for the alternate binary name.
Notes
Notes: svn path=/head/; revision=21877
Diffstat (limited to 'chinese/celvis/Makefile')
-rw-r--r--chinese/celvis/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/chinese/celvis/Makefile b/chinese/celvis/Makefile
index c8cb58fccf67..c46843286e1b 100644
--- a/chinese/celvis/Makefile
+++ b/chinese/celvis/Makefile
@@ -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>