pkgsrc/www/viewvc/options.mk
adrianp 9eabb1363c ViewVC is a browser interface for CVS and Subversion version control
repositories. It generates templatized HTML to present navigable directory,
revision, and change log listings. It can display specific versions of files as
well as diffs between those versions. Basically, ViewVC provides the bulk of the
report-like functionality you expect out of your version control tool, but much
more prettily than the average textual command-line program output.
2006-10-21 09:05:44 +00:00

28 lines
581 B
Makefile

# $NetBSD: options.mk,v 1.1.1.1 2006/10/21 09:05:44 adrianp Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.viewvc
PKG_SUPPORTED_OPTIONS= cvsgraph viewvc-php
.include "../../mk/bsd.options.mk"
.include "../../lang/php/phpversion.mk"
###
### Use cvsgraph for printing pretty little pictures
###
.if !empty(PKG_OPTIONS:Mcvsgraph)
DEPENDS+= cvsgraph-[0-9]*:../../devel/cvsgraph
CVSGRAPH_OPT= 1
.else
CVSGRAPH_OPT= 0
.endif
###
### Use php to colorize .php and .inc files
###
.if !empty(PKG_OPTIONS:Mviewvc-php)
.include "${PHPPKGSRCDIR}/buildlink3.mk"
PHP_OPT= 1
.else
PHP_OPT= 0
.endif