1999-01-17 10:04:48 +00:00
|
|
|
# New ports collection makefile for: icewm
|
1999-01-17 19:48:00 +00:00
|
|
|
# Version required: 0.9.29
|
1999-01-17 10:04:48 +00:00
|
|
|
# Date created: 10 August 1997
|
|
|
|
# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
|
1997-11-14 13:11:28 +00:00
|
|
|
#
|
1999-03-17 06:41:25 +00:00
|
|
|
# $Id: Makefile,v 1.31 1999/01/17 19:48:00 vanilla Exp $
|
1997-11-14 13:11:28 +00:00
|
|
|
#
|
|
|
|
|
1999-03-17 06:41:25 +00:00
|
|
|
DISTNAME= icewm-0.9.34
|
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
|
|
|
|
|
1999-01-12 16:51:33 +00:00
|
|
|
MAINTAINER= nacai@iname.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
|
1999-01-17 10:04:48 +00:00
|
|
|
.if defined(XLOCALE)
|
|
|
|
ICEOPTION+= --with-xlocale
|
|
|
|
.endif
|
1998-10-10 01:11:18 +00:00
|
|
|
.if defined(GNOME)
|
1999-01-17 10:04:48 +00:00
|
|
|
ICEOPTION+= --with-imlib --with-gnome --with-sm
|
1998-10-10 01:11:18 +00:00
|
|
|
.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:
|
1999-03-17 06:41:25 +00:00
|
|
|
${CP} ${FILESDIR}/bsd-daemon.xpm ${PREFIX}/share/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>
|