YAML::ConfigFile to allow more flexiable configuration files. Your configuration is stored in YAML and then parsed and presented to you via YAML::AppConfig. Settings can be referenced using get and set methods and settings can refer to one another by using variables of the form $foo, much in the style of AppConfig. WWW: http://search.cpan.org/dist/YAML-AppConfig/
26 lines
560 B
Makefile
26 lines
560 B
Makefile
# New ports collection makefile for: YAML::AppConfig
|
|
# Date created: 26 Aug 2011
|
|
# Whom: Jun Kuriyama <kuriyama@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= YAML-AppConfig
|
|
PORTVERSION= 0.16
|
|
CATEGORIES= devel perl5
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= kuriyama@FreeBSD.org
|
|
COMMENT= Perl extension to manage configuration files with YAML
|
|
|
|
RUN_DEPENDS= \
|
|
p5-YAML>=0.38:${PORTSDIR}/textproc/p5-YAML \
|
|
p5-YAML-Syck>0:${PORTSDIR}/textproc/p5-YAML-Syck
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
MAN3= YAML::AppConfig.3
|
|
|
|
.include <bsd.port.mk>
|