openbsd-ports/x11/gentoo/Makefile
ajacoutot 005a97ad38 Update to gentoo-0.19.13.
based on a diff from Gonzalo L. R.
2012-03-19 12:59:41 +00:00

51 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.23 2012/03/19 12:59:41 ajacoutot 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
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= 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_REGRESS= 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>