2003-04-16 09:18:26 +02:00
|
|
|
# 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
|
2008-06-06 16:17:21 +02:00
|
|
|
PORTREVISION= 5
|
2003-04-16 09:18:26 +02:00
|
|
|
CATEGORIES= x11 gnome
|
2005-03-01 02:18:27 +01:00
|
|
|
MASTER_SITES= http://interreality.org/~tetron/technology/swallow/
|
2003-04-16 09:18:26 +02:00
|
|
|
|
|
|
|
MAINTAINER= marcus@FreeBSD.org
|
|
|
|
COMMENT= Applet that swallows any X11 application into the GNOME 2 panel
|
|
|
|
|
- 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
|
|
|
USE_XORG= x11
|
2003-04-16 09:18:26 +02:00
|
|
|
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>
|