6f6fbe4bdf
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead PR: 157936 Submitted by: myself Exp-runs by: pav Approved by: pav
31 lines
903 B
Makefile
31 lines
903 B
Makefile
# New ports collection makefile for: gnome-swallow
|
|
# Date created: 16 April 2003
|
|
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= gnome-swallow
|
|
PORTVERSION= 1.2
|
|
PORTREVISION= 10
|
|
CATEGORIES= x11 gnome
|
|
MASTER_SITES= http://interreality.org/~tetron/technology/swallow/
|
|
|
|
MAINTAINER= marcus@FreeBSD.org
|
|
COMMENT= Applet that swallows any X11 application into the GNOME 2 panel
|
|
|
|
USE_XORG= x11
|
|
USE_GMAKE= yes
|
|
USE_GNOME= gnomeprefix gnomehack gnomepanel libgnomeui
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= LIBS="`pkg-config --libs libgnomeui-2.0`"
|
|
CPPFLAGS+= -I${LOCALBASE}/include `pkg-config --cflags libgnomeui-2.0`
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
|
|
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
|
|
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \
|
|
${WRKSRC}/GNOME_Swallow.server
|
|
|
|
.include <bsd.port.mk>
|