81 lines
2.0 KiB
Makefile
81 lines
2.0 KiB
Makefile
# $OpenBSD: Makefile,v 1.59 2015/10/13 06:29:38 bentley Exp $
|
|
|
|
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
|
|
|
|
VERSION= 2.6.5
|
|
DISTNAME= fvwm-${VERSION}
|
|
PKGNAME-main= fvwm2+fvicons-${VERSION}
|
|
FULLPKGNAME-fvicons=fvicons-${VERSION}
|
|
PKGNAME-fvwm2= fvwm2-${VERSION}
|
|
REVISION= 0
|
|
|
|
CATEGORIES= x11
|
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} fvwm_icons-20070101.tar.gz
|
|
|
|
HOMEPAGE= http://www.fvwm.org/
|
|
|
|
MAINTAINER= Peter Valchev <pvalchev@sightly.net>
|
|
|
|
# GPL/BSD-like (badly worded)
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
WANTLIB += GL ICE SM X11 Xcursor Xext Xft Xinerama Xpm Xrender
|
|
WANTLIB += c cairo expat fontconfig freetype gdk_pixbuf-2.0 gio-2.0
|
|
WANTLIB += glib-2.0 gobject-2.0 m pixman-1 png pthread pthread-stubs
|
|
WANTLIB += readline rsvg-2 termcap xcb xcb-render xcb-shm z
|
|
|
|
MODULES= devel/gettext
|
|
|
|
MASTER_SITES= ftp://ftp.fvwm.org/pub/fvwm/version-2/
|
|
|
|
LIB_DEPENDS+= graphics/png \
|
|
x11/gnome/librsvg
|
|
|
|
BUILD_DEPENDS= textproc/libxslt
|
|
|
|
MULTI_PACKAGES= -main -fvwm2 -fvicons
|
|
|
|
FLAVORS= rplay debug
|
|
FLAVOR?=
|
|
|
|
.if ${FLAVOR:Mrplay}
|
|
LIB_DEPENDS+= audio/rplay
|
|
CONFIGURE_ARGS+= --with-rplay-includes="${LOCALBASE}/include" \
|
|
--with-rplay-library="${LOCALBASE}/lib"
|
|
WANTLIB += rplay
|
|
.else
|
|
CONFIGURE_ARGS+= --without-rplay-library
|
|
.endif
|
|
|
|
.if ${FLAVOR:Mdebug}
|
|
CONFIGURE_ARGS+= --enable-debug-msgs
|
|
.endif
|
|
|
|
PKG_ARCH-fvicons= *
|
|
LIB_DEPENDS-fvicons=
|
|
WANTLIB-fvicons=
|
|
FULLPKGPATH-fvicons= ${PKGPATH},-fvicons
|
|
|
|
SUBST_VARS= VERSION
|
|
|
|
USE_GROFF = Yes
|
|
|
|
SEPARATE_BUILD= Yes
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ARGS += --disable-bidi \
|
|
--disable-gtk \
|
|
--without-gnome \
|
|
--without-stroke-library
|
|
CONFIGURE_ENV += CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
|
|
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/pixmaps/fvwm
|
|
${INSTALL_DATA} ${WRKDIR}/fvwm_icons-20070101/*.xpm ${PREFIX}/share/pixmaps/fvwm/
|
|
${INSTALL_DATA} ${WRKSRC}/sample.fvwmrc/system.fvwm2rc ${PREFIX}/share/fvwm
|
|
|
|
.include <bsd.port.mk>
|