blob: e5d5bd1470d268ed0e2146341276b2041079ac6f (
plain) (
blame)
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
|
# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$
# $MCom: ports-experimental/trunk/x11/gnome-menus/Makefile 19199 2014-03-19 15:51:05Z gusi $
PORTNAME= gnome-menus
PORTVERSION= 3.10.1
CATEGORIES= x11 gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome3
MAINTAINER= gnome@FreeBSD.org
COMMENT= Implementation of the FreeDesktop Desktop Menu Spec
USES= gettext gmake libtool:keepla pathfix pkgconfig tar:xz
USE_GNOME= glib20 gnomehier gnomeprefix intlhack \
introspection:build
GNU_CONFIGURE= yes
USE_PYTHON= yes
USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
post-patch:
@${SED} -e 's|/usr/local|${LOCALBASE}|g' \
< ${FILESDIR}/KDE.directory > ${WRKSRC}/KDE.directory
@${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|' \
${WRKSRC}/util/Makefile.in
post-install:
@${MKDIR} -p ${STAGEDIR}${PREFIX}/etc/xdg/menus/
@${INSTALL_DATA} ${WRKSRC}/layout/gnome-applications.menu \
${STAGEDIR}${PREFIX}/etc/xdg/menus/gnome-applications.menu
@${INSTALL_DATA} ${WRKSRC}/KDE.directory \
${STAGEDIR}${PREFIX}/share/desktop-directories
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgnome-menu-3.so*
.include <bsd.port.mk>
|