mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
- Convert to new option target helper
This commit is contained in:
parent
fdc29d4288
commit
57769ab34b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=391448
@ -152,15 +152,18 @@ post-install:
|
||||
${TEST} -e ${STAGEDIR}${PREFIX}/bin/${file} || ${LN} -fs vim ${STAGEDIR}${PREFIX}/bin/${file}
|
||||
.endfor
|
||||
.endif
|
||||
.if ${PORT_OPTIONS:MDEFAULT_VIMRC}
|
||||
|
||||
post-install-DEFAULT_VIMRC-on:
|
||||
${MKDIR} ${STAGEDIR}${ETCDIR}
|
||||
${INSTALL_DATA} ${FILESDIR}/vimrc ${STAGEDIR}${ETCDIR}/gvimrc.sample
|
||||
${INSTALL_DATA} ${FILESDIR}/vimrc ${STAGEDIR}${ETCDIR}/vimrc.sample
|
||||
.endif
|
||||
.if !${PORT_OPTIONS:MNLS}
|
||||
|
||||
post-install-NLS-off:
|
||||
${MKDIR} ${STAGEDIR}${DATADIR}/${VIM_VER}/keymap/
|
||||
${INSTALL_DATA} ${WRKSRC}/runtime/keymap/* ${STAGEDIR}${DATADIR}/${VIM_VER}/keymap/
|
||||
.endif
|
||||
${INSTALL_DATA} ${FILESDIR}/vietnamese_viscii.vim ${STAGEDIR}${DATADIR}/${VIM_VER}/keymap/
|
||||
|
||||
post-install-NLS-on:
|
||||
${INSTALL_DATA} ${FILESDIR}/vietnamese_viscii.vim ${STAGEDIR}${DATADIR}/${VIM_VER}/keymap/
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user