2010-11-22 03:36:47 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.50 2010/11/22 08:36:56 espie Exp $
|
2001-06-27 17:50:38 -04:00
|
|
|
|
2007-09-15 16:04:18 -04:00
|
|
|
COMMENT-main= multiple virtual desktop window manager, with icons
|
|
|
|
COMMENT-fvicons=multiple virtual desktop window manager icons
|
|
|
|
COMMENT-fvwm2= multiple virtual desktop window manager, without icons
|
2001-06-27 17:50:38 -04:00
|
|
|
|
2008-06-10 01:39:37 -04:00
|
|
|
VERSION= 2.4.20
|
2001-06-27 17:50:38 -04:00
|
|
|
DISTNAME= fvwm-${VERSION}
|
2008-06-10 01:39:37 -04:00
|
|
|
PKGNAME-main= fvwm2+fvicons-${VERSION}
|
|
|
|
FULLPKGNAME-fvicons=fvicons-${VERSION}
|
2005-07-29 01:01:49 -04:00
|
|
|
PKGNAME-fvwm2= fvwm2-${VERSION}
|
2010-07-30 08:03:08 -04:00
|
|
|
|
2010-11-09 12:05:44 -05:00
|
|
|
REVISION-main= 2
|
|
|
|
REVISION-fvicons= 1
|
|
|
|
REVISION-fvwm2= 1
|
2010-07-30 08:03:08 -04:00
|
|
|
|
2001-06-27 17:50:38 -04:00
|
|
|
CATEGORIES= x11
|
|
|
|
|
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} fvwm_icons.tgz:0
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.fvwm.org/
|
|
|
|
|
|
|
|
MAINTAINER= Peter Valchev <pvalchev@openbsd.org>
|
|
|
|
|
2003-10-08 13:13:14 -04:00
|
|
|
# GPL/BSD-like (badly worded)
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
2010-07-30 08:03:08 -04:00
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
2003-10-08 13:13:14 -04:00
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
2010-07-30 08:03:08 -04:00
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
WANTLIB= ICE SM X11 Xext Xi Xinerama Xpm c gdk glib gmodule \
|
|
|
|
gtk gdk_imlib jpeg m png readline termcap tiff ungif z
|
|
|
|
|
|
|
|
MODULES= devel/gettext
|
2001-06-27 17:50:38 -04:00
|
|
|
|
2001-07-03 01:21:14 -04:00
|
|
|
MASTER_SITES= ftp://ftp.fvwm.org/pub/fvwm/version-2/
|
|
|
|
MASTER_SITES0= http://www.fvwm.org/generated/icon_download/
|
2001-06-27 17:50:38 -04:00
|
|
|
|
2010-11-22 03:36:47 -05:00
|
|
|
LIB_DEPENDS= x11/gtk+ \
|
|
|
|
graphics/imlib
|
2001-07-05 14:38:38 -04:00
|
|
|
|
2006-11-25 02:55:25 -05:00
|
|
|
MULTI_PACKAGES= -main -fvwm2 -fvicons
|
2001-06-27 17:50:38 -04:00
|
|
|
|
2001-07-05 14:38:38 -04:00
|
|
|
FLAVORS= rplay debug i18n
|
2001-06-27 17:50:38 -04:00
|
|
|
FLAVOR?=
|
|
|
|
|
2006-11-25 02:55:25 -05:00
|
|
|
.if ${FLAVOR:L:Mrplay}
|
2010-11-22 03:36:47 -05:00
|
|
|
LIB_DEPENDS+= audio/rplay
|
2001-06-27 17:50:38 -04:00
|
|
|
CONFIGURE_ARGS+= --with-rplay-includes="${LOCALBASE}/include" \
|
|
|
|
--with-rplay-library="${LOCALBASE}/lib"
|
2010-07-30 08:03:08 -04:00
|
|
|
WANTLIB += rplay
|
2001-07-05 14:38:38 -04:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-rplay
|
2001-06-27 17:50:38 -04:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mdebug}
|
|
|
|
CONFIGURE_ARGS+= --enable-debug-msgs
|
|
|
|
.endif
|
|
|
|
|
2001-07-05 14:38:38 -04:00
|
|
|
.if ${FLAVOR:L:Mi18n}
|
|
|
|
# the multibyte character support is experimental
|
|
|
|
CONFIGURE_ARGS+= --enable-multibyte
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-multibyte
|
|
|
|
.endif
|
|
|
|
|
2006-11-25 02:55:25 -05:00
|
|
|
PKG_ARCH-fvicons= *
|
|
|
|
LIB_DEPENDS-fvicons=
|
|
|
|
WANTLIB-fvicons=
|
2007-05-09 11:48:39 -04:00
|
|
|
FULLPKGPATH-fvicons= ${PKGPATH},-fvicons
|
2006-11-25 02:55:25 -05:00
|
|
|
|
2006-12-14 04:07:55 -05:00
|
|
|
SUBST_VARS= VERSION
|
2001-06-27 17:50:38 -04:00
|
|
|
|
2010-10-19 04:13:56 -04:00
|
|
|
USE_GROFF = Yes
|
2001-06-27 17:50:38 -04:00
|
|
|
|
|
|
|
SEPARATE_BUILD= concurrent
|
|
|
|
CONFIGURE_STYLE= gnu
|
2001-07-05 14:38:38 -04:00
|
|
|
CONFIGURE_ARGS+= --enable-extras \
|
2001-09-17 00:32:56 -04:00
|
|
|
--without-gnome
|
2001-06-27 17:50:38 -04:00
|
|
|
|
|
|
|
post-install:
|
2001-11-01 04:03:26 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/pixmaps/fvwm
|
2002-01-06 21:19:28 -05:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/fvwm_icons/*.xpm ${PREFIX}/share/pixmaps/fvwm/
|
2001-07-05 14:38:38 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/sample.fvwmrc/system.fvwm2rc ${PREFIX}/share/fvwm
|
2001-06-27 17:50:38 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|