freebsd-ports/x11/gnome-swallow/Makefile

31 lines
813 B
Makefile
Raw Normal View History

# New ports collection makefile for: gnome-swallow
# Date created: 16 April 2003
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= gnome-swallow
2005-03-01 02:18:27 +01:00
PORTVERSION= 1.2
PORTREVISION= 5
CATEGORIES= x11 gnome
2005-03-01 02:18:27 +01:00
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
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-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>