1999-01-17 10:04:48 +00:00
|
|
|
# New ports collection makefile for: icewm
|
1999-05-16 23:20:23 +00:00
|
|
|
# Version required: 0.9.39
|
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-05-16 23:20:23 +00:00
|
|
|
# $Id: Makefile,v 1.35 1999/05/09 16:32:13 steve Exp $
|
1997-11-14 13:11:28 +00:00
|
|
|
#
|
|
|
|
|
1999-05-16 23:20:23 +00:00
|
|
|
DISTNAME= icewm-0.9.39
|
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/ \
|
1999-03-28 19:42:21 +00:00
|
|
|
http://www.physik.TU-Berlin.DE/~ibex/ports/distfiles/icewm/
|
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)
|
1999-03-19 04:40:10 +00:00
|
|
|
LIB_DEPENDS= gnome.1:${PORTSDIR}/x11/gnomelibs
|
|
|
|
.endif
|
1999-05-09 16:32:40 +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
|
1999-05-09 16:32:40 +00:00
|
|
|
.if defined(USE_I18N)
|
1998-10-10 01:11:18 +00:00
|
|
|
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)
|
1999-05-09 16:32:40 +00:00
|
|
|
@${PATCH} ${PATCH_ARGS} < ${FILESDIR}/patch-titlebottom
|
1998-05-25 04:01:00 +00:00
|
|
|
.else
|
1999-05-09 16:32:40 +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)
|
1999-05-09 16:32:40 +00:00
|
|
|
@${PATCH} ${PATCH_ARGS} < ${FILESDIR}/patch-gnome
|
1998-10-10 01:11:18 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
do-configure:
|
1999-05-09 16:32:40 +00:00
|
|
|
( cd ${WRKSRC}; env X11BASE="${X11BASE}" CXX="${CXX}" \
|
|
|
|
CXXFLAGS="${CXXFLAGS}" \
|
|
|
|
${SH} config ${ICEOPTION} )
|
1998-05-25 04:01:00 +00:00
|
|
|
|
1998-02-20 04:22:26 +00:00
|
|
|
post-install:
|
1999-05-09 16:32:40 +00:00
|
|
|
${INSTALL_DATA} ${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>
|