summaryrefslogblamecommitdiff
path: root/graphics/passepartout/Makefile
blob: 7a701665d2974804f5afe15e670850119338697d (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                                                
                   
                 


                                                               



                                                           
                                                           
                                                     




                   
                                     
                  

                                               
 
                                
 





                                               






                                           
 
                           
# New ports collection makefile for:	passepartout
# Date created:				11st Sep 2003
# Whom:					Alexander Nedotsukov <bland@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	passepartout
PORTVERSION=	0.4
PORTREVISION=	7
CATEGORIES=	graphics gnome
MASTER_SITES=	http://www.stacken.kth.se/project/pptout/files/

MAINTAINER=	gnome@FreeBSD.org
COMMENT=	DTP application for X

LIB_DEPENDS=	gtkmm-2.0:${PORTSDIR}/x11-toolkits/gtk--2 \
		xml\\+\\+-1.0:${PORTSDIR}/textproc/libxml++
RUN_DEPENDS=	xsltproc:${PORTSDIR}/textproc/libxslt

USE_BZIP2=	yes
USE_REINPLACE=	yes
USE_GMAKE=	yes
USE_X_PREFIX=	yes
USE_GNOME=	gnomehack gnometarget
USE_LIBTOOL_VER=13
CONFIGURE_ENV=	CFALGS=-I${LOCALBASE}/include \
		LDFLAGS=-L${LOCALBASE}/lib

MAN1=	xml2ps.1 passepartout.1x

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000
EXTRA_PATCHES=  ${PATCHDIR}/extra-patch-old_cxx
.endif

.if exists(${LOCALBASE}/lib/libfam.a)
WITH_FAM=       yes
.endif

.if defined(WITH_FAM)
LIB_DEPENDS+=   fam.0:${PORTSDIR}/devel/fam
.endif

.include <bsd.port.post.mk>