2000-05-28 08:29:46 +00:00
|
|
|
# New ports collection makefile for: sawfish
|
1999-11-11 10:18:40 +00:00
|
|
|
# Date created: 13 September 1999
|
|
|
|
# Whom: Yukihiro Nakai <nakai@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-05-28 08:29:46 +00:00
|
|
|
PORTNAME= sawfish
|
2000-09-22 07:11:57 +00:00
|
|
|
PORTVERSION= 0.31
|
1999-11-11 10:18:40 +00:00
|
|
|
CATEGORIES= x11-wm
|
2000-06-14 13:21:38 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= sawmill
|
1999-11-11 10:18:40 +00:00
|
|
|
|
2000-09-24 09:17:39 +00:00
|
|
|
MAINTAINER= sobomax@FreeBSD.org
|
1999-11-11 10:18:40 +00:00
|
|
|
|
|
|
|
LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
|
2000-01-09 08:05:34 +00:00
|
|
|
Imlib.5:${PORTSDIR}/graphics/imlib \
|
2000-09-22 07:11:57 +00:00
|
|
|
rep.10:${PORTSDIR}/lang/librep
|
|
|
|
.if !defined(WITHOUT_GNOME)
|
2000-06-01 16:25:45 +00:00
|
|
|
LIB_DEPENDS+= capplet.4:${PORTSDIR}/sysutils/gnomecontrolcenter
|
1999-11-11 10:18:40 +00:00
|
|
|
.endif
|
2000-03-08 12:14:26 +00:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/libexec/rep/${ARCH}--freebsd${OSREL}/gtk.so:${PORTSDIR}/x11-toolkits/rep-gtk
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/libexec/rep/${ARCH}--freebsd${OSREL}/gtk.so:${PORTSDIR}/x11-toolkits/rep-gtk
|
1999-11-11 10:18:40 +00:00
|
|
|
|
|
|
|
GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
|
|
|
|
GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
|
|
|
|
|
2000-04-19 15:09:58 +00:00
|
|
|
PLIST_SUB= GNUHOST=${ARCH}--freebsd${OSREL} VERSION=${PORTVERSION}
|
1999-11-11 10:18:40 +00:00
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_GMAKE= yes
|
2000-01-09 08:05:34 +00:00
|
|
|
USE_AUTOCONF= yes
|
|
|
|
CONFIGURE_ARGS= --localstatedir=${PREFIX}/share \
|
|
|
|
--datadir=${PREFIX}/share --with-readline
|
2000-09-22 07:11:57 +00:00
|
|
|
.if !defined(WITHOUT_GNOME)
|
1999-11-11 10:18:40 +00:00
|
|
|
CONFIGURE_ARGS+= --enable-capplet
|
2000-07-03 11:44:35 +00:00
|
|
|
PLIST_SUB+= GNOME:=""
|
2000-01-31 04:53:58 +00:00
|
|
|
.else
|
2000-09-22 07:11:57 +00:00
|
|
|
CONFIGURE_ARGS+= --disable-capplet \
|
|
|
|
--disable-gnome-widgets \
|
|
|
|
--without-gdk-pixbuf
|
2000-07-03 11:44:35 +00:00
|
|
|
PLIST_SUB+= GNOME:="@comment "
|
1999-11-11 10:18:40 +00:00
|
|
|
.endif
|
2000-02-16 04:10:30 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
|
1999-11-11 10:18:40 +00:00
|
|
|
GTK_CONFIG="${GTK_CONFIG}" \
|
|
|
|
GLIB_CONFIG="${GLIB_CONFIG}" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib -lxpg4"
|
|
|
|
|
2000-09-22 07:11:57 +00:00
|
|
|
pre-patch:
|
|
|
|
find ${WRKSRC} \( -name "*.jl" -or -name "*.jl.in" \) | \
|
|
|
|
xargs ${GREP} -l "../locale" | \
|
|
|
|
xargs ${PERL} -pi -e "s|\.\./locale|../../../locale|g"
|
|
|
|
|
2000-01-09 08:05:34 +00:00
|
|
|
post-install:
|
|
|
|
install-info --section="X11 window manager" \
|
2000-05-28 08:29:46 +00:00
|
|
|
--entry="* sawfish: (sawfish). sawfish programming manual" \
|
|
|
|
${PREFIX}/info/sawfish.info ${PREFIX}/info/dir
|
2000-01-09 08:05:34 +00:00
|
|
|
|
1999-11-11 10:18:40 +00:00
|
|
|
.include <bsd.port.mk>
|