blob: 67b615b27cc210b5749fba2f3749e1b2c8d07aa5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# 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.1
CATEGORIES= x11 gnome
MASTER_SITES= http://www-unix.oit.umass.edu/~tetron/technology/swallow/
MAINTAINER= marcus@FreeBSD.org
COMMENT= Applet that swallows any X11 application into the GNOME 2 panel
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_REINPLACE= 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>
|