aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chinese/celvis/Makefile9
-rw-r--r--chinese/celvis/pkg-plist1
2 files changed, 4 insertions, 6 deletions
diff --git a/chinese/celvis/Makefile b/chinese/celvis/Makefile
index 6cb74650c471..86ac90c061a6 100644
--- a/chinese/celvis/Makefile
+++ b/chinese/celvis/Makefile
@@ -11,14 +11,11 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Vi/ex clone that speaks Chinese
CFLAGS+= -Wno-error=return-type
-MAN1= celvis.1
-MLINKS= celvis.1 cvi.1
-NO_STAGE= yes
do-install:
@# install target in celvis Makefile is not too good -- this is easier
- ${INSTALL_PROGRAM} ${WRKSRC}/celvis ${WRKSRC}/virec ${PREFIX}/bin
- ${LN} -f ${PREFIX}/bin/celvis ${PREFIX}/bin/cvi
- ${INSTALL_MAN} ${FILESDIR}/celvis.1 ${PREFIX}/man/man1/celvis.1
+ ${INSTALL_PROGRAM} ${WRKSRC}/celvis ${WRKSRC}/virec ${STAGEDIR}${PREFIX}/bin
+ ${LN} -s celvis ${STAGEDIR}${PREFIX}/bin/cvi
+ ${INSTALL_MAN} ${FILESDIR}/celvis.1 ${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>
diff --git a/chinese/celvis/pkg-plist b/chinese/celvis/pkg-plist
index dac90a84475e..ea799f035bb2 100644
--- a/chinese/celvis/pkg-plist
+++ b/chinese/celvis/pkg-plist
@@ -1,3 +1,4 @@
bin/celvis
bin/cvi
bin/virec
+man/man1/celvis.1.gz