diff options
Diffstat (limited to 'x11/ftmenu')
-rw-r--r-- | x11/ftmenu/Makefile | 28 |
1 files changed, 20 insertions, 8 deletions
diff --git a/x11/ftmenu/Makefile b/x11/ftmenu/Makefile index 4a9f888c210..bb160981c1f 100644 --- a/x11/ftmenu/Makefile +++ b/x11/ftmenu/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2008/05/13 21:36:14 sborrill Exp $ +# $NetBSD: Makefile,v 1.2 2008/06/09 15:27:03 obache Exp $ # DISTNAME= ftmenu-0.3 @@ -10,16 +10,28 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://ftmenu.sourceforge.net/ COMMENT= Fluxbox Tray Menu +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= YES USE_LANGUAGES+= c c++ - -.include "../../mk/bsd.prefs.mk" - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/src/ftmenu ${PREFIX}/bin - ${INSTALL_DATA_DIR} ${PREFIX}/share/ftmenu - ${INSTALL_DATA} ${WRKSRC}/img/fb.xpm ${PREFIX}/share/ftmenu/fb.xpm +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: This package not using glib, but ckeck it. +BUILDLINK_TARGETS+= glib-fake-pc + +glib-fake-pc: + ${_PKG_SILENT}${_PKG_DEBUG} \ + { ${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" |