aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/c2t
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2013-09-26 22:35:04 +0800
committervanilla <vanilla@FreeBSD.org>2013-09-26 22:35:04 +0800
commit790daaea843b9d76278405e2384e89409f9e3219 (patch)
tree83d19ba96c927de4ba74fdf2098c79ef6ac86722 /chinese/c2t
parent9e5d4dfaadeab52d5bd2e44a8daecfe0a25b4561 (diff)
downloadfreebsd-ports-gnome-790daaea843b9d76278405e2384e89409f9e3219.tar.gz
freebsd-ports-gnome-790daaea843b9d76278405e2384e89409f9e3219.tar.zst
freebsd-ports-gnome-790daaea843b9d76278405e2384e89409f9e3219.zip
Support stage.
Diffstat (limited to 'chinese/c2t')
-rw-r--r--chinese/c2t/Makefile10
-rw-r--r--chinese/c2t/pkg-plist1
2 files changed, 5 insertions, 6 deletions
diff --git a/chinese/c2t/Makefile b/chinese/c2t/Makefile
index 824af93822c9..f25dae7b16b0 100644
--- a/chinese/c2t/Makefile
+++ b/chinese/c2t/Makefile
@@ -13,13 +13,11 @@ COMMENT= Translates GB/Big5 encoding to tone pinyin
NO_WRKSUBDIR= yes
EXTRACT_ONLY= c2t.tar.gz
-MAN1= c2t.1
-NO_STAGE= yes
do-install:
- @${MKDIR} ${PREFIX}/share/chinese/gb
- ${INSTALL_PROGRAM} ${WRKSRC}/c2t ${PREFIX}/bin
- ${INSTALL_DATA} ${DISTDIR}/TONEPY.tit ${PREFIX}/share/chinese/gb
- ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${PREFIX}/man/man1
+ @${MKDIR} ${STAGEDIR}/${PREFIX}/share/chinese/gb
+ ${INSTALL_PROGRAM} ${WRKSRC}/c2t ${STAGEDIR}/${PREFIX}/bin
+ ${INSTALL_DATA} ${DISTDIR}/TONEPY.tit ${STAGEDIR}/${PREFIX}/share/chinese/gb
+ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}/${PREFIX}/man/man1
.include <bsd.port.mk>
diff --git a/chinese/c2t/pkg-plist b/chinese/c2t/pkg-plist
index 2599a95b9d6c..671eff0948d6 100644
--- a/chinese/c2t/pkg-plist
+++ b/chinese/c2t/pkg-plist
@@ -1,5 +1,6 @@
@comment $FreeBSD$
bin/c2t
+man/man1/c2t.1.gz
share/chinese/gb/TONEPY.tit
@dirrmtry share/chinese/gb
@dirrmtry share/chinese