c654ff71d6
Use libXpm buildlink3 instead of xpm. Should be no change for default setup because that points to xpm anyways. This needed X intrinsic's headers, so also include on libXt/buildlink3.mk. Also no change as in non-modular pkgsrc usage it will include x11.buildlink3.mk instead.
37 lines
1 KiB
Makefile
37 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.26 2006/11/13 17:56:38 reed Exp $
|
|
|
|
PKGNAME= vim-gtk2-${VIM_VERSION}.${VIM_PATCHLEVEL}
|
|
#PKGREVISION= 1
|
|
|
|
COMMENT= Vim editor (vi clone) with X11 GTK2 GUI
|
|
|
|
.include "../../editors/vim-share/Makefile.common"
|
|
|
|
DEPENDS+= vim-share-${VIM_VERSION}.${VIM_PATCHLEVEL}{,nb*}:../../editors/vim-share
|
|
CONFLICTS+= vim-[0-9]* vim-gtk-[0-9]* vim-motif-[0-9]*
|
|
CONFLICTS+= vim-xaw-[0-9]* vim-kde-[0-9]*
|
|
|
|
CONFIGURE_ARGS+= --enable-gui=gtk2
|
|
CONFIGURE_ARGS+= --with-tlib=ncurses
|
|
|
|
USE_TOOLS+= pkg-config
|
|
|
|
BUILD_TARGET= vim
|
|
INSTALL_TARGET= installvimbin
|
|
|
|
post-install:
|
|
.for f in gvim.1 gview.1 rgvim.1 rgview.1
|
|
${RM} -f ${PREFIX:Q}/${PKGMANDIR}/man1/${f:Q}
|
|
${LN} -s vim.1 ${PREFIX:Q}/${PKGMANDIR}/man1/${f:Q}
|
|
.endfor
|
|
.for f in gvim gview rgvim rgview rvim rview
|
|
${RM} -f ${PREFIX:Q}/bin/${f:Q}
|
|
${LN} -s vim ${PREFIX:Q}/bin/${f:Q}
|
|
.endfor
|
|
|
|
.include "../../devel/ncurses/buildlink3.mk"
|
|
.include "../../x11/libXpm/buildlink3.mk"
|
|
.include "../../x11/libXt/buildlink3.mk"
|
|
.include "../../x11/gtk2/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|