mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
7a952f3bdd
PR: ports/8184 Submitted by: maintainer
51 lines
1.2 KiB
Makefile
51 lines
1.2 KiB
Makefile
# New ports collection makefile for: icewm
|
|
# Version required: 0.9.14
|
|
# Date created: 10 August 1997
|
|
# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
|
|
#
|
|
# $Id: Makefile,v 1.17 1998/09/17 00:32:57 asami Exp $
|
|
#
|
|
|
|
DISTNAME= icewm-0.9.14
|
|
CATEGORIES= x11-wm
|
|
MASTER_SITES= http://berta.fri.uni-lj.si/~markom/icewm/devel/
|
|
EXTRACT_SUFX= .src.tar.gz
|
|
|
|
MAINTAINER= Nakai@technologist.com
|
|
|
|
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
|
|
.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
|
|
|
|
USE_GMAKE= yes
|
|
USE_X_PREFIX= yes
|
|
|
|
ICEOPTION= --with-shape
|
|
.if defined(I18N)
|
|
ICEOPTION+= --with-i18n
|
|
.endif
|
|
.if defined(GNOME)
|
|
ICEOPTION+= --with-imlib --with-gnome
|
|
.endif
|
|
|
|
pre-patch:
|
|
.if defined(TITLE_BOTTOM)
|
|
${CP} ${FILESDIR}/patch-titlebottom ${PATCHDIR}/patch-ac
|
|
.else
|
|
${CP} ${FILESDIR}/patch-titletop ${PATCHDIR}/patch-ac
|
|
.endif
|
|
.if defined(GNOME)
|
|
${CP} ${FILESDIR}/patch-gnome ${PATCHDIR}
|
|
.endif
|
|
|
|
do-configure:
|
|
( cd ${WRKSRC}; ${SH} config ${ICEOPTION} )
|
|
|
|
post-install:
|
|
${CP} ${FILESDIR}/bsd-daemon.xpm ${PREFIX}/lib/X11/icewm/taskbar
|
|
|
|
.include <bsd.port.mk>
|