2008-04-14 10:18:06 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.33 2008/04/14 14:18:06 ajacoutot Exp $
|
2000-02-28 07:20:33 -05:00
|
|
|
|
2008-04-09 06:15:36 -04:00
|
|
|
COMMENT= small, fast window manager
|
2001-03-26 08:08:25 -05:00
|
|
|
|
2008-04-09 06:15:36 -04:00
|
|
|
DISTNAME= icewm-1.2.35
|
2008-04-14 09:37:42 -04:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
2008-04-09 06:15:36 -04:00
|
|
|
CATEGORIES= x11
|
2000-03-24 17:11:32 -05:00
|
|
|
|
2008-04-09 06:15:36 -04:00
|
|
|
HOMEPAGE= http://www.icewm.org/
|
2000-02-28 07:20:33 -05:00
|
|
|
|
2008-04-09 06:15:36 -04:00
|
|
|
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
2004-05-25 12:36:35 -04:00
|
|
|
|
2008-04-09 06:15:36 -04:00
|
|
|
# LGPLv2
|
2001-03-26 08:08:25 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2000-06-30 02:10:17 -04:00
|
|
|
|
2008-04-09 06:15:36 -04:00
|
|
|
WANTLIB= ICE SM X11 Xau Xdmcp Xext Xft Xinerama Xrandr Xrender \
|
|
|
|
c expat fontconfig freetype jpeg m png stdc++ tiff \
|
|
|
|
ungif z
|
2004-12-04 12:25:19 -05:00
|
|
|
|
2008-04-09 06:15:36 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=icewm/}
|
2000-11-29 07:33:17 -05:00
|
|
|
|
2008-04-09 06:15:36 -04:00
|
|
|
MODULES= devel/gettext
|
2006-07-09 05:32:01 -04:00
|
|
|
|
2008-04-09 06:15:36 -04:00
|
|
|
LIB_DEPENDS= Imlib.>=19::graphics/imlib
|
2000-02-28 07:20:33 -05:00
|
|
|
|
2008-04-09 06:15:36 -04:00
|
|
|
USE_X11= Yes
|
|
|
|
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
|
|
CONFIGURE_ARGS= --with-imlib=${PREFIX}/bin \
|
|
|
|
--with-docdir=${PREFIX}/share/doc \
|
|
|
|
--with-libdir=${PREFIX}/share/icewm \
|
|
|
|
--with-cfgdir=${SYSCONFDIR}/icewm \
|
|
|
|
--with-kdedatadir=${LOCALBASE}/share \
|
|
|
|
--with-x \
|
|
|
|
--enable-shaped-decorations \
|
|
|
|
--enable-gradients \
|
|
|
|
--enable-corefonts \
|
|
|
|
--enable-i18n
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2001-03-26 08:08:25 -05:00
|
|
|
|
2008-04-14 10:18:06 -04:00
|
|
|
# we use "macppc" and not "powerpc" on purpose here ; i.e. apm(4) needed
|
2006-11-10 04:31:28 -05:00
|
|
|
.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "i386" \
|
2008-04-14 10:18:06 -04:00
|
|
|
|| ${MACHINE_ARCH} == "macppc" || ${MACHINE_ARCH} == "sparc" \
|
2008-04-14 09:37:42 -04:00
|
|
|
|| ${MACHINE_ARCH} == "amd64"
|
2006-12-27 11:18:24 -05:00
|
|
|
PATCH_LIST= patch-* apm-*
|
2006-11-10 04:31:28 -05:00
|
|
|
.endif
|
|
|
|
|
2000-02-28 07:20:33 -05:00
|
|
|
post-install:
|
2004-05-21 13:00:08 -04:00
|
|
|
@perl -pi -e 's:%%SYSCONFDIR%%:${SYSCONFDIR}:g;' \
|
|
|
|
-e 's:%%PREFIX%%:${TRUEPREFIX}:g;' \
|
|
|
|
${PREFIX}/share/doc/icewm/icewm-7.html
|
2001-03-26 08:08:25 -05:00
|
|
|
|
2000-02-28 07:20:33 -05:00
|
|
|
.include <bsd.port.mk>
|