blob: 7d1e15757a5a9c3861ebfa51ed8a2a935280717e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# $NetBSD: Makefile,v 1.15 2020/03/08 16:48:11 wiz Exp $
#
DISTNAME= libfm-1.3.1
PKGREVISION= 2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pcmanfm/}
EXTRACT_SUFX= .tar.xz
MAINTAINER= youri@NetBSD.org
HOMEPAGE= https://pcmanfm.sourceforge.net/
COMMENT= File management library
LICENSE= gnu-gpl-v2
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= intltool msgfmt pkg-config
# needed for correct getgrgid_r() prototype
CPPFLAGS.SunOS+= -D_POSIX_PTHREAD_SEMANTICS
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"
|