9730 using optionsNG framework style in /etc/make.conf - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Ports & Packages > Installation and Maintenance of FreeBSD Ports or Packages

Installation and Maintenance of FreeBSD Ports or Packages Installing and maintaining the FreeBSD Ports Collection or FreeBSD Packages (i.e. third party software).

Reply
 
Thread Tools Display Modes
  #1  
Old August 17th, 2012, 17:18
zeissoctopus zeissoctopus is offline
Member
 
Join Date: Aug 2009
Location: Hong Kong
Posts: 113
Thanks: 149
Thanked 21 Times in 14 Posts
Default using optionsNG framework style in /etc/make.conf

My first try to use optionsNG style in /etc/make.conf for building ports.
Code:
####################################################
## enable PKGNG
## build for Intel KMS with New Xorg ports
## diable Vulnerabilities check
## set default version for Java, PostgreSQL and Perl
####################################################
WITH_PKGNG=YES
WITH_KMS=YES
WITH_NEW_XORG=YES
DISABLE_VULNERABILITIES=YES
WITH_OPENSSL_PORT=YES
JAVA_VENDOR=openjdk
JAVA_VERSION=1.6
DEFAULT_PGSQL_VER=91
PERL_VERSION=5.14.2
##############################################################
## Global options for building desktop via optionsNG framework
## build desktop base on PostgresSQL, GTK2 & GNOME
## avoid to build MySQL, QT4 & KDE4 
##############################################################
OPTIONS_SET+=ALSA ASPELL AUDIOFILE CAIRO CJK CUPS CURL DBUS DOCS EMACS
OPTIONS_SET+=EXAMPLES EXIF FFMPEG FREETYPE FLAC GCONF GD GETEXT GHC
OPTIONS_SET+=GHOSTSCRIPT GIF GL GLX GNOME GNUTLS GSTREAMER GTK GTK2
OPTIONS_SET+=HAL ICONV ICU IDN IMAGEMAGICK IMAP IPV6 JAVA JPEG LAME
OPTIONS_SET+=LUA MANPAGES MMX MOTIF MOZILLA MP3 MP4 MPEG4IP MPG123
OPTIONS_SET+=MPLAYER MUSEPACK NCURSES NLS NOTIFY OGG OPENGL OPENSSL
OPTIONS_SET+=OPTIMIZATION OSS PAM PCRE PDF PERL PGSQL PNG PTHREADS
OPTIONS_SET+=PTHREADS PYTHON QUOTA READLINE REPLACE_BASE RUBY SAMBA
OPTIONS_SET+=SASL2 SDL SIMD SMP SNDFILE SOCKS SOUND SOX SPEEX SQLITE
OPTIONS_SET+=SSE SSE2 SSH SSL SUID TCL THREADS TIFF UNICODE USB VORBIS
OPTIONS_SET+=WAVPACK X11 X264 XFT XIM XINE XINERAMA XML XMMS XPM XVID
OPTIONS_SET+=ZIP ZLIB
OPTIONS_UNSET=GTK1 QT QT4 KDE KDE4 MYSQL NVIDIA NVIDIA_GL PGO PULSEAUDIO
###############################################
## Enable libdrm for FreeBSD Intel KMS support
###############################################
libdrm_SET+=KMS
###############################################################
## Only build xorg with mouse, keyboard, vesa and intel drivers
###############################################################
xorg-drivers_SET+=MOUSE KEYBOARD INTEL VESA
xorg-drivers_UNSET+=ATI MACH64 NV R128 RADEONHD OPENCHROME ACECAD ELOGRAPHICS
xorg-drivers_UNSET+=HYPERPEN JOYSTICK MAGICTOUCH MUTOUCH PENMOUNT SYNAPTICS
xorg-drivers_UNSET+=VMMOUSE VOID APM ARK CHIPS CIRRUS CYRIX DUMMY FBDEV
xorg-drivers_UNSET+=GLINT I128 I740 IMSTT MGA NEOMAGIC NEWPORT RENDITION
xorg-drivers_UNSET+=S3 S3VIRGE SAVAGE SILICONMOTION SIS TDFX TGA TRIDENT
xorg-drivers_UNSET+=TSENG VIA VMWARE VOODOO
######################################
## to build mplayer by base GCC 4.2.1
######################################
mplayer_UNSET+=OTCHAIN
#####################################################
## Only build libreoffice with en_US & zh_TW locates 
#####################################################
libreoffice-i18n_UNSET+=ALL
libreoffice-i18n_SET+=en_US
libreoffice-i18n_SET+=zh_TW
#####################################
## prevent make config dialog pop up 
#####################################
NO_DIALOG=
Reply With Quote
The Following User Says Thank You to zeissoctopus For This Useful Post:
VincentHoffman (April 25th, 2013)
  #2  
Old September 13th, 2012, 13:18
ko ko is offline
Junior Member
 
Join Date: Apr 2012
Location: China
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Default

terrific guy
__________________
If you don \'t wanna do it, you find an EXCUSE; if you do, you \'ll find a WAY :-)
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make xorg.conf kr651129 X.Org 9 July 14th, 2012 04:06
Save make config into /etc/make.conf gihnius Installation and Maintenance of FreeBSD Ports or Packages 2 September 20th, 2011 06:26
[Solved] src.conf or make .conf ? holo Installation and Maintenance of FreeBSD Ports or Packages 3 August 17th, 2010 08:34
make.conf and curdir aquouel Installation and Maintenance of FreeBSD Ports or Packages 5 March 3rd, 2010 12:32
Anyone use /etc/make.conf ? johnblue General 5 April 16th, 2009 14:37


All times are GMT +1. The time now is 17:48.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0