openbsd-ports/x11/chbg/Makefile

55 lines
1.5 KiB
Makefile
Raw Normal View History

2010-10-24 16:58:58 -04:00
# $OpenBSD: Makefile,v 1.18 2010/10/24 21:15:31 ajacoutot Exp $
COMMENT= Desktop wallpaper manager and X11 screensaver
2010-03-25 16:54:42 -04:00
DISTNAME= chbg-2.0.1
2010-10-11 04:11:24 -04:00
REVISION= 1
CATEGORIES= x11
2010-03-25 16:54:42 -04:00
HOMEPAGE= http://www.beebgames.com/sw/gtk-ports.html
EXTRACT_SUFX= .tar.bz2
2010-03-25 16:54:42 -04:00
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2010-03-25 16:54:42 -04:00
MASTER_SITES= http://www.beebgames.com/sw/
2010-03-25 16:54:42 -04:00
WANTLIB += X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
WANTLIB += Xi Xinerama Xrandr Xrender atk-1.0 c cairo expat fontconfig
2010-10-11 04:11:24 -04:00
WANTLIB += freetype gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0
2010-03-25 16:54:42 -04:00
WANTLIB += m pango-1.0 pangocairo-1.0 pangoft2-1.0 pixman-1 png
2010-07-30 07:29:44 -04:00
WANTLIB += pthread-stubs xcb z gdk_pixbuf-2.0 gdk-x11-2.0 gtk-x11-2.0
2010-07-30 07:29:44 -04:00
LIB_DEPENDS= ::x11/gtk+2
2010-03-25 16:54:42 -04:00
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
# Will install some stub files for gnome. Needed if Gnome not installed
# when packaging.
FAKE_FLAGS= GNOME_PREFIX=${PREFIX}
2010-03-25 16:54:42 -04:00
USE_GMAKE= Yes
2010-10-19 04:13:56 -04:00
USE_GROFF = Yes
CONFIGURE_STYLE= gnu
2010-03-25 16:54:42 -04:00
MODULES= devel/gettext
SEPARATE_BUILD= concurrent
2010-03-25 16:54:42 -04:00
post-extract:
@cd ${WRKSRC} && ${MAKE_PROGRAM} distclean
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/chbg
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/chbg
${INSTALL_DATA} ${WRKSRC}/kde2.txt ${PREFIX}/share/doc/chbg
${INSTALL_DATA} ${WRKSRC}/xscreensaver-howto.txt ${PREFIX}/share/doc/chbg
${INSTALL_DATA} ${WRKSRC}/chbgrc.sample ${PREFIX}/share/examples/chbg
.include <bsd.port.mk>