summaryrefslogtreecommitdiff
path: root/x11/ftmenu/Makefile
blob: 9c92407a5c79f801e4ea02e4a2110b1f83997189 (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
# $NetBSD: Makefile,v 1.5 2009/08/26 19:58:29 sno Exp $
#

DISTNAME=	ftmenu-0.3

PKGREVISION=	1
CATEGORIES=	x11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=ftmenu/}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://ftmenu.sourceforge.net/
COMMENT=	Fluxbox Tray Menu

PKG_DESTDIR_SUPPORT=	user-destdir

GNU_CONFIGURE=		YES

#XXX: Not using C++, but configure require it.
USE_LANGUAGES+=	c c++
USE_TOOLS+=	pkg-config

post-install:
	${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/ftmenu
	${INSTALL_DATA} ${WRKSRC}/img/fb.xpm ${DESTDIR}${PREFIX}/share/ftmenu/fb.xpm

#XXX: Not using GLib, but configure require it.
BUILDLINK_TARGETS+=	glib-fake-pc

glib-fake-pc:
	${RUN}								\
	{ ${ECHO} "Name: GLib";						\
	${ECHO} "Description: C Utility Library";			\
	${ECHO} "Version: 1.2.10";					\
	${ECHO} "Libs:";						\
	${ECHO} "Cflags:";						\
	} > ${BUILDLINK_DIR}/lib/pkgconfig/glib.pc

.include "../../x11/gtk2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"