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
|
2001-01-15 21:34:59 +00:00
|
|
|
PORTVERSION= 1.0.6
|
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}
|
2001-01-15 21:34:59 +00:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-4
|
1997-11-14 13:11:28 +00:00
|
|
|
|
1999-11-16 04:41:27 +00:00
|
|
|
MAINTAINER= nakai@FreeBSD.org
|
1997-11-14 13:11:28 +00:00
|
|
|
|
2001-01-15 21:34:59 +00:00
|
|
|
LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext
|
1998-04-28 14:51:48 +00:00
|
|
|
|
2001-01-15 21:34:59 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
WANT_GNOME= yes
|
|
|
|
USE_BZIP2= yes
|
1998-08-05 09:31:52 +00:00
|
|
|
USE_X_PREFIX= yes
|
2001-01-15 21:34:59 +00:00
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_AUTOCONF= yes
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
|
|
|
CONFIGURE_ARGS= --enable-i18n --enable-nls \
|
|
|
|
--with-cfgdir=${PREFIX}/share/icewm \
|
|
|
|
--with-libdir=${PREFIX}/share/icewm
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if defined(HAVE_GNOME)
|
|
|
|
USE_GNOME= yes
|
|
|
|
CONFIGURE_ARGS+= --with-imlib --without-xpm --with-gnome-menus
|
|
|
|
INSTALL_TARGET= install install-gnome
|
|
|
|
.else
|
|
|
|
USE_XPM= yes
|
|
|
|
CONFIGURE_ARGS+= --without-imlib --with-xpm --without-gnome-menus
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(NOPORTDOCS)
|
2001-01-15 23:20:29 +00:00
|
|
|
PLIST_SUB+= NODOCS:="@comment "
|
2001-01-15 21:34:59 +00:00
|
|
|
.else
|
2001-01-15 23:20:29 +00:00
|
|
|
PLIST_SUB+= NODOCS:=""
|
2001-01-15 21:34:59 +00:00
|
|
|
.endif
|
1998-10-10 01:11:18 +00:00
|
|
|
|
1998-02-20 04:22:26 +00:00
|
|
|
post-install:
|
1999-05-09 16:32:40 +00:00
|
|
|
${INSTALL_DATA} ${FILESDIR}/bsd-daemon.xpm ${PREFIX}/share/icewm/taskbar
|
2001-01-15 21:34:59 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${PREFIX}/share/doc/icewm
|
|
|
|
.for file in CHANGES FAQ INSTALL README TODO
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/icewm
|
|
|
|
.endfor
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${PREFIX}/share/doc/icewm
|
|
|
|
.endif
|
1998-02-20 04:22:26 +00:00
|
|
|
|
2001-01-15 21:34:59 +00:00
|
|
|
.include <bsd.port.post.mk>
|