blob: 0e3efafa43480da07e6deef5c5e02c493e593d06 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
# New ports collection makefile for: icewm
# Date created: 10 August 1997
# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
#
# $FreeBSD$
#
PORTNAME= icewm
PORTVERSION= 1.0.9
PORTREVISION= 2
CATEGORIES= x11-wm
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}-${PORTVERSION}-2
MAINTAINER= nakai@FreeBSD.org
BUILD_DEPENDS= autoconf:${PORTSDIR}/devel/autoconf
LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext-old \
iconv.3:${PORTSDIR}/converters/libiconv
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
WANT_GNOME= yes
WANT_ESOUND= yes
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_GMAKE= yes
#USE_AUTOCONF_VER=213
USE_AUTOCONF_VER=252
AUTOCONF= autoconf
AUTOCONF_DIR= ${LOCALBASE}/share/autoconf
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --enable-i18n --enable-nls \
--with-cfgdir=${PREFIX}/share/icewm \
--with-libdir=${PREFIX}/share/icewm \
--with-kdedatadir=${LOCALBASE}/share \
--with-docdir=${PREFIX}/share/doc \
--with-mkfontdir=${NONEXISTENT}
.include <bsd.port.pre.mk>
.if defined(HAVE_GNOME)
USE_GNOME= yes
CONFIGURE_ARGS+= --with-imlib --without-xpm --with-gnome-menus
INSTALL_TARGET= install install-gnome
.else
USE_XPM= yes
CONFIGURE_ARGS+= --without-imlib --with-xpm --without-gnome-menus
.endif
.if defined(HAVE_ESOUND)
USE_ESOUND= yes
CONFIGURE_ARGS+= --enable-guievents --with-icesound=esound
PLIST_SUB+= ESOUND=""
.else
PLIST_SUB+= ESOUND="@comment "
.endif
post-install:
${INSTALL_DATA} ${FILESDIR}/bsd-daemon.xpm ${DATADIR}/taskbar
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/icewm
.for file in CHANGES FAQ INSTALL README TODO
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR}
.endif
${CHOWN} root:kmem ${PREFIX}/bin/icewm
${CHMOD} 2555 ${PREFIX}/bin/icewm
.include <bsd.port.post.mk>
|