- Convert to new option target helper

This commit is contained in:
Sunpoet Po-Chuan Hsieh 2015-07-06 17:46:30 +00:00
parent fdc29d4288
commit 57769ab34b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=391448

View file

@ -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>