Merge configure target fixes from ports/62034, add USE_GNOME support.

PR:		62034
Submitted by:	Ulrich Spoerlein <q@uni.de>
This commit is contained in:
Jimmy Olgeni 2004-01-29 20:25:29 +00:00
parent a7cb688174
commit 1a5fb07c58
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=99440

View file

@ -15,13 +15,14 @@ EXTRACT_SUFX= .tgz
MAINTAINER= olgeni@FreeBSD.org
COMMENT= A session manager for the ROX desktop
BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
LIB_DEPENDS= gtk-x11-2.0.200:${PORTSDIR}/x11-toolkits/gtk20 \
xml2.5:${PORTSDIR}/textproc/libxml2
RUN_DEPENDS= ${LOCALBASE}/bin/rox:${PORTSDIR}/x11-fm/rox-filer
WRKSRC= ${WRKDIR}/ROX-Session-${PORTVERSION}
USE_GNOME= gtk20 pkgconfig libxml2
USE_AUTOCONF= yes
HAS_CONFIGURE= yes
.include <bsd.port.pre.mk>
.if (${ARCH} == "i386")
@ -32,6 +33,11 @@ BINARIES= FreeBSD-${ARCH}
PLIST_SUB= BINARIES="${BINARIES}"
CONFIGURE_ARGS= --enable-rox --with-platform=${BINARIES}
CONFIGURE_WRKSRC= ${WRKSRC}/ROX-Session/src
BUILD_WRKSRC= ${CONFIGURE_WRKSRC}
ALL_TARGET=
do-build:
# Run the custom build procedure
@cd ${WRKSRC}/ROX-Session && GTK_CONFIG=${GTK_CONFIG} GLIB_CONFIG=${GLIB_CONFIG} ./AppRun --compile