summaryrefslogtreecommitdiffstats
path: root/x11-wm/icewm/Makefile
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2001-01-15 21:34:59 +0000
committervanilla <vanilla@FreeBSD.org>2001-01-15 21:34:59 +0000
commit78a47b49ffc32c4940059679e5e52f187c320f4d (patch)
tree7e894aa2e7dab3ea2685e8ee520248184765d2d4 /x11-wm/icewm/Makefile
parentc829ee9cfc6bc9f04788716b622dfe0b3a03f186 (diff)
downloadFreeBSD-ports-78a47b49ffc32c4940059679e5e52f187c320f4d.zip
FreeBSD-ports-78a47b49ffc32c4940059679e5e52f187c320f4d.tar.gz
Upgrade to 1.0.6-4.
PR: ports/24356 Submitted by: KATO Tsuguru
Diffstat (limited to 'x11-wm/icewm/Makefile')
-rw-r--r--x11-wm/icewm/Makefile54
1 files changed, 41 insertions, 13 deletions
diff --git a/x11-wm/icewm/Makefile b/x11-wm/icewm/Makefile
index 5864181..bad98e5 100644
--- a/x11-wm/icewm/Makefile
+++ b/x11-wm/icewm/Makefile
@@ -6,27 +6,55 @@
#
PORTNAME= icewm
-PORTVERSION= 1.0.4
-PORTREVISION= 1
+PORTVERSION= 1.0.6
CATEGORIES= x11-wm
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
- http://www.physik.TU-Berlin.DE/~ibex/ports/distfiles/
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-EXTRACT_SUFX= .src.tar.gz
+DISTNAME= ${PORTNAME}-${PORTVERSION}-4
MAINTAINER= nakai@FreeBSD.org
-.if defined(GNOME)
-LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs
-.endif
+LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext
-GNU_CONFIGURE= yes
-USE_GMAKE= yes
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+WANT_GNOME= yes
+USE_BZIP2= yes
USE_X_PREFIX= yes
-USE_IMLIB= yes
-CONFIGURE_ARGS= --enable-i18n --with-imlib
+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
+PLIST_SUB+= GNOME=""
+.else
+USE_XPM= yes
+CONFIGURE_ARGS+= --without-imlib --with-xpm --without-gnome-menus
+PLIST_SUB+= GNOME="@comment "
+.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.mk>
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud