1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/x11-wm/sawfish/Makefile
2007-01-14 19:50:26 +00:00

52 lines
1.5 KiB
Makefile

# New ports collection makefile for: sawfish
# Date created: 13 September 1999
# Whom: Yukihiro Nakai <nakai@FreeBSD.org>
#
# $FreeBSD$
# $MCom: ports/x11-wm/sawfish/Makefile,v 1.1 2006/07/18 17:01:14 ahze Exp $
PORTNAME= sawfish
PORTVERSION= 1.3
PORTREVISION= 13
PORTEPOCH= 2
CATEGORIES= x11-wm
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= sawmill
DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
COMMENT= Lisp configurable window manager
LIB_DEPENDS= rep.12:${PORTSDIR}/lang/librep
BUILD_DEPENDS= ${LOCALBASE}/libexec/rep/${GNUHOST}/gui/gtk-2/gtk.so:${PORTSDIR}/x11-toolkits/rep-gtk2
RUN_DEPENDS= ${LOCALBASE}/libexec/rep/${GNUHOST}/gui/gtk-2/gtk.so:${PORTSDIR}/x11-toolkits/rep-gtk2
GNUHOST= ${ARCH}-pc-freebsd${OSREL:C/\..*//}
PLIST_SUB= GNUHOST=${GNUHOST} VERSION=${PORTVERSION}
USE_XLIB= yes
USE_GMAKE= yes
USE_GNOME= gnomehier gnomehack esound
WANT_GNOME= yes
USE_GETTEXT= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-readline \
--localstatedir=${PREFIX}/share \
--datadir=${PREFIX}/share \
--enable-capplet \
--disable-themer \
--with-esd
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_TARGET= ${ARCH}-pc-freebsd${OSREL:C/\..*//}
INFO= sawfish
post-patch:
@${REINPLACE_CMD} -e 's|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \
s|[$$][(]top_builddir[)]/intl/libintl.a|-lintl|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|prog_name|program_name|g' \
${WRKSRC}/src/main.c
.include <bsd.port.mk>