openbsd-ports/x11/icewm/Makefile

51 lines
1.3 KiB
Makefile
Raw Normal View History

2006-12-27 11:18:24 -05:00
# $OpenBSD: Makefile,v 1.27 2006/12/27 16:18:24 ajacoutot Exp $
COMMENT= "small, fast window manager"
2006-12-27 11:18:24 -05:00
DISTNAME= icewm-1.2.30
CATEGORIES= x11
HOMEPAGE= http://www.icewm.org/
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
# LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= ICE Imlib SM X11 Xext Xft Xinerama Xrandr Xrender \
c fontconfig freetype jpeg m png stdc++ tiff ungif z
2006-12-27 11:18:24 -05:00
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=icewm/}
2000-11-29 07:33:17 -05:00
MODULES= devel/gettext
2006-09-18 06:21:48 -04:00
LIB_DEPENDS= Imlib.>=19::graphics/imlib
USE_X11= Yes
NO_REGRESS= Yes
2006-12-27 11:18:24 -05:00
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --with-imlib=${PREFIX}/bin \
--with-docdir=${PREFIX}/share/doc \
--with-libdir=${PREFIX}/share/icewm \
--with-cfgdir=${SYSCONFDIR}/icewm \
--disable-i18n \
--enable-shaped-decorations \
--enable-gradients
2001-10-24 23:11:45 -04:00
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "i386" \
|| ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "sparc"
2006-12-27 11:18:24 -05:00
PATCH_LIST= patch-* apm-*
.endif
post-install:
@perl -pi -e 's:%%SYSCONFDIR%%:${SYSCONFDIR}:g;' \
-e 's:%%PREFIX%%:${TRUEPREFIX}:g;' \
${PREFIX}/share/doc/icewm/icewm-7.html
.include <bsd.port.mk>