openbsd-ports/x11/fvwm2/Makefile

71 lines
1.7 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.14 2001/08/09 06:53:59 pvalchev Exp $
2001-06-27 17:50:38 -04:00
COMMENT= "multiple virtual desktop window manager, with icons"
COMMENT-fvicons="multiple virtual desktop window manager icons"
COMMENT-fvwm2= "multiple virtual desktop window manager, without icons"
VERSION= 2.4.0
2001-06-27 17:50:38 -04:00
DISTNAME= fvwm-${VERSION}
PKGNAME= fvwm2+fvicons-${VERSION}
FULLPKGNAME-fvicons=fvicons-${VERSION}
2001-06-27 17:50:38 -04:00
PKGNAME-fvwm2= fvwm2-${VERSION}
CATEGORIES= x11
NEED_VERSION= 1.433
2001-06-27 17:50:38 -04:00
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} fvwm_icons.tgz:0
HOMEPAGE= http://www.fvwm.org/
MAINTAINER= Peter Valchev <pvalchev@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
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
2001-07-29 14:21:30 -04:00
LIB_DEPENDS= gtk.1.2:gtk+-*:x11/gtk+
2001-06-27 17:50:38 -04:00
MULTI_PACKAGES= -fvwm2 -fvicons
SUBPACKAGE?=
FLAVORS= rplay debug i18n
2001-06-27 17:50:38 -04:00
FLAVOR?=
.if ${FLAVOR:L:Mrplay} && !${SUBPACKAGE} == "-fvicons"
LIB_DEPENDS= rplay.0.:rplay-*:audio/rplay
2001-06-27 17:50:38 -04:00
CONFIGURE_ARGS+= --with-rplay-includes="${LOCALBASE}/include" \
--with-rplay-library="${LOCALBASE}/lib"
.else
CONFIGURE_ARGS+= --without-rplay
2001-06-27 17:50:38 -04:00
.endif
.if ${FLAVOR:L:Mdebug}
CONFIGURE_ARGS+= --enable-debug-msgs
.endif
.if ${FLAVOR:L:Mi18n}
# the multibyte character support is experimental
CONFIGURE_ARGS+= --enable-multibyte
.else
CONFIGURE_ARGS+= --disable-multibyte
.endif
2001-06-27 17:50:38 -04:00
SUBST_VARS= VERSION
USE_X11= Yes
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --enable-extras \
--disable-gnome
2001-06-27 17:50:38 -04:00
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/fvicons
${INSTALL_DATA} ${WRKDIR}/*.xpm ${PREFIX}/fvicons/
${INSTALL_DATA} ${WRKSRC}/sample.fvwmrc/system.fvwm2rc ${PREFIX}/share/fvwm
2001-06-27 17:50:38 -04:00
.include <bsd.port.mk>