2007-02-28 22:00:27 +01:00
|
|
|
# New ports collection makefile for: libmcs
|
|
|
|
# Date created: 27th February 2007
|
|
|
|
# Whom: Oliver Lehmann <oliver@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= libmcs
|
2008-06-01 21:28:54 +02:00
|
|
|
PORTVERSION= 0.7.1
|
2010-03-28 08:47:48 +02:00
|
|
|
PORTREVISION= 5
|
2007-02-28 22:00:27 +01:00
|
|
|
CATEGORIES= devel
|
2007-09-13 22:02:29 +02:00
|
|
|
MASTER_SITES= http://distfiles.atheme.org/
|
2007-02-28 22:00:27 +01:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
|
|
|
MAINTAINER= oliver@FreeBSD.org
|
|
|
|
COMMENT= A BSD licenced configuration database system
|
|
|
|
|
2008-07-09 19:59:59 +02:00
|
|
|
LIB_DEPENDS= mowgli.2:${PORTSDIR}/devel/libmowgli
|
2007-10-15 21:19:16 +02:00
|
|
|
|
2007-10-15 21:49:44 +02:00
|
|
|
OPTIONS= GCONF "Enable gconf support" on
|
|
|
|
|
2007-02-28 22:00:27 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_LDCONFIG= yes
|
2007-10-15 21:19:16 +02:00
|
|
|
USE_GMAKE= yes
|
2007-10-15 21:49:44 +02:00
|
|
|
USE_GNOME= pkgconfig
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if !defined(WITHOUT_GCONF)
|
|
|
|
USE_GNOME+= gconf2
|
|
|
|
CONFIGURE_ARGS+=--enable-gconf
|
|
|
|
PLIST_SUB= GCONF=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-gconf
|
|
|
|
PLIST_SUB= GCONF="@comment "
|
|
|
|
.endif
|
2007-02-28 22:00:27 +01:00
|
|
|
|
|
|
|
post-patch:
|
2007-10-15 21:19:16 +02:00
|
|
|
@${REINPLACE_CMD} 's|$${libdir}/pkgconfig|$${prefix}/libdata/pkgconfig|g' \
|
|
|
|
${WRKSRC}/Makefile
|
2007-02-28 22:00:27 +01:00
|
|
|
|
2007-10-15 21:49:44 +02:00
|
|
|
.include <bsd.port.post.mk>
|