Add freedbd.

FreeDBD is a lightweight daemon for answering FreeDB queries, used to identify
CD's. It understands text (ini-like) and XML databases and is very useful if
you need a local CDDB server.

WWW: http://rink.nu/

PR:		ports/85295
Submitted by:	Ed Schouten <ed@fxq.nl>
This commit is contained in:
Jean-Yves Lefort 2005-09-01 01:06:24 +00:00
parent 9a692f2f78
commit a56acbb0e9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=141659
4 changed files with 51 additions and 0 deletions

View file

@ -142,6 +142,7 @@
SUBDIR += fpc-inet
SUBDIR += fping
SUBDIR += freebsd-uucp
SUBDIR += freedbd
SUBDIR += freenet
SUBDIR += freenet6
SUBDIR += freenx

43
net/freedbd/Makefile Normal file
View file

@ -0,0 +1,43 @@
# New ports collection makefile for: freedbd
# Date created: 25 Aug 2005
# Whom: Ed Schouten <ed@fxq.nl>
#
# $FreeBSD$
#
PORTNAME= freedbd
PORTVERSION= 0.1
CATEGORIES= net audio
MASTER_SITES= http://rink.nu/downloads/projects/
MAINTAINER= ed@fxq.nl
COMMENT= A lightweight daemon for answering FreeDB queries
GNU_CONFIGURE= yes
WANT_GNOME= yes
USE_PERL5_RUN= yes
PLIST_FILES= bin/freedbd bin/freedbd-txt2xml %%EXAMPLESDIR%%/sample_db.txt
PLIST_DIRS= %%EXAMPLESDIR%%
OPTIONS= XML "XML support" off
.include <bsd.port.pre.mk>
.if defined(WITH_XML)
USE_GNOME+= libxml2
CONFIGURE_ARGS+=--with-xml
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser
PLIST_FILES+= bin/freedbd-parse %%EXAMPLESDIR%%/sample_db.xml
.endif
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/tools/txt2xml.pl ${PREFIX}/bin/freedbd-txt2xml
${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/sample_db.txt ${EXAMPLESDIR}
.if defined(WITH_XML)
${INSTALL_SCRIPT} ${WRKSRC}/tools/db_parse.pl ${PREFIX}/bin/freedbd-parse
${INSTALL_DATA} ${WRKSRC}/examples/sample_db.xml ${EXAMPLESDIR}
.endif
.include <bsd.port.post.mk>

2
net/freedbd/distinfo Normal file
View file

@ -0,0 +1,2 @@
MD5 (freedbd-0.1.tar.gz) = 3b6195985c823a819a615325478d8614
SIZE (freedbd-0.1.tar.gz) = 82780

5
net/freedbd/pkg-descr Normal file
View file

@ -0,0 +1,5 @@
FreeDBD is a lightweight daemon for answering FreeDB queries, used to identify
CD's. It understands text (ini-like) and XML databases and is very useful if
you need a local CDDB server.
WWW: http://rink.nu/