1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00

Remove Makefile's install-user's target. The user should look sample

dot.*rc in ${PREFIX}/share/skel/zh_TW.Big5, instead of `make install-user`.

I also have to admit the RUN_DEPENDS section is too ugly, since it
strives identifying whether an installed port/package is Big5-ized.
For those which is unique or have "cookies", there should be no problem.
But the following still have problems, especially slave ports:

mutt
nvi-big5(if another version of nvi-m17n is installed)
pine4(not sure yet)
rxvt
aterm
tin
tintin++
xmms
This commit is contained in:
Jing-Tang Keith Jang 2000-11-09 06:09:55 +00:00
parent 17fd2ab3db
commit 12a48693e2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=34938
2 changed files with 44 additions and 38 deletions

View File

@ -13,62 +13,52 @@ EXTRACT_SUFX= .tgz
MAINTAINER= keichii@iteration.net
# The zh_TW.big5 in the linux-gtk section is not a typo.
RUN_DEPENDS= ${X11BASE}/lib/aout/zh-XFree86-aoutlibs-3.3.6:${PORTSDIR}/chinese/XFree86-aoutlibs \
cle_base:${PORTSDIR}/chinese/cle_base \
big5fs:${PORTSDIR}/chinese/big5fs \
kcfonts:${PORTSDIR}/chinese/kcfonts \
arphicttf:${PORTSDIR}/chinese/arphicttf \
moefonts-cid:${PORTSDIR}/chinese/moefonts-cid \
moettf:${PORTSDIR}/chinese/moettf \
autoconvert:${PORTSDIR}/chinese/autoconvert \
${LINUX_BASE}/CLE-0.9p1:${PORTSDIR}/chinese/cle_base \
${LOCALBASE}/modules/big5msdos.ko:${PORTSDIR}/chinese/big5fs \
${X11BASE}/lib/X11/fonts/local/kc24f.pcf.gz:${PORTSDIR}/chinese/kcfonts \
${X11BASE}/lib/X11/fonts/TrueType/bsmi00lp.ttf:${PORTSDIR}/chinese/arphicttf \
${LOCALBASE}/share/ghostscript/fonts/MOEKai-Regular:${PORTSDIR}/chinese/moefonts-cid \
${X11BASE}/lib/X11/fonts/TrueType/moe_sung.ttf:${PORTSDIR}/chinese/moettf \
autob5:${PORTSDIR}/chinese/autoconvert \
bg5ps:${PORTSDIR}/chinese/bg5ps \
acroread-chtfont:${PORTSDIR}/chinese/acroread-chtfont \
big5con:${PORTSDIR}/chinese/big5con \
libtabe:${PORTSDIR}/chinese/libtabe \
linux-gtk:${PORTSDIR}/chinese/linux-gtk \
${LOCALBASE}/Acrobat4/Resource/CIDFont/MSung-Light-Acro:${PORTSDIR}/chinese/acroread-chtfont \
b5c:${PORTSDIR}/chinese/big5con \
tsiadd:${PORTSDIR}/chinese/libtabe \
${LINUX_BASE}/etc/gtk/gtkrc.zh_TW.big5:${PORTSDIR}/chinese/linux-gtk \
mutt:${PORTSDIR}/chinese/mutt \
netscape47-communicator:${PORTSDIR}/chinese/netscape47-communicator \
nvi-big5:${PORTSDIR}/chinese/nvi-big5 \
pine4:${PORTSDIR}/chinese/pine4 \
pyDict:${PORTSDIR}/chinese/pyDict \
rxvt-big5:${PORTSDIR}/chinese/rxvt-big5 \
${LOCALBASE}/lib/netscape/zh_TW.Big5/Netscape:${PORTSDIR}/chinese/netscape47-communicator \
${LOCALBASE}/share/vi/README.japanese:${PORTSDIR}/chinese/nvi-big5 \
${LOCALBASE}/etc/dot.pinerc.sample:${PORTSDIR}/chinese/pine4 \
pydict:${PORTSDIR}/chinese/pyDict \
rxvt:${PORTSDIR}/chinese/rxvt-big5 \
aterm:${PORTSDIR}/chinese/aterm \
zh-telnet:${PORTSDIR}/chinese/telnet \
tin:${PORTSDIR}/chinese/tin \
tintin++:${PORTSDIR}/chinese/tintin++ \
ve:${PORTSDIR}/chinese/ve \
xcin25:${PORTSDIR}/chinese/xcin25 \
xemacs21:${PORTSDIR}/chinese/xemacs21 \
${LOCALBASE}/lib/xemacs-21.1.12/etc/app-defaults/zh_TW.Big5/Emacs:${PORTSDIR}/chinese/xemacs21 \
xmms:${PORTSDIR}/chinese/xmms
NO_BUILD= yes
post-install:
@${ECHO} "*************************************************************"
@${ECHO} "* English Instructions: *"
@${ECHO} "* After your install, you should type the following command *"
@${ECHO} "* as the normal user. *"
@${ECHO} "* WARNING: You should back up your configuration dotfiles *"
@${ECHO} "* WARNING: BEFORE you type the following. *"
@${ECHO} "* cd ${PORTSDIR}/chinese/auto-tw-l10n && make install-user *"
@${ECHO} "*************************************************************"
@${ECHO} "* 中文大五碼說明:(English users ignore following *"
@${ECHO} "* 在您安裝完畢後請以您平常的使用者shell打下面這行指令 *"
@${ECHO} "* 注意:請將您的使用者目錄各設定檔先備份 *"
@${ECHO} "* cd ${PORTSDIR}/chinese/auto-tw-l10n && make install-user *"
@${ECHO} "*************************************************************"
install-user:
do-install:
#Temporary hack before adduser is modified
# For future adduser
# adduser -l10n -v $HOME
${CP} ${WRKDIR}/zh_TW.Big5/* ${HOME}/
${MKDIR} ${PREFIX}/share/skel/zh_TW.Big5
${CP} ${WRKDIR}/zh_TW.Big5/* ${PREFIX}/share/skel/zh_TW.Big5
@${ECHO} "*************************************************************"
@${ECHO} "* English Instructions: *"
@${ECHO} "* Merge your backed up old dotfiles with the new ones. *"
@${ECHO} "* Please tell your users to merge their old dotfiles with *"
@${ECHO} "* the new ones, in *"
@${ECHO} "* ${PREFIX}/share/skel/zh_TW.Big5/dot.* *"
@${ECHO} "*************************************************************"
@${ECHO} "* 中文大五碼說明:(English users ignore following *"
@${ECHO} "* 請比對您的舊設定跟新設定 *"
@${ECHO} "* 中文大五碼說明: *"
@${ECHO} "* 請告知您的使用者比對他們的舊設定跟新設定, 在 *"
@${ECHO} "* ${PREFIX}/share/skel/zh_TW.Big5.dot.* *"
@${ECHO} "*************************************************************"
.include <bsd.port.mk>

View File

@ -1 +1,17 @@
@comment this plist intentionally left empty
share/skel/zh_TW.Big5/dot.Xdefaults
share/skel/zh_TW.Big5/dot.bashrc
share/skel/zh_TW.Big5/dot.cshrc
share/skel/zh_TW.Big5/dot.emacs
share/skel/zh_TW.Big5/dot.gtkrc
share/skel/zh_TW.Big5/dot.gtkrc.mine
share/skel/zh_TW.Big5/dot.inputrc
share/skel/zh_TW.Big5/dot.login
share/skel/zh_TW.Big5/dot.muttrc
share/skel/zh_TW.Big5/dot.profile
share/skel/zh_TW.Big5/dot.qti18nrc
share/skel/zh_TW.Big5/dot.vimrc
share/skel/zh_TW.Big5/dot.xcinrc
share/skel/zh_TW.Big5/dot.xinitrc
share/skel/zh_TW.Big5/dot.xsession
@unexec rmdir %D/share/skel/zh_TW.Big5 2>/dev/null || true
@unexec rmdir %D/share/skel 2>/dev/null || true