2006-04-04 16:02:30 +00:00
|
|
|
# New ports collection makefile for: XaraLX
|
|
|
|
# Date created: 22 Mar 2006
|
|
|
|
# Whom: Vasil Dimov <vd@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= XaraLX
|
2006-04-20 13:38:02 +00:00
|
|
|
PORTVERSION?= 0.4r798
|
2006-04-04 16:02:30 +00:00
|
|
|
CATEGORIES= graphics
|
|
|
|
MASTER_SITES= http://downloads.xara.com/opensource/
|
2006-04-20 13:38:02 +00:00
|
|
|
DISTFILES?= ${PORTNAME}Src-${PORTVERSION}.tar.gz
|
2006-04-04 16:02:30 +00:00
|
|
|
|
|
|
|
MAINTAINER= vd@FreeBSD.org
|
2006-04-20 13:38:02 +00:00
|
|
|
COMMENT?= Top-tier vector/general purpose graphics program (recommended version)
|
2006-04-04 16:02:30 +00:00
|
|
|
|
|
|
|
#WXDEP= ${X11BASE}/libwx_baseu-2.6.so.0.3.1
|
|
|
|
WXDEP= wxgtk2-unicode>=2.6.3
|
|
|
|
BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig \
|
|
|
|
${WXDEP}:${PORTSDIR}/x11-toolkits/wxgtk26-unicode \
|
|
|
|
${LOCALBASE}/bin/md5sum:${PORTSDIR}/archivers/dpkg \
|
|
|
|
${LOCALBASE}/bin/zip:${PORTSDIR}/archivers/zip
|
|
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
LIB_DEPENDS= dlmalloc.2:${PORTSDIR}/devel/libdlmalloc
|
|
|
|
|
|
|
|
USE_AUTOTOOLS= autoconf:259:env aclocal:19:env automake:19:env
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2006-04-20 13:38:02 +00:00
|
|
|
CONFIGURE_ARGS= --with-wx-config=wxgtk2u-2.6-config \
|
|
|
|
--program-suffix=${PKGNAMESUFFIX}
|
2006-04-04 16:02:30 +00:00
|
|
|
PKGCONFIGS=atk fontconfig gdk-2.0 pango
|
|
|
|
CONFIGURE_ENV= CPPFLAGS_APPEND="`pkg-config --cflags ${PKGCONFIGS}` \
|
|
|
|
-I${LOCALBASE}/include/atk-1.0/atk \
|
|
|
|
-I${X11BASE}/include/gtk-2.0/gtk"
|
|
|
|
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_GCC= 3.4+
|
|
|
|
|
2006-04-19 06:15:37 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${ARCH} == "sparc64"
|
|
|
|
BROKEN= does not configure due to the lack of CDraw libraries for sparc64
|
|
|
|
.endif
|
|
|
|
|
2006-04-20 13:38:02 +00:00
|
|
|
PROG= XaraLX${PKGNAMESUFFIX}
|
2006-04-04 16:02:30 +00:00
|
|
|
|
|
|
|
PLIST_FILES= bin/${PROG}
|
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
cd ${WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${AUTORECONF} -f -s -i
|
|
|
|
|
2006-04-19 06:15:37 +00:00
|
|
|
.include <bsd.port.post.mk>
|