1999-05-05 00:27:26 +02:00
|
|
|
# New ports collection makefile for: Fvwm2
|
1997-10-11 04:19:50 +02:00
|
|
|
# Date created: 20 Jan 1996
|
|
|
|
# Whom: peter
|
1996-03-09 15:42:57 +01:00
|
|
|
#
|
1999-08-31 05:04:38 +02:00
|
|
|
# $FreeBSD$
|
1996-03-09 15:42:57 +01:00
|
|
|
#
|
|
|
|
|
2000-04-18 20:15:06 +02:00
|
|
|
PORTNAME= fvwm
|
2006-12-20 05:07:07 +01:00
|
|
|
PORTVERSION= 2.4.20
|
2010-03-12 05:43:09 +01:00
|
|
|
PORTREVISION= 3
|
1998-08-08 01:01:41 +02:00
|
|
|
CATEGORIES= x11-wm
|
2000-04-30 21:23:32 +02:00
|
|
|
MASTER_SITES= ftp://ftp.fvwm.org/pub/fvwm/version-2/ \
|
|
|
|
http://www.fvwm.org/generated/icon_download/
|
2009-02-03 22:07:11 +01:00
|
|
|
FVWM_ICONS= fvwm_icons-20070101
|
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${FVWM_ICONS}.tar.bz2
|
2001-07-08 05:56:59 +02:00
|
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
1996-03-09 15:42:57 +01:00
|
|
|
|
2002-06-12 18:09:38 +02:00
|
|
|
MAINTAINER= cy@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Popular virtual window manager for X
|
1996-03-09 15:42:57 +01:00
|
|
|
|
2001-11-21 23:52:31 +01:00
|
|
|
RUN_DEPENDS= gm4:${PORTSDIR}/devel/m4
|
|
|
|
|
2002-02-07 02:44:55 +01:00
|
|
|
.if defined(WITH_STROKE)
|
|
|
|
LIB_DEPENDS+= stroke.0:${PORTSDIR}/devel/libstroke
|
|
|
|
.endif
|
|
|
|
|
2005-07-17 04:19:56 +02:00
|
|
|
# Other ports this port cannot coexist with
|
|
|
|
CONFLICTS?= fvwm-1.* fvwm-2.5.*
|
2004-02-14 02:15:17 +01:00
|
|
|
# Other ports reference this port's Makefile
|
|
|
|
.if defined(PKGNAMESUFFIX)
|
|
|
|
LATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX}
|
2006-12-20 05:07:07 +01:00
|
|
|
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-imlib
|
2004-02-14 02:15:17 +01:00
|
|
|
.else
|
|
|
|
LATEST_LINK= ${PORTNAME}2
|
2006-12-20 05:07:07 +01:00
|
|
|
PKGNAMESUFFIX= -imlib
|
2004-02-14 02:15:17 +01:00
|
|
|
.endif
|
2001-07-08 05:56:59 +02:00
|
|
|
USE_GMAKE= yes
|
2008-03-23 17:44:09 +01:00
|
|
|
USE_XORG= xpm
|
2002-09-02 03:30:26 +02:00
|
|
|
USE_BZIP2= yes
|
|
|
|
WANT_GNOME= yes
|
2002-05-27 02:10:24 +02:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
1999-05-05 00:27:26 +02:00
|
|
|
GNU_CONFIGURE= yes
|
1999-07-01 19:14:44 +02:00
|
|
|
|
2002-02-07 02:44:55 +01:00
|
|
|
.if defined(WITH_STROKE)
|
|
|
|
CONFIGURE_ARGS+= --with-stroke --with-stroke-library=${LOCALBASE}/lib \
|
|
|
|
--with-stroke-includes=${LOCALBASE}/include
|
|
|
|
.endif
|
|
|
|
|
2002-04-25 08:56:01 +02:00
|
|
|
.if defined(WITHOUT_SESSION_MGMT)
|
|
|
|
CONFIGURE_ARGS+= --disable-sm
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITHOUT_SHAPE)
|
|
|
|
CONFIGURE_ARGS+= --disable-shape
|
|
|
|
.endif
|
|
|
|
|
2003-07-10 05:04:04 +02:00
|
|
|
.if defined(WITH_MULTIBYTE)
|
|
|
|
CONFIGURE_ARGS+= --enable-multibyte
|
|
|
|
.endif
|
|
|
|
|
2001-07-08 05:56:59 +02:00
|
|
|
PLIST_SUB+= FVWM_VERSION="${PORTVERSION}"
|
|
|
|
|
2006-12-20 05:07:07 +01:00
|
|
|
MAN1= FvwmAnimate.1 FvwmAuto.1 FvwmBacker.1 FvwmBanner.1 FvwmButtons.1 \
|
|
|
|
FvwmCommand.1 FvwmConsole.1 FvwmConsoleC.pl.1 FvwmCpp.1 FvwmDebug.1 \
|
|
|
|
FvwmDragWell.1 FvwmEvent.1 FvwmForm.1 FvwmIconBox.1 \
|
|
|
|
FvwmIconMan.1 FvwmIdent.1 FvwmM4.1 FvwmPager.1 FvwmRearrange.1 \
|
|
|
|
FvwmSave.1 FvwmSaveDesk.1 FvwmScript.1 FvwmScroll.1 FvwmTaskBar.1 \
|
|
|
|
FvwmTheme.1 FvwmWharf.1 FvwmWinList.1 fvwm-menu-desktop.1 \
|
|
|
|
fvwm-menu-directory.1 fvwm-menu-headlines.1 fvwm-menu-xlock.1 \
|
|
|
|
fvwm2.1 fvwm24_convert.1 fvwmbug.1 fvwmrc_convert.1 xpmroot.1 \
|
|
|
|
fvwm-config.1
|
|
|
|
|
2008-12-13 07:26:29 +01:00
|
|
|
MLINKS= fvwm2.1 fvwm.1 \
|
|
|
|
xpmroot.1 fvwm-root.1
|
|
|
|
|
2002-09-10 10:49:18 +02:00
|
|
|
.if ${HAVE_GNOME:Mimlib}!=""
|
|
|
|
USE_GNOME= imlib
|
2002-09-09 02:56:05 +02:00
|
|
|
CONFIGURE_ARGS+= --with-gnome --enable-gnome-hints \
|
|
|
|
--enable-gtktest --enable-imlibtest
|
2002-09-10 10:49:18 +02:00
|
|
|
PLIST_SUB+= GTK=""
|
2006-12-20 05:07:07 +01:00
|
|
|
MAN1+= FvwmGtk.1
|
2001-07-08 05:56:59 +02:00
|
|
|
.else
|
2002-05-27 02:10:24 +02:00
|
|
|
CONFIGURE_ARGS+= --without-gnome --disable-gnome-hints \
|
2004-04-06 20:09:00 +02:00
|
|
|
--disable-gtktest --disable-imlibtest \
|
|
|
|
--with-gtk-prefix=/no/dir --with-imlib-prefix=/no/dir
|
2002-09-10 10:49:18 +02:00
|
|
|
PLIST_SUB+= GTK="@comment not installed: "
|
2001-07-08 05:56:59 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
@${MKDIR} ${WRKDIR}/icons
|
2009-02-03 22:07:11 +01:00
|
|
|
@${TAR} -xyf ${DISTDIR}/${FVWM_ICONS}.tar.bz2 -C ${WRKDIR}/icons
|
1997-03-03 12:31:50 +01:00
|
|
|
|
2001-11-21 23:52:31 +01:00
|
|
|
post-patch:
|
2002-09-14 02:53:39 +02:00
|
|
|
@${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},' \
|
2001-11-21 23:52:31 +01:00
|
|
|
${WRKSRC}/modules/FvwmM4/FvwmM4.c
|
|
|
|
|
1996-03-09 15:42:57 +01:00
|
|
|
post-install:
|
2001-07-08 05:56:59 +02:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/sample.fvwmrc/system.fvwm2rc \
|
|
|
|
${PREFIX}/etc/system.fvwm2rc.dist
|
2001-06-17 12:46:32 +02:00
|
|
|
@if [ ! -e ${PREFIX}/etc/system.fvwm2rc ]; then \
|
2001-07-08 05:56:59 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/sample.fvwmrc/system.fvwm2rc \
|
|
|
|
${PREFIX}/etc/system.fvwm2rc; \
|
2001-06-17 12:46:32 +02:00
|
|
|
fi
|
2001-07-08 05:56:59 +02:00
|
|
|
@${MKDIR} ${PREFIX}/share/fvwm2/pixmaps
|
2009-02-03 22:07:11 +01:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/icons/${FVWM_ICONS}/*.xpm \
|
2001-07-08 05:56:59 +02:00
|
|
|
${PREFIX}/share/fvwm2/pixmaps
|
1996-03-09 15:42:57 +01:00
|
|
|
|
2001-07-08 05:56:59 +02:00
|
|
|
.include <bsd.port.post.mk>
|