diff options
Diffstat (limited to 'devel/devhelp/Makefile')
-rw-r--r-- | devel/devhelp/Makefile | 48 |
1 files changed, 14 insertions, 34 deletions
diff --git a/devel/devhelp/Makefile b/devel/devhelp/Makefile index 58630fa31..c8dc99c91 100644 --- a/devel/devhelp/Makefile +++ b/devel/devhelp/Makefile @@ -1,55 +1,35 @@ # Created by: Adam Weinberger <adamw@FreeBSD.org> # $FreeBSD$ -# $MCom: ports/trunk/devel/devhelp/Makefile 18610 2013-06-30 16:33:05Z marcus $ +# $MCom: ports/trunk/devel/devhelp3/Makefile 18610 2013-06-30 16:33:05Z marcus $ PORTNAME= devhelp -PORTVERSION= 2.32.0 -PORTREVISION= 3 -PORTEPOCH= 1 +PORTVERSION= 3.6.1 CATEGORIES= devel gnome MASTER_SITES= GNOME -DIST_SUBDIR= gnome2 +DIST_SUBDIR= gnome3 MAINTAINER= gnome@FreeBSD.org -COMMENT= Developer help browser for GNOME 2 +COMMENT= Developer help browser for GNOME 3 -LIB_DEPENDS= libwebkitgtk-1.0.so:${PORTSDIR}/www/webkit-gtk2 \ - libunique-1.0.so:${PORTSDIR}/x11-toolkits/unique +LIB_DEPENDS= libwebkitgtk-3.0.so:${PORTSDIR}/www/webkit-gtk3 -CONFLICTS= devhelp-3.[0-9]* - -NO_STAGE= yes -USE_BZIP2= yes +USE_XZ= yes USE_XORG= x11 USES= gettext gmake pathfix pkgconfig -USE_GNOME= intlhack gnomeprefix libgnomeui libwnck +USE_GNOME= gconf2 gnomeprefix gtk30 intlhack USE_AUTOTOOLS= libtool GNU_CONFIGURE= yes INSTALLS_ICONS= yes USE_LDCONFIG= yes GCONF_SCHEMAS= devhelp.schemas -CPPFLAGS+= ${PTHREAD_CFLAGS} -I${LOCALBASE}/include -LDFLAGS+= ${PTHREAD_LIBS} -L${LOCALBASE}/lib - -OPTIONS_DEFINE= GEDIT -GEDIT_DESC= GEdit plug-in support - -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MGEDIT} -BUILD_DEPENDS+= gedit:${PORTSDIR}/editors/gedit -RUN_DEPENDS+= gedit:${PORTSDIR}/editors/gedit -PLIST_SUB+= GEDIT="" -.else -PLIST_SUB+= GEDIT="@comment " -.endif +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib post-patch: -.if ! ${PORT_OPTIONS:MGEDIT} - @${REINPLACE_CMD} -e 's|gedit-plugin||' \ - ${WRKSRC}/misc/Makefile.in - @${REINPLACE_CMD} -e 's|-DGTK_DISABLE_SINGLE_INCLUDES||g' \ - ${WRKSRC}/src/Makefile.in -.endif + @${REINPLACE_CMD} -e 's|gedit-plugin||g' ${WRKSRC}/misc/Makefile.in + +post-install: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libdevhelp-3.so.1 .include <bsd.port.mk> + |