861a799ae0
prodded by espie@ discussed with espie@ sthen@ landry@
51 lines
1.5 KiB
Makefile
51 lines
1.5 KiB
Makefile
# $OpenBSD: Makefile,v 1.14 2009/12/21 20:46:02 ajacoutot Exp $
|
|
|
|
COMMENT= fast and lightweight file manager
|
|
|
|
DISTNAME= pcmanfm-0.3.5.10
|
|
PKGNAME= ${DISTNAME}p4
|
|
CATEGORIES= x11
|
|
|
|
HOMEPAGE= http://pcmanfm.sourceforge.net/
|
|
|
|
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pcmanfm/}
|
|
|
|
WANTLIB += X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
|
|
WANTLIB += Xi Xinerama Xrandr Xrender atk-1.0 c cairo expat fontconfig
|
|
WANTLIB += freetype gio-2.0 glib-2.0 glitz gmodule-2.0 gobject-2.0
|
|
WANTLIB += gthread-2.0 m pango-1.0 pangocairo-1.0 pangoft2-1.0
|
|
WANTLIB += pixman-1 png pthread z pthread-stubs xcb
|
|
|
|
LIB_DEPENDS= gdk-x11-2.0.>=1000,gdk_pixbuf-2.0.>=1000,gtk-x11-2.0.>=1000::x11/gtk+2 \
|
|
fam.>=1::sysutils/gamin \
|
|
startup-notification-1.>=1::devel/startup-notification
|
|
RUN_DEPENDS= :gnome-icon-theme-*:x11/gnome/icon-theme \
|
|
:desktop-file-utils-*:devel/desktop-file-utils \
|
|
:shared-mime-info->=0.21:misc/shared-mime-info \
|
|
:gamin-*:sysutils/gamin,-server
|
|
|
|
MODULES= devel/gettext
|
|
USE_LIBTOOL= Yes
|
|
USE_X11= Yes
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
CONFIGURE_ARGS= --disable-hal \
|
|
--disable-inotify
|
|
|
|
pre-configure:
|
|
@perl -pi -e 's,!!LOCALBASE!!,${LOCALBASE},g' \
|
|
${WRKSRC}/src/app-chooser-dialog.c \
|
|
${WRKSRC}/src/pref-dialog.c
|
|
|
|
.include <bsd.port.mk>
|