mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
de78dd974b
broken at that time and no fix has been submitted.
46 lines
1.1 KiB
Makefile
46 lines
1.1 KiB
Makefile
# New ports collection makefile for: zh-vim-scdoc
|
|
# Date created: Feb 3 2004
|
|
# Whom: hamigua <hamigua@hotpop.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= vim-scdoc
|
|
PORTVERSION= 0.8.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= chinese
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME:S/-s//}
|
|
DISTNAME= ${PORTNAME:S/-s//}-${PORTVERSION}
|
|
|
|
MAINTAINER= liu_yinghong@yahoo.com.cn
|
|
COMMENT= Vim documentation Simplified Chinese
|
|
|
|
RUN_DEPENDS= vim:${PORTSDIR}/editors/vim
|
|
|
|
BROKEN= Does not build
|
|
DEPRECATED= ${BROKEN}
|
|
EXPIRATION_DATE=2007-04-10
|
|
|
|
PLIST_SUB= PATH_SUB=vim64
|
|
NO_BUILD= yes
|
|
VIM_PATH= ${PREFIX}/share/vim/vim64
|
|
VIM_DOCS_PATH= ${VIM_PATH}/doc.zh_CN
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
|
|
|
do-install:
|
|
@${MKDIR} ${WRKSRC}/doc.zh_CN
|
|
${CP} -rf ${WRKSRC}/doc/ ${WRKSRC}/doc.zh_CN/
|
|
(cd ${WRKSRC}; ${TAR} -cf - doc.zh_CN) | \
|
|
${TAR} --exclude CVS -xf - -C ${VIM_PATH}/
|
|
.for i in AUTHORS INSTALL README VERSION help_cn.vim ChangeLog LICENSE TODO dict.txt guides.txt
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${VIM_DOCS_PATH}/
|
|
.endfor
|
|
|
|
post-install:
|
|
@${SED} "s|%%PREFIX%%|${PREFIX}|g" \
|
|
${.CURDIR}/pkg-message > ${PKGMESSAGE}
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|