editors/elvis editors/elvis-x11 The latter is now just editors/elvis built with a specific set of options. Changes include: + Add options.mk that supports a new "x11" option. + Remove Makefile.common and move all logic into elvis/Makefile and elvis/options.mk. + Rename PLIST.common to PLIST as there are no PLIST differences between elvis and elvis-x11. + Modify patch-ab to add a --sysconfdir option to the configure script and fix the parsing of --with-x* options so that --with-xft isn't ignored. + Modify patch-ac to handle SYSCONFDIR in Makefile.in passed in from the configure script. + Remove the unnecessary substitution for PKG_SYSCONFDIR now that the configure script and Makefile.in directly support --sysconfdir. + Include termcap.buildlink3.mk to properly deal with termcap/curses issues (elvis needs termcap). + Add full DESTDIR support. + Set HOMEPAGE to the correct URL. + Bump the PKGREVISION for elvis and elvis-x11 to 6. Both packages now track and use the same PKGREVISION number.
19 lines
555 B
Makefile
19 lines
555 B
Makefile
# $NetBSD: options.mk,v 1.1 2008/04/22 16:23:57 jlam Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.elvis
|
|
PKG_SUPPORTED_OPTIONS= x11
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Mx11)
|
|
BUILDLINK_DEPMETHOD.libXt?= build
|
|
. include "../../x11/libXft/buildlink3.mk"
|
|
. include "../../x11/libXpm/buildlink3.mk"
|
|
. include "../../x11/libXt/buildlink3.mk"
|
|
CONFIGURE_ARGS+= --with-x
|
|
CONFIGURE_ARGS+= --with-xft
|
|
CONFIGURE_ARGS+= --x-includes=${X11BASE:Q}/include
|
|
CONFIGURE_ARGS+= --x-libraries=${X11BASE:Q}/lib
|
|
.else
|
|
CONFIGURE_ARGS+= --without-x
|
|
.endif
|