68d4f1b2b1
Reported by: bento via kris
46 lines
1.1 KiB
Makefile
46 lines
1.1 KiB
Makefile
# New ports collection makefile for: passepartout
|
|
# Date created: 11st Sep 2003
|
|
# Whom: Alexander Nedotsukov <bland@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= passepartout
|
|
PORTVERSION= 0.2
|
|
PORTREVISION= 2
|
|
CATEGORIES= graphics gnome
|
|
MASTER_SITES= http://www.stacken.kth.se/project/pptout/files/
|
|
|
|
PATCH_SITES= ${MASTER_SITES}
|
|
PATCHFILES= passepartout-0.2-assert.patch \
|
|
passepartout-0.2-thread.patch
|
|
PATCH_DIST_STRIP= -p1
|
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
|
COMMENT= DTP application for X
|
|
|
|
LIB_DEPENDS= gtkmm-2.0:${PORTSDIR}/x11-toolkits/gtk--2 \
|
|
xml\\+\\+-0.1:${PORTSDIR}/textproc/libxml++
|
|
RUN_DEPENDS= xsltproc:${PORTSDIR}/textproc/libxslt
|
|
|
|
USE_BZIP2= yes
|
|
USE_REINPLACE= yes
|
|
USE_GMAKE= yes
|
|
USE_X_PREFIX= yes
|
|
USE_GNOME= gnometarget gnomehack
|
|
USE_LIBTOOL= yes
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 500000
|
|
EXTRA_PATCHES= ${PATCHDIR}/extra-patch-old_cxx
|
|
.endif
|
|
|
|
# Fix for recent libxml++ API change
|
|
post-patch:
|
|
@${FIND} ${WRKSRC}/src/pptout -name *.cc \
|
|
| grep -v -E 'pagesel|undodialog' \
|
|
| ${XARGS} ${REINPLACE_CMD} -e \
|
|
's|add_attribute|set_attribute|'
|
|
|
|
.include <bsd.port.post.mk>
|