2016-08-03 12:22:08 +02:00
|
|
|
# $NetBSD: Makefile,v 1.3 2016/08/03 10:22:18 adam Exp $
|
2016-05-23 00:10:03 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= libfm-1.2.4
|
2016-08-03 12:22:08 +02:00
|
|
|
PKGREVISION= 1
|
2016-05-23 00:10:03 +02:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pcmanfm/}
|
|
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
|
|
HOMEPAGE= http://pcmanfm.sourceforge.net/
|
|
|
|
COMMENT= File management library
|
|
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_LIBTOOL= yes
|
|
|
|
USE_TOOLS+= intltool pkg-config
|
|
|
|
|
2016-07-25 19:06:22 +02:00
|
|
|
# needed for correct getgrgid_r() prototype
|
|
|
|
CPPFLAGS.SunOS+= -D_POSIX_PTHREAD_SEMANTICS
|
|
|
|
|
2016-05-23 00:10:03 +02:00
|
|
|
CONFIGURE_ARGS+= --with-gtk=2
|
|
|
|
|
|
|
|
PKG_SYSCONFSUBDIR= xdg
|
|
|
|
OWN_DIRS= ${PKG_SYSCONFDIR}/libfm
|
|
|
|
CONF_FILES+= share/examples/libfm/libfm.conf \
|
|
|
|
${PKG_SYSCONFDIR}/libfm/libfm.conf
|
|
|
|
|
|
|
|
# XXX: walk-around bug in build wrappers
|
|
|
|
# they try to copy $PREFIX/include/libfm to work dir and there link libfm -> libfm-1.0 is resolved
|
|
|
|
# in the end a consumer of libfm cannot find nonexisting include/libfm
|
|
|
|
post-install:
|
|
|
|
${RUN} rm -f ${DESTDIR}${PREFIX}/include/libfm
|
|
|
|
${RUN} cp -r ${DESTDIR}${PREFIX}/include/libfm-1.0 ${DESTDIR}${PREFIX}/include/libfm
|
|
|
|
|
|
|
|
.include "../../graphics/libexif/buildlink3.mk"
|
|
|
|
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
|
|
|
|
.include "../../x11/gtk2/buildlink3.mk"
|
|
|
|
.include "../../sysutils/menu-cache/buildlink3.mk"
|
|
|
|
.include "../../sysutils/libfm-extra/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|