2008-05-21 12:23:20 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.39 2008/05/21 16:23:20 jasper Exp $
|
2002-01-10 20:08:35 -05:00
|
|
|
|
2007-09-07 09:29:35 -04:00
|
|
|
COMMENT= GTK+-2 file manager with desktop features
|
2001-11-16 19:11:40 -05:00
|
|
|
|
2008-05-21 12:23:20 -04:00
|
|
|
DISTNAME= rox-filer-2.8
|
2001-11-16 19:11:40 -05:00
|
|
|
CATEGORIES= x11
|
|
|
|
|
|
|
|
HOMEPAGE= http://rox.sourceforge.net/
|
|
|
|
|
2008-05-21 12:23:20 -04:00
|
|
|
# GPLv2+
|
2001-11-16 19:11:40 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2008-02-02 04:08:49 -05:00
|
|
|
|
2008-05-21 12:23:20 -04:00
|
|
|
WANTLIB= ICE SM X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext \
|
|
|
|
Xfixes Xi Xinerama Xrandr Xrender atk-1.0 c expat fontconfig \
|
|
|
|
freetype gdk-x11-2.0 gdk_pixbuf-2.0 glib-2.0 glitz \
|
|
|
|
gmodule-2.0 gobject-2.0 gtk-x11-2.0 m pango-1.0 pangocairo-1.0 \
|
|
|
|
pangoft2-1.0 pixman-1 png xml2 z
|
2001-11-16 19:11:40 -05:00
|
|
|
|
2006-07-07 12:43:10 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=rox/}
|
2006-12-07 14:46:53 -05:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2001-11-16 19:11:40 -05:00
|
|
|
|
2005-11-15 17:11:48 -05:00
|
|
|
MODULES= devel/gettext
|
2006-12-16 07:22:32 -05:00
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
2008-05-21 12:23:20 -04:00
|
|
|
LIB_DEPENDS= glade-2.0::devel/libglade2 \
|
|
|
|
cairo::graphics/cairo
|
2002-11-19 13:51:30 -05:00
|
|
|
RUN_DEPENDS= ::misc/shared-mime-info
|
2001-11-16 19:11:40 -05:00
|
|
|
|
2006-01-20 08:12:02 -05:00
|
|
|
USE_X11= Yes
|
2006-12-07 14:46:53 -05:00
|
|
|
USE_GMAKE= Yes
|
|
|
|
|
2002-11-19 13:51:30 -05:00
|
|
|
NO_REGRESS= Yes
|
2001-11-16 19:11:40 -05:00
|
|
|
|
2006-07-07 12:43:10 -04:00
|
|
|
INSTDATA= AppRun Help Messages Options.xml ROX images style.css \
|
|
|
|
subclasses .DirIcon
|
|
|
|
|
2006-02-07 23:54:48 -05:00
|
|
|
pre-configure:
|
2006-12-07 14:46:53 -05:00
|
|
|
@perl -pi -e 's,/usr/local/share/Choices,${PREFIX}/share/rox/Choices,g' \
|
|
|
|
${WRKSRC}/ROX-Filer/src/choices.c
|
2001-11-16 19:11:40 -05:00
|
|
|
|
|
|
|
do-build:
|
2006-12-07 14:46:53 -05:00
|
|
|
@cd ${WRKSRC} && ${SETENV} MAKE="${MAKE_PROGRAM}" CC="${CC}" CFLAGS="${CFLAGS}" \
|
2006-07-07 12:43:10 -04:00
|
|
|
CPPFLAGS="-I${X11BASE}/include" with_platform="OpenBSD" \
|
2002-01-10 20:08:35 -05:00
|
|
|
ROX-Filer/AppRun --compile
|
2001-11-16 19:11:40 -05:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
@rm -f ${WRKSRC}/ROX-Filer/src/*.orig
|
2006-07-07 12:43:10 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/rox/ROX-Filer
|
2001-11-16 19:11:40 -05:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/rox.1 ${PREFIX}/man/man1/
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/rox.1 ${PREFIX}/man/man1/ROX-Filer.1
|
2002-11-19 13:51:30 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/rox/Choices/MIME-types
|
2006-07-07 12:43:10 -04:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/Choices/MIME-types/* \
|
|
|
|
${PREFIX}/share/rox/Choices/MIME-types
|
|
|
|
.for p in ROX-Filer ROX-Filer.dbg
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/ROX-Filer/$p ${PREFIX}/rox/ROX-Filer
|
|
|
|
.endfor
|
|
|
|
.for i in ${INSTDATA}
|
|
|
|
@cp -R ${WRKSRC}/ROX-Filer/$i ${PREFIX}/rox/ROX-Filer
|
|
|
|
.endfor
|
2001-11-16 19:11:40 -05:00
|
|
|
@echo '#!/bin/sh' > ${PREFIX}/bin/rox
|
|
|
|
@echo 'exec /usr/local/rox/ROX-Filer/AppRun "$$@"' >> ${PREFIX}/bin/rox
|
|
|
|
@chmod ugo+rx ${PREFIX}/bin/rox
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|