openbsd-ports/x11/gentoo/Makefile

44 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.11 2007/03/15 11:30:07 jolan Exp $
COMMENT= "GTK+ Graphical filemanager"
DISTNAME= gentoo-0.11.56
PKGNAME= ${DISTNAME}p0
CATEGORIES= x11
HOMEPAGE= http://www.obsession.se/gentoo/
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gentoo/}
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= X11 Xext Xi c gmodule m
MODULES= devel/gettext
LIB_DEPENDS= gtk.>=1.2,gdk.>=1.2::x11/gtk+ \
glib.>=1::devel/glib
CONFIGURE_STYLE= gnu
NO_REGRESS= Yes
USE_X11= Yes
post-extract:
@rm -f ${WRKSRC}/docs/gentoo.1x.bak
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>