2013-03-28 04:28:30 +01:00
|
|
|
# Created by: Robert Noland <rnoland@FreeBSD.org>
|
2007-09-06 21:33:16 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= libcompizconfig
|
2009-12-01 22:57:44 +01:00
|
|
|
PORTVERSION= 0.8.4
|
2012-06-01 07:26:28 +02:00
|
|
|
PORTREVISION= 6
|
2007-09-06 21:33:16 +02:00
|
|
|
CATEGORIES= x11-wm
|
2009-04-08 08:55:30 +02:00
|
|
|
MASTER_SITES= http://releases.compiz.org/${PORTVERSION}/
|
2007-09-06 21:33:16 +02:00
|
|
|
|
2011-07-05 04:51:42 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2007-09-06 21:33:16 +02:00
|
|
|
COMMENT= An alternative configuration system for Compiz
|
|
|
|
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/compiz.pc:${PORTSDIR}/x11-wm/compiz
|
|
|
|
|
|
|
|
USE_BZIP2= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_LDCONFIG= yes
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= libtool
|
2007-09-06 21:33:16 +02:00
|
|
|
|
2013-04-23 16:20:25 +02:00
|
|
|
USES= pathfix pkgconfig
|
2013-03-28 04:28:30 +01:00
|
|
|
USE_GNOME= intltool libxml2
|
2007-09-06 21:33:16 +02:00
|
|
|
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
2007-09-06 21:33:16 +02:00
|
|
|
|
2012-06-03 16:17:23 +02:00
|
|
|
OPTIONS_DEFINE= INOTIFY
|
2012-05-31 16:49:26 +02:00
|
|
|
OPTIONS_DEFAULT= INOTIFY
|
|
|
|
INOTIFY_DESC?= Enable inotify support
|
2007-09-06 21:33:16 +02:00
|
|
|
|
2010-02-15 18:40:51 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2012-05-31 16:49:26 +02:00
|
|
|
.if ${PORT_OPTIONS:MINOTIFY}
|
2012-03-22 00:08:04 +01:00
|
|
|
LIB_DEPENDS+= inotify.0:${PORTSDIR}/devel/libinotify
|
|
|
|
LDFLAGS+= -linotify
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-patch:
|
2012-05-31 16:49:26 +02:00
|
|
|
.if empty(PORT_OPTIONS:MINOTIFY)
|
2012-03-22 00:08:04 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|sys/inotify.h||' ${WRKSRC}/configure
|
|
|
|
.endif
|
|
|
|
@echo "OSVERSION=${OSVERSION}"
|
|
|
|
@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' \
|
|
|
|
${WRKSRC}/src/main.c \
|
|
|
|
${WRKSRC}/src/lists.c \
|
|
|
|
${WRKSRC}/src/filewatch.c \
|
|
|
|
${WRKSRC}/src/ini.c \
|
|
|
|
${WRKSRC}/backend/ini.c
|
|
|
|
|
2010-02-15 18:40:51 +01:00
|
|
|
.include <bsd.port.post.mk>
|