openbsd-ports/x11/gentoo/Makefile
2013-03-11 11:35:43 +00:00

48 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.24 2013/03/11 11:46:09 espie Exp $
COMMENT= GTK+2 graphical filemanager
DISTNAME= gentoo-0.19.13
CATEGORIES= x11
HOMEPAGE= http://www.obsession.se/gentoo/
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gentoo/}
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
WANTLIB += X11 Xcomposite Xcursor Xdamage Xext Xfixes
WANTLIB += Xi Xinerama Xrandr Xrender atk-1.0 c cairo expat fontconfig
WANTLIB += freetype gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0
WANTLIB += m pango-1.0 pangocairo-1.0 pangoft2-1.0 pixman-1 png
WANTLIB += pthread-stubs xcb z gdk_pixbuf-2.0 gdk-x11-2.0 gtk-x11-2.0
WANTLIB += GL gthread-2.0 pthread xcb-render xcb-shm
MODULES= devel/gettext
LIB_DEPENDS= x11/gtk+2
CONFIGURE_STYLE= gnu
NO_TEST= Yes
pre-configure:
${SUBST_CMD} ${WRKSRC}/src/buttons.c
pre-install:
@chmod +x ${WRKSRC}/install-sh
post-install:
${INSTALL_MAN} ${WRKSRC}/docs/gentoo.1x ${PREFIX}/man/man1/gentoo.1
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gentoo
.for i in gentoorc gentoogtkrc
${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/share/examples/gentoo
.endfor
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gentoo
@cd ${WRKSRC}/docs && \
tar cf - . | (cd ${PREFIX}/share/doc/gentoo; tar xf -) && \
rm -f ${PREFIX}/share/doc/gentoo/gentoo.1x
.include <bsd.port.mk>