1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/x11-wm/icewm/Makefile

58 lines
1.4 KiB
Makefile
Raw Normal View History

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>
#
1999-01-17 19:48:00 +00:00
# $Id: Makefile,v 1.30 1999/01/17 10:04:44 vanilla Exp $
#
1999-01-17 19:48:00 +00:00
DISTNAME= icewm-0.9.29
CATEGORIES= x11-wm
MASTER_SITES= http://www.kiss.uni-lj.si/~k4fr0235/icewm/devel/ \
http://www.freebsd.org/~vanilla/
EXTRACT_SUFX= .src.tar.gz
MAINTAINER= nacai@iname.com
.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
USE_GMAKE= yes
USE_X_PREFIX= yes
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
.if defined(GNOME)
1999-01-17 10:04:48 +00:00
ICEOPTION+= --with-imlib --with-gnome --with-sm
.endif
pre-patch:
.if defined(TITLE_BOTTOM)
${PATCH} ${PATCH_ARGS} < ${FILESDIR}/patch-titlebottom
.else
${PATCH} ${PATCH_ARGS} < ${FILESDIR}/patch-titletop
.endif
.if defined(GNOME)
${PATCH} ${PATCH_ARGS} < ${FILESDIR}/patch-gnome
.endif
do-configure:
( cd ${WRKSRC}; ${SH} config ${ICEOPTION} )
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
.include <bsd.port.mk>