mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
d015a53335
- Append distfile's revision number to PORTVERSION - Unbreak - Fix remaining places where giconv used instead of iconv PR: ports/38049 Submitted by: KATO Tsuguru <tkato@prontomail.com> Approved by: maintainer in silence
72 lines
1.8 KiB
Makefile
72 lines
1.8 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.9.2
|
|
CATEGORIES= x11-wm
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:R}-${PORTVERSION:E}
|
|
|
|
MAINTAINER= nakai@FreeBSD.org
|
|
|
|
BUILD_DEPENDS= autoconf:${PORTSDIR}/devel/autoconf
|
|
LIB_DEPENDS= intl.2:${PORTSDIR}/devel/gettext
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}
|
|
WANT_GNOME= yes
|
|
WANT_ESOUND= yes
|
|
USE_BZIP2= yes
|
|
USE_X_PREFIX= yes
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-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-patch:
|
|
@cd ${CONFIGURE_WRKSRC} && ${LOCALBASE}/bin/autoconf
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${FILESDIR}/bsd-daemon.xpm ${DATADIR}/taskbar
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
.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>
|