summaryrefslogblamecommitdiffstats
path: root/print/ggv2/Makefile
blob: de94498353f1d70338d2d42aa72625be6f704a81 (plain) (tree)
1
2
3
4
5
6
7
8
9



                                                                              
           


                    
                     

                                    
                                                      








                                          
                                                                          




                                                                        

                           








                                                                           
# New ports collection makefile for:    ggv2
# Date created:             07 July 2002
# Whom:                 Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   ggv2
PORTVERSION=    2.8.0
CATEGORIES= print gnome
MASTER_SITES=   ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/2.8
DISTNAME=   ggv-${PORTVERSION}
DIST_SUBDIR=    gnome2

MAINTAINER= gnome@FreeBSD.org
COMMENT=    GNOME 2 ghostscript viewer

USE_BZIP2=  yes
USE_X_PREFIX=   yes
USE_GMAKE=  yes
USE_GNOME=  gnomeprefix gnomehack intlhack libgnomeui desktopfileutils
USE_GHOSTSCRIPT=yes
USE_LIBTOOL_VER=15
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

GCONF_SCHEMAS=  ggv.schemas

pre-everything::
.if !defined(WITH_GHOSTSCRIPT_AFPL) || ${WITH_GHOSTSCRIPT_AFPL} != yes
    @${ECHO_MSG} ""
    @${ECHO_MSG} "      Define WITH_GHOSTSCRIPT_AFPL=yes to use"
    @${ECHO_MSG} "      AFPL Postscript interpreter instead of GNU one"
    @${ECHO_MSG} ""
.endif

.include <bsd.port.mk>