FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us

Website Feedback
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
Author: wxs 
Date:   27-12-07 17:38

We discussed this on IRC but you should be able to use 'make showconfig' to parse out the supported OPTIONS for a port and store those in the database to be displayed later.

-- WXS

Reply To This Message
Author: Dan 
Date:   27-12-07 18:14

Yes, for example:

[dvl@pcbsd:/usr/home/dvl] $ cd /usr/ports/sysutils/bacula-server
[dvl@pcbsd:/usr/ports/sysutils/bacula-server] $ make showconfig
===> The following configuration options are available for bacula-server-2.2.6:
SQLITE3=off (default) "Use SqLite-3 database instead of SqLite-2"
MYSQL=off (default) "Use MySQL database instead of SqLite"
POSTGRESQL=off (default) "Use PostgreSQL database instead of SqLite"
MTX=off (default) "Install mtx for control of autochanger devices"
NLS=on (default) "Native Language Support via gettext utilities"
OPENSSL=off (default) "Enable OpenSSL for encrypted communication"
===> Use 'make config' to modify these settings
[dvl@pcbsd:/usr/ports/sysutils/bacula-server] $

Looks easy to me. Where on the webpage do you think that should be displayed?

The Man Behind The Curtain

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 

 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Remember my login:
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2014 Dan Langille. All rights reserved.