Tweak print/abcm2ps version 6.6.22
[dports.git] / print / libgnomeprintmm / Makefile
1 # Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
2 # $FreeBSD$
3
4 PORTNAME=       libgnomeprintmm
5 PORTVERSION=    2.5.1
6 PORTREVISION=   10
7 CATEGORIES=     print gnome
8 MASTER_SITES=   GNOME
9 DIST_SUBDIR=    gnome2
10
11 MAINTAINER=     bland@FreeBSD.org
12 COMMENT=        C++ bindings for the GNOME print support library
13
14 LIB_DEPENDS=    libgtkmm-2.4.so:${PORTSDIR}/x11-toolkits/gtkmm24
15 BUILD_DEPENDS=  gm4:${PORTSDIR}/devel/m4
16
17 USES=           gmake libtool pathfix pkgconfig tar:bzip2
18 USE_GNOME=      gnomeprefix libgnomeprint
19 USE_LDCONFIG=   yes
20 GNU_CONFIGURE=  yes
21 CONFIGURE_ARGS= --enable-static
22 INSTALL_TARGET= install-strip
23
24 PLIST_SUB=      VERSION="2.5" API_VERSION="2.6"
25
26 post-patch:
27         @${REINPLACE_CMD} -e "s|\(-lglibmm\)|-L\$$(GMM_PROCDIR)/../.. \1|" \
28                 ${WRKSRC}/tools/extra_defs_gen/Makefile.in
29
30 .include <bsd.port.mk>