1997-11-14 13:11:28 +00:00
|
|
|
# New ports collection makefile for: icewm
|
1999-01-05 00:12:33 +00:00
|
|
|
# Version required: 0.9.26
|
1997-11-14 13:11:28 +00:00
|
|
|
# Date created: 10 August 1997
|
|
|
|
# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
|
|
|
|
#
|
1999-01-05 00:12:33 +00:00
|
|
|
# $Id: Makefile,v 1.26 1998/12/26 05:58:33 vanilla Exp $
|
1997-11-14 13:11:28 +00:00
|
|
|
#
|
|
|
|
|
1999-01-05 00:12:33 +00:00
|
|
|
DISTNAME= icewm-0.9.26
|
1998-08-07 23:01:41 +00:00
|
|
|
CATEGORIES= x11-wm
|
1998-11-16 16:12:58 +00:00
|
|
|
MASTER_SITES= http://www.kiss.uni-lj.si/~k4fr0235/icewm/devel/ \
|
|
|
|
http://www.freebsd.org/~vanilla/
|
1997-11-14 13:11:28 +00:00
|
|
|
EXTRACT_SUFX= .src.tar.gz
|
|
|
|
|
1998-04-04 14:31:37 +00:00
|
|
|
MAINTAINER= Nakai@technologist.com
|
1997-11-14 13:11:28 +00:00
|
|
|
|
1998-10-10 01:11:18 +00:00
|
|
|
.if defined(GNOME)
|
|
|
|
BUILD_DEPENDS+= gnome-config:${PORTSDIR}/x11/gnomelibs
|
|
|
|
BUILD_DEPENDS+= imlib-config:${PORTSDIR}/graphics/imlib
|
|
|
|
BUILD_DEPENDS+= ${LOCALBASE}/lib/libintl.a:${PORTSDIR}/devel/gettext
|
|
|
|
.endif
|
1998-11-11 13:24:54 +00:00
|
|
|
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
|
1998-04-28 14:51:48 +00:00
|
|
|
|
1998-10-10 01:11:18 +00:00
|
|
|
USE_GMAKE= yes
|
1998-08-05 09:31:52 +00:00
|
|
|
USE_X_PREFIX= yes
|
1997-11-14 13:11:28 +00:00
|
|
|
|
1998-10-10 01:11:18 +00:00
|
|
|
ICEOPTION= --with-shape
|
|
|
|
.if defined(I18N)
|
|
|
|
ICEOPTION+= --with-i18n
|
|
|
|
.endif
|
|
|
|
.if defined(GNOME)
|
|
|
|
ICEOPTION+= --with-imlib --with-gnome
|
|
|
|
.endif
|
|
|
|
|
1998-05-25 04:01:00 +00:00
|
|
|
pre-patch:
|
|
|
|
.if defined(TITLE_BOTTOM)
|
1998-12-02 05:13:27 +00:00
|
|
|
${PATCH} ${PATCH_ARGS} < ${FILESDIR}/patch-titlebottom
|
1998-05-25 04:01:00 +00:00
|
|
|
.else
|
1998-12-02 05:13:27 +00:00
|
|
|
${PATCH} ${PATCH_ARGS} < ${FILESDIR}/patch-titletop
|
1998-05-25 04:01:00 +00:00
|
|
|
.endif
|
1998-10-10 01:11:18 +00:00
|
|
|
.if defined(GNOME)
|
1998-12-02 05:13:27 +00:00
|
|
|
${PATCH} ${PATCH_ARGS} < ${FILESDIR}/patch-gnome
|
1998-10-10 01:11:18 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
do-configure:
|
|
|
|
( cd ${WRKSRC}; ${SH} config ${ICEOPTION} )
|
1998-05-25 04:01:00 +00:00
|
|
|
|
1998-02-20 04:22:26 +00:00
|
|
|
post-install:
|
|
|
|
${CP} ${FILESDIR}/bsd-daemon.xpm ${PREFIX}/lib/X11/icewm/taskbar
|
1998-11-11 13:24:54 +00:00
|
|
|
strip ${PREFIX}/bin/icewm
|
|
|
|
strip ${PREFIX}/bin/icewmbg
|
|
|
|
strip ${PREFIX}/bin/icewmhint
|
1998-02-20 04:22:26 +00:00
|
|
|
|
1997-11-14 13:11:28 +00:00
|
|
|
.include <bsd.port.mk>
|