openbsd-ports/x11/rox-filer/Makefile

60 lines
1.8 KiB
Makefile
Raw Normal View History

2005-04-12 14:07:47 -04:00
# $OpenBSD: Makefile,v 1.25 2005/04/12 18:07:47 couderc Exp $
COMMENT= "gtk file manager with desktop features"
2005-01-31 14:01:47 -05:00
VERSION= 2.2.0
DISTNAME= rox-${VERSION}
2005-04-12 14:07:47 -04:00
PKGNAME= rox-filer-${VERSION}p0
CATEGORIES= x11
HOMEPAGE= http://rox.sourceforge.net/
2002-02-28 15:06:27 -05:00
MAINTAINER= Damien Couderc <couderc@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2004-12-19 12:36:31 -05:00
WANTLIB= ICE SM X11 Xcursor Xext Xft Xinerama Xrender \
atk-1.0.0.0 c fontconfig freetype glib-2.0.0.0 \
gmodule-2.0.0.0 gobject-2.0.0.0 iconv intl m \
pango-1.0.0.0 pangox-1.0.0.0 z
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=rox/}
2002-11-19 13:51:30 -05:00
DISTFILES= ${DISTNAME}.tgz
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig
2003-06-02 08:33:10 -04:00
LIB_DEPENDS= gtk-x11-2.0.0.9,gdk_pixbuf-2.0.0.9,gdk-x11-2.0.0.9::x11/gtk+2 \
xml2::textproc/libxml
2002-11-19 13:51:30 -05:00
RUN_DEPENDS= ::misc/shared-mime-info
2002-11-19 13:51:30 -05:00
FILE_TO_PATCH= ${WRKSRC}/ROX-Filer/src/choices.c
NO_REGRESS= Yes
post-patch:
@sed -e s:/usr/local/share/Choices:${PREFIX}/share/rox/Choices: \
${FILE_TO_PATCH} > ${FILE_TO_PATCH}.tmp && \
mv ${FILE_TO_PATCH}.tmp ${FILE_TO_PATCH}
do-build:
@cd ${WRKSRC} && ${SETENV} CC="${CC}" CFLAGS="${CFLAGS}" \
ROX-Filer/AppRun --compile
do-install:
@rm -f ${WRKSRC}/ROX-Filer/src/*.orig
${INSTALL_DATA_DIR} ${PREFIX}/rox
${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
${INSTALL_SCRIPT} ${WRKSRC}/Choices/MIME-types/* ${PREFIX}/share/rox/Choices/MIME-types
@(cd ${WRKSRC}/ROX-Filer/src && make clean)
@cp -R ${WRKSRC}/ROX-Filer ${PREFIX}/rox
@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>