1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-31 10:46:16 +00:00
freebsd-ports/graphics/dia/Makefile
Joe Marcus Clarke 6b710fcf41 Add missing dependency on bonobo.
Submitted by:	bento
2002-09-08 19:15:55 +00:00

42 lines
1.1 KiB
Makefile

# New ports collection makefile for: dia
# Date created: 21 December 1999
# Whom: saper@system.pl
#
# $FreeBSD$
#
PORTNAME= dia
PORTVERSION= 0.90
CATEGORIES+= graphics gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= stable/sources/dia
MAINTAINER?= gnome@FreeBSD.org
BUILD_DEPENDS= freetype-config:${PORTSDIR}/print/freetype2
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt \
freetype.9:${PORTSDIR}/print/freetype2 \
unicode.0:${PORTSDIR}/devel/libunicode
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_GNOMENG= yes
USE_GNOME= gnomeprefix gnomehack gnomelibs gdkpixbuf bonobo
USE_LIBTOOL= yes
CONFIGURE_ARGS= --enable-gnome --enable-gnome-print --enable-bonobo \
--enable-freetype
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib -lintl"
MAN1= dia.1
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
post-install:
${SED} "s|%%PREFIX%%|${PREFIX}|g" ${FILESDIR}/dia.sh > ${WRKDIR}/dia.sh
${INSTALL_SCRIPT} ${WRKDIR}/dia.sh ${PREFIX}/bin/dia
.include <bsd.port.mk>