ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/mports/trunk/x11-toolkits/gtkmm20/Makefile
Revision: 21021
Committed: Mon Feb 15 13:33:25 2016 UTC (8 years, 2 months ago) by laffer1
File size: 1148 byte(s)
Log Message:
bump after gtk update

File Contents

# Content
1 # $MidnightBSD$
2
3 PORTNAME= gtkmm
4 PKGNAMESUFFIX= 20
5 PORTVERSION= 2.2.12
6 PORTREVISION?= 11
7 CATEGORIES= x11-toolkits
8 MASTER_SITES= GNOME/sources/${PORTNAME}/2.2
9 DIST_SUBDIR= gnome2
10
11 MAINTAINER= ports@MidnightBSD.org
12 COMMENT= C++ wrapper for Gtk+, Pango, Atk, and Glib
13
14 LICENSE= lgpl
15
16 USES+= tar:bzip2
17
18 PORTSCOUT= ignore:1
19
20 .if !defined(REFERENCE_PORT)
21
22 LIB_DEPENDS= libsigc-1.2.so:${PORTSDIR}/devel/libsigc++12
23 BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4
24
25 USES+= gmake libtool:keepla pathfix pkgconfig
26 GNU_CONFIGURE= yes
27 USE_LDCONFIG= yes
28 USE_GNOME= gtk20
29 CONFIGURE_ARGS= --enable-static=yes \
30 --with-sigc-prefix=${LOCALBASE}
31 INSTALL_TARGET= install-strip
32
33 post-patch:
34 @${REINPLACE_CMD} -e 's|glib/gmessages.h|glib/gtestutils.h|g' \
35 ${WRKSRC}/glib/src/*.ccg ${WRKSRC}/glib/glibmm/*.* \
36 ${WRKSRC}/gtk/src/*.* ${WRKSRC}/gtk/gtkmm/*.* \
37 ${WRKSRC}/demos/gtk-demo/*.cc
38 @${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' \
39 ${WRKSRC}/glib/glibmm/*.cc ${WRKSRC}/glib/glibmm/*.h \
40 ${WRKSRC}/gtk/gtkmm/textbuffer.cc
41 .for d in docs examples tests
42 @${REINPLACE_CMD} -e '/^SUBDIRS =/s/${d}//' ${WRKSRC}/Makefile.in
43 .endfor
44
45 .include <bsd.port.mk>
46
47 .endif

Properties

Name Value
svn:keywords MidnightBSD=%H