summaryrefslogblamecommitdiffstats
path: root/www/gtkhtml4/Makefile
blob: b898bf2f10c457a7b8fb7fefaf2c6718beecf7fd (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                    
           
          
 
                       
                     
                         
                     
                 






                                                                                                    

                                                          


                                                                                                    
                                               
                   
                                                                    
                                                    
                   
                   

                                      









                                                                          
# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$
#   $MCom$

PORTNAME=   gtkhtml
PORTVERSION=    4.6.6
CATEGORIES= www gnome
MASTER_SITES=   GNOME
PKGNAMESUFFIX=  4
DIST_SUBDIR=    gnome3

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Lightweight HTML rendering/printing/editing engine

BUILD_DEPENDS=  ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes \
        ${LOCALBASE}/libdata/pkgconfig/gnome-icon-theme.pc:${PORTSDIR}/misc/gnome-icon-theme
LIB_DEPENDS=    libsoup-2.4.so:${PORTSDIR}/devel/libsoup \
        libenchant.so:${PORTSDIR}/textproc/enchant
RUN_DEPENDS=    ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes \
        ${LOCALBASE}/libdata/pkgconfig/gnome-icon-theme.pc:${PORTSDIR}/misc/gnome-icon-theme

USES=       gettext gmake pathfix pkgconfig
USE_XZ=     yes
USE_XORG=   xinerama xi xrandr xcursor xcomposite xdamage xproto
USE_GNOME=  gnomeprefix intlhack gtk30 ltverhack
USE_LDCONFIG=   yes
GNU_CONFIGURE=  yes
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

PLIST_SUB=  VERSION="4.0"

post-patch:
    @${REINPLACE_CMD} -e 's|@INTLTOOL_LIBDIR@|${LOCALBASE}/libdata|' \
            ${WRKSRC}/intltool-merge.in
    @${REINPLACE_CMD} -e 's|-Wmissing-include-dirs||g' \
        ${WRKSRC}/configure

.include <bsd.port.mk>