mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-30 21:49:25 +00:00
d3d53cbe92
Submitted by: "KATO Tsuguru" <tkato@prontomail.ne.jp>
59 lines
1.4 KiB
Makefile
59 lines
1.4 KiB
Makefile
# 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.6
|
|
CATEGORIES= x11-wm
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-4
|
|
|
|
MAINTAINER= nakai@FreeBSD.org
|
|
|
|
LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
WANT_GNOME= yes
|
|
USE_BZIP2= yes
|
|
USE_X_PREFIX= yes
|
|
USE_GMAKE= yes
|
|
USE_AUTOCONF= yes
|
|
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
|
|
|
|
.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(NOPORTDOCS)
|
|
PLIST_SUB+= NODOCS:="@comment "
|
|
.else
|
|
PLIST_SUB+= NODOCS:=""
|
|
.endif
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${FILESDIR}/bsd-daemon.xpm ${PREFIX}/share/icewm/taskbar
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${PREFIX}/share/doc/icewm
|
|
.for file in CHANGES FAQ INSTALL README TODO
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/icewm
|
|
.endfor
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${PREFIX}/share/doc/icewm
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|