e869f30a29
supported package options. NLS seems to be required and actually not optional, so it is not included in options.mk. The bluetooth option is disabled by default, as it is broken. One of the patches that was removed needs to be better reworked in this latest version. Upstream committed half of it and just a little work needs to be done to have this option working. Other than the two above issues, this package would be ready for import to HEAD when those are resolved. Added all PKG_OPTIONS as PKG_BUILD_OPTIONS to buildlink3.mk. Enabled PLIST_VARS in PLIST (via options.mk). Filled in USE_TOOLS and MASTER_SITES. Removed patches that were commited upstream, modified those that needed updating, and commented others. Regenerated distinfo. Enabled the security option of this package by default (why not?). Moved xgnokii man page in post-install to fix extension. Buildlink'd additional required packages.
81 lines
1.8 KiB
Makefile
81 lines
1.8 KiB
Makefile
# $NetBSD: options.mk,v 1.1 2013/02/28 11:24:15 othyro Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.gnokii
|
|
PKG_SUPPORTED_OPTIONS= bluetooth debug ical libusb mysql pcsc pgsql readline
|
|
PKG_SUPPORTED_OPTIONS+= sqlite3 x11 xpm
|
|
PKG_SUGGESTED_OPTIONS+= sqlite3 ical libusb pcsc readline xpm
|
|
PLIST_VARS+= mysql pgsql sqlite3
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Mbluetooth)
|
|
CONFIGURE_ARGS+= --enable-bluetooth
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-bluetooth
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mdebug)
|
|
CONFIGURE_ARGS+= --enable-fulldebug
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-rlpdebug --disable-xdebug
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mical)
|
|
.include "../../time/libical/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-libical
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mlibusb)
|
|
.include "../../devel/libusb/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-libusb
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mmysql)
|
|
.include "../../mk/mysql.buildlink3.mk"
|
|
PLIST.mysql= yes
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-mysql
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mpcsc)
|
|
.include "../../security/pcsc-lite/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-libpcsclite
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mpgsql)
|
|
.include "../../mk/pgsql.buildlink3.mk"
|
|
PLIST.pgsql= yes
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-postgres
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mreadline)
|
|
.include "../../devel/readline/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --without-readline
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Msqlite3)
|
|
.include "../../databases/sqlite3/buildlink3.mk"
|
|
PLIST.sqlite3= yes
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-sqlite
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mx11)
|
|
.include "../../x11/gtk2/buildlink3.mk"
|
|
.include "../../x11/libXpm/buildlink3.mk"
|
|
.include "../../x11/libX11/buildlink3.mk"
|
|
CONFIGURE_ARGS+= --with-x
|
|
.else
|
|
CONFIGURE_ARGS+= --without-x
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mxpm)
|
|
.if empty(PKG_OPTIONS:Mx11)
|
|
.include "../../x11/libXpm/buildlink3.mk"
|
|
.endif
|
|
.endif
|