2013-09-03 11:59:01 +02:00
|
|
|
# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
|
2005-03-12 12:37:13 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= libgnomeprintuimm
|
|
|
|
PORTVERSION= 2.5.2
|
2014-09-01 21:34:02 +02:00
|
|
|
PORTREVISION= 12
|
2005-03-12 12:37:13 +01:00
|
|
|
CATEGORIES= x11-toolkits gnome
|
2009-02-02 02:36:16 +01:00
|
|
|
MASTER_SITES= GNOME
|
2005-03-12 12:37:13 +01:00
|
|
|
DIST_SUBDIR= gnome2
|
|
|
|
|
|
|
|
MAINTAINER= bland@FreeBSD.org
|
|
|
|
COMMENT= C++ wrappers for the GNOME print support library
|
|
|
|
|
2014-04-22 12:19:03 +02:00
|
|
|
LIB_DEPENDS= libgtkmm-2.4.so:${PORTSDIR}/x11-toolkits/gtkmm24 \
|
|
|
|
libgnomeprintmm-2.5.so:${PORTSDIR}/print/libgnomeprintmm
|
2005-03-12 12:37:13 +01:00
|
|
|
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4
|
|
|
|
|
2014-04-23 15:25:16 +02:00
|
|
|
USES= gmake libtool:keepla pathfix pkgconfig tar:bzip2
|
2014-04-22 12:19:03 +02:00
|
|
|
USE_GNOME= gnomeprefix libgnomeprintui
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_LDCONFIG= yes
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2005-03-12 12:37:13 +01:00
|
|
|
CONFIGURE_ARGS= --enable-static
|
2014-04-22 12:19:03 +02:00
|
|
|
INSTALL_TARGET= install-strip
|
2005-03-12 12:37:13 +01:00
|
|
|
|
|
|
|
PLIST_SUB= VERSION="2.5" API_VERSION="2.6"
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|2\.0|2.6|' ${WRKSRC}/tools/m4/Makefile.in
|
2005-04-22 07:41:26 +02:00
|
|
|
@${REINPLACE_CMD} -e "s|\(-lglibmm\)|-L\$$(GMM_PROCDIR)/../.. \1|" \
|
|
|
|
${WRKSRC}/tools/extra_defs_gen/Makefile.in
|
2005-03-12 12:37:13 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|