Files
pkgsrc-ng/sysutils/libfm-extra/Makefile
2016-11-18 22:39:22 +01:00

32 lines
945 B
Makefile

# $NetBSD: Makefile,v 1.3 2016/08/03 10:23:24 adam Exp $
#
DISTNAME= libfm-1.2.4
PKGNAME= libfm-extra-1.2.4
PKGREVISION= 1
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 (extra)
LICENSE= gnu-gpl-v2
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= intltool pkg-config msgfmt
CONFIGURE_ARGS+= --with-extra-only
INSTALLATION_DIRS= include/libfm
# 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 "../../x11/gtk2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"