1999-01-17 10:04:48 +00:00
|
|
|
# New ports collection makefile for: icewm
|
|
|
|
# Date created: 10 August 1997
|
|
|
|
# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
|
1997-11-14 13:11:28 +00:00
|
|
|
#
|
1999-08-31 03:04:38 +00:00
|
|
|
# $FreeBSD$
|
1997-11-14 13:11:28 +00:00
|
|
|
#
|
|
|
|
|
2000-04-10 19:50:46 +00:00
|
|
|
PORTNAME= icewm
|
2003-07-17 15:42:57 +00:00
|
|
|
PORTVERSION= 1.2.9
|
1998-08-07 23:01:41 +00:00
|
|
|
CATEGORIES= x11-wm
|
2001-01-15 21:34:59 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
2000-06-14 13:21:38 +00:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
1997-11-14 13:11:28 +00:00
|
|
|
|
2003-07-11 18:45:17 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= Window Manager designed for speed, usability and consistency
|
1997-11-14 13:11:28 +00:00
|
|
|
|
2002-08-01 16:22:41 +00:00
|
|
|
LIB_DEPENDS= intl.4:${PORTSDIR}/devel/gettext
|
1998-04-28 14:51:48 +00:00
|
|
|
|
1998-08-05 09:31:52 +00:00
|
|
|
USE_X_PREFIX= yes
|
2002-07-26 10:10:02 +00:00
|
|
|
WANT_GNOME= yes
|
2003-07-11 18:45:17 +00:00
|
|
|
USE_GNOME= gnometarget
|
2003-07-17 15:42:57 +00:00
|
|
|
USE_REINPLACE= yes
|
2001-01-15 21:34:59 +00:00
|
|
|
USE_GMAKE= yes
|
2003-07-17 15:42:57 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2003-04-21 01:32:57 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
|
|
|
|
CONFIGURE_ARGS= --disable-xfreetype \
|
2003-07-11 18:45:17 +00:00
|
|
|
--with-cfgdir=${DATADIR} \
|
|
|
|
--with-libdir=${DATADIR} \
|
2001-03-17 11:19:08 +00:00
|
|
|
--with-kdedatadir=${LOCALBASE}/share \
|
2002-02-20 12:04:52 +00:00
|
|
|
--with-docdir=${PREFIX}/share/doc \
|
|
|
|
--with-mkfontdir=${NONEXISTENT}
|
2001-01-15 21:34:59 +00:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2003-07-17 15:42:57 +00:00
|
|
|
.if ${HAVE_GNOME:Mgnomedesktop}!=""
|
|
|
|
USE_GNOME+= gnomedesktop
|
|
|
|
CONFIGURE_ARGS+= --with-imlib --without-xpm --enable-menus-gnome \
|
2002-07-26 10:10:02 +00:00
|
|
|
--enable-guievents --with-icesound=esound
|
2001-01-15 21:34:59 +00:00
|
|
|
INSTALL_TARGET= install install-gnome
|
2003-07-17 15:42:57 +00:00
|
|
|
PLIST_SUB+= ESOUND="" GNOMEDESKTOP=""
|
2003-04-21 01:32:57 +00:00
|
|
|
PKGNAMESUFFIX= -gnome
|
2001-01-15 21:34:59 +00:00
|
|
|
.else
|
|
|
|
USE_XPM= yes
|
2003-07-11 18:45:17 +00:00
|
|
|
CONFIGURE_ARGS+= --without-imlib --with-xpm
|
2002-09-02 01:30:26 +00:00
|
|
|
.if ${HAVE_GNOME:Mesound}!=""
|
|
|
|
USE_GNOME+= esound
|
2002-02-20 12:04:52 +00:00
|
|
|
CONFIGURE_ARGS+= --enable-guievents --with-icesound=esound
|
2003-07-17 15:42:57 +00:00
|
|
|
PLIST_SUB+= ESOUND="" GNOMEDESKTOP="@comment "
|
2002-02-20 12:04:52 +00:00
|
|
|
.else
|
2003-07-17 15:42:57 +00:00
|
|
|
PLIST_SUB+= ESOUND="@comment " GNOMEDESKTOP="@comment "
|
2002-02-20 12:04:52 +00:00
|
|
|
.endif
|
2002-07-26 10:10:02 +00:00
|
|
|
.endif
|
2002-02-20 12:04:52 +00:00
|
|
|
|
2003-07-17 15:42:57 +00:00
|
|
|
post-patch:
|
|
|
|
.for file in src/gnome2.cc
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|/usr/share/control|${X11BASE}/share/gnome/control|g ; \
|
|
|
|
s|/usr/share/app|${X11BASE}/share/gnome/app|g ; \
|
|
|
|
s|/usr/share/gnome|${X11BASE}/share/gnome|g' ${WRKSRC}/${file}
|
|
|
|
.endfor
|
|
|
|
|
1998-02-20 04:22:26 +00:00
|
|
|
post-install:
|
2002-02-20 12:04:52 +00:00
|
|
|
${INSTALL_DATA} ${FILESDIR}/bsd-daemon.xpm ${DATADIR}/taskbar
|
2001-01-15 21:34:59 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2002-05-22 01:35:16 +00:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
2003-07-17 15:42:57 +00:00
|
|
|
.for file in CHANGES INSTALL README TODO
|
2002-02-20 12:04:52 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
2001-01-15 21:34:59 +00:00
|
|
|
.endfor
|
2002-02-20 12:04:52 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR}
|
2001-01-15 21:34:59 +00:00
|
|
|
.endif
|
2002-02-23 10:26:15 +00:00
|
|
|
${CHOWN} root:kmem ${PREFIX}/bin/icewm
|
2002-02-20 11:38:18 +00:00
|
|
|
${CHMOD} 2555 ${PREFIX}/bin/icewm
|
1998-02-20 04:22:26 +00:00
|
|
|
|
2001-01-15 21:34:59 +00:00
|
|
|
.include <bsd.port.post.mk>
|