1999-01-17 11:04:48 +01: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 14:11:28 +01:00
|
|
|
#
|
1999-08-31 05:04:38 +02:00
|
|
|
# $FreeBSD$
|
1997-11-14 14:11:28 +01:00
|
|
|
#
|
|
|
|
|
2000-04-10 21:50:46 +02:00
|
|
|
PORTNAME= icewm
|
2008-03-24 21:43:33 +01:00
|
|
|
PORTVERSION= 1.2.35
|
2008-04-21 16:31:47 +02:00
|
|
|
PORTREVISION= 2
|
1998-08-08 01:01:41 +02:00
|
|
|
CATEGORIES= x11-wm
|
2006-10-06 05:09:46 +02:00
|
|
|
MASTER_SITES= SF
|
1997-11-14 14:11:28 +01:00
|
|
|
|
2006-10-06 05:09:46 +02:00
|
|
|
MAINTAINER= alepulver@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Window Manager designed for speed, usability and consistency
|
1997-11-14 14:11:28 +01:00
|
|
|
|
2002-07-26 12:10:02 +02:00
|
|
|
WANT_GNOME= yes
|
2008-04-21 16:31:47 +02:00
|
|
|
USE_XORG= x11 ice xinerama xext xrandr
|
2003-07-11 20:45:17 +02:00
|
|
|
USE_GNOME= gnometarget
|
2001-01-15 22:34:59 +01:00
|
|
|
USE_GMAKE= yes
|
2004-08-16 21:49:34 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2007-09-05 05:01:04 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
|
2003-08-12 20:40:16 +02:00
|
|
|
CONFIGURE_ARGS= --enable-shaped-decorations \
|
2003-08-27 21:15:38 +02:00
|
|
|
--enable-guievents \
|
2003-07-11 20:45:17 +02:00
|
|
|
--with-cfgdir=${DATADIR} \
|
|
|
|
--with-libdir=${DATADIR} \
|
2001-03-17 12:19:08 +01:00
|
|
|
--with-kdedatadir=${LOCALBASE}/share \
|
2002-02-20 13:04:52 +01:00
|
|
|
--with-docdir=${PREFIX}/share/doc \
|
|
|
|
--with-mkfontdir=${NONEXISTENT}
|
2001-01-15 22:34:59 +01:00
|
|
|
|
2005-06-03 18:06:43 +02:00
|
|
|
OPTIONS= GNOMEDESKTOP "Enable GNOME desktop support" off \
|
2005-08-31 18:22:01 +02:00
|
|
|
IMLIB "Build with Imlib support" on \
|
2005-06-03 18:06:43 +02:00
|
|
|
ESOUND "Enable EsounD daemon support" off \
|
|
|
|
XFT "Enable Xft support for fonts" on \
|
|
|
|
XINERAMA "Enable Xinerama support" on \
|
|
|
|
X86_ASM "Use optimized x86 assembly code" on \
|
|
|
|
BEASTIE "Use Beastie'fied startup button" off \
|
|
|
|
NLS "Enable National Language Support" on
|
2005-05-31 07:03:49 +02:00
|
|
|
|
2008-01-29 05:30:43 +01:00
|
|
|
# Restrict to stable (even) versions, indicated by the second component.
|
|
|
|
PORTSCOUT= limitw:1,even
|
2007-05-03 23:10:00 +02:00
|
|
|
|
2001-01-15 22:34:59 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2007-03-23 01:48:04 +01:00
|
|
|
.if defined(WITH_GNOMEDESKTOP)
|
2003-08-27 21:15:38 +02:00
|
|
|
USE_GNOME+= gnomedesktop
|
2007-03-23 01:48:04 +01:00
|
|
|
CONFIGURE_ARGS+=--enable-menus-gnome2
|
|
|
|
INSTALL_TARGET= install install-gnome
|
2003-08-27 21:15:38 +02:00
|
|
|
PLIST_SUB+= GNOMEDESKTOP=""
|
2001-01-15 22:34:59 +01:00
|
|
|
.else
|
2003-08-27 21:15:38 +02:00
|
|
|
PLIST_SUB+= GNOMEDESKTOP="@comment "
|
|
|
|
.endif
|
|
|
|
|
2007-03-23 01:48:04 +01:00
|
|
|
.if !defined(WITHOUT_IMLIB)
|
2003-08-27 21:15:38 +02:00
|
|
|
USE_GNOME+= imlib
|
2007-03-23 01:48:04 +01:00
|
|
|
CONFIGURE_ARGS+=--with-imlib
|
2003-08-27 21:15:38 +02:00
|
|
|
.else
|
2008-03-23 12:11:33 +01:00
|
|
|
USE_XORG= xpm
|
2007-03-23 01:48:04 +01:00
|
|
|
CONFIGURE_ARGS+=--without-imlib
|
2003-08-27 21:15:38 +02:00
|
|
|
.endif
|
|
|
|
|
2007-03-23 01:48:04 +01:00
|
|
|
.if defined(WITH_ESOUND)
|
2002-09-02 03:30:26 +02:00
|
|
|
USE_GNOME+= esound
|
2007-03-23 01:48:04 +01:00
|
|
|
CONFIGURE_ARGS+=--with-icesound=esound
|
2002-02-20 13:04:52 +01:00
|
|
|
.else
|
2007-03-23 01:48:04 +01:00
|
|
|
CONFIGURE_ARGS+=--with-icesound=oss
|
2002-07-26 12:10:02 +02:00
|
|
|
.endif
|
2002-02-20 13:04:52 +01:00
|
|
|
|
2007-03-23 01:48:04 +01:00
|
|
|
.if !defined(WITHOUT_XFT)
|
2004-03-16 23:54:05 +01:00
|
|
|
LIB_DEPENDS+= Xft.2:${PORTSDIR}/x11-fonts/libXft
|
2007-03-23 01:48:04 +01:00
|
|
|
CONFIGURE_ARGS+=--enable-gradients
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--enable-corefonts --disable-xfreetype
|
2003-08-12 20:40:16 +02:00
|
|
|
.endif
|
|
|
|
|
2007-02-02 18:06:25 +01:00
|
|
|
.if defined(WITHOUT_XINERAMA)
|
2007-03-23 01:48:04 +01:00
|
|
|
CONFIGURE_ARGS+=--disable-xinerama
|
2003-10-23 20:33:53 +02:00
|
|
|
.endif
|
|
|
|
|
2003-08-27 21:15:38 +02:00
|
|
|
.if ${ARCH} != "i386" || defined(WITHOUT_X86_ASM)
|
2007-03-23 01:48:04 +01:00
|
|
|
CONFIGURE_ARGS+=--disable-x86-asm
|
2003-08-27 21:15:38 +02:00
|
|
|
.endif
|
|
|
|
|
2005-05-31 07:03:49 +02:00
|
|
|
.if defined(WITH_BEASTIE)
|
2007-03-23 01:48:04 +01:00
|
|
|
STARTUP_PIXMAP= ${DATADIR}/taskbar/bsd-daemon.xpm
|
2004-12-23 11:22:22 +01:00
|
|
|
.else
|
2007-03-23 01:48:04 +01:00
|
|
|
STARTUP_PIXMAP= icewm-logo.xpm
|
2004-12-23 11:22:22 +01:00
|
|
|
.endif
|
|
|
|
|
2007-03-23 01:48:04 +01:00
|
|
|
.if !defined(WITHOUT_NLS)
|
2004-05-24 09:57:28 +02:00
|
|
|
USE_GETTEXT= yes
|
|
|
|
PLIST_SUB+= NLS=""
|
2007-03-23 01:48:04 +01:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-nls --disable-i18n
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
2004-05-24 09:57:28 +02:00
|
|
|
.endif
|
|
|
|
|
2004-12-23 11:22:22 +01:00
|
|
|
post-extract:
|
2007-03-23 01:48:04 +01:00
|
|
|
.for dir in taskbar themes/Infadel2/taskbar
|
|
|
|
@cd ${WRKSRC}/lib/${dir} && ${MV} start.xpm icewm-logo.xpm
|
2006-12-21 19:39:57 +01:00
|
|
|
.endfor
|
2004-12-23 11:22:22 +01:00
|
|
|
@${CP} -f ${FILESDIR}/bsd-daemon.xpm ${WRKSRC}/lib/taskbar
|
|
|
|
|
2003-07-17 17:42:57 +02:00
|
|
|
post-patch:
|
2007-03-23 01:48:04 +01:00
|
|
|
@${REINPLACE_CMD} -e '/test/s|==|=|g' ${WRKSRC}/configure
|
2003-07-17 17:42:57 +02:00
|
|
|
@${REINPLACE_CMD} -e \
|
2007-10-25 01:37:25 +02:00
|
|
|
's|/usr/share/control|${LOCALBASE}/share/control|g ; \
|
|
|
|
s|/usr/share/app|${LOCALBASE}/share/app|g ; \
|
2007-03-23 01:48:04 +01:00
|
|
|
s|/usr/share/gnome|${LOCALBASE}/share/gnome|g' \
|
|
|
|
${WRKSRC}/src/gnome2.cc
|
2003-07-17 17:42:57 +02:00
|
|
|
|
1998-02-20 05:22:26 +01:00
|
|
|
post-install:
|
2007-03-23 01:48:04 +01:00
|
|
|
.for dir in taskbar themes/Infadel2/taskbar
|
|
|
|
@${LN} -sf ${STARTUP_PIXMAP} ${DATADIR}/${dir}/start.xpm
|
2006-12-21 19:39:57 +01:00
|
|
|
.endfor
|
2001-01-15 22:34:59 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
2007-03-23 01:48:04 +01:00
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
. for f in CHANGES INSTALL README TODO
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
|
|
|
. endfor
|
2002-02-20 13:04:52 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR}
|
2001-01-15 22:34:59 +01:00
|
|
|
.endif
|
2007-03-23 01:48:04 +01:00
|
|
|
@${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD}
|
1998-02-20 05:22:26 +01:00
|
|
|
|
2001-01-15 22:34:59 +01:00
|
|
|
.include <bsd.port.post.mk>
|