2007-09-06 21:33:16 +02:00
|
|
|
# New ports collection makefile for: libcompizconfig
|
|
|
|
# Date created: 2007-08-16
|
2008-07-30 21:00:36 +02:00
|
|
|
# Whom: Robert Noland <rnoland@FreeBSD.org>
|
2007-09-06 21:33:16 +02:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= libcompizconfig
|
2008-10-01 14:32:04 +02:00
|
|
|
PORTVERSION= 0.7.8
|
2007-09-06 21:33:16 +02:00
|
|
|
#PORTREVISION= 0
|
|
|
|
CATEGORIES= x11-wm
|
|
|
|
MASTER_SITES= http://releases.compiz-fusion.org/${PORTVERSION}/
|
|
|
|
|
2008-07-30 21:00:36 +02:00
|
|
|
MAINTAINER= rnoland@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
|
|
|
|
USE_AUTOTOOLS= libtool:15
|
|
|
|
|
|
|
|
USE_GNOME= gnomehack intltool libxml2
|
|
|
|
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
|
2007-09-06 21:33:16 +02:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' \
|
|
|
|
${WRKSRC}/src/main.c \
|
|
|
|
${WRKSRC}/src/lists.c \
|
|
|
|
${WRKSRC}/src/compiz.c \
|
|
|
|
${WRKSRC}/src/filewatch.c \
|
|
|
|
${WRKSRC}/src/ini.c \
|
|
|
|
${WRKSRC}/backend/ini.c
|
|
|
|
|
2007-10-29 20:22:40 +01:00
|
|
|
.include <bsd.port.mk>
|