mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
334eb0fc61
If a port used other USE_GNOME items it was untouched. The ports that used other USES were fixed by hand. PR: ports/177081 Reviewed by: bapt Approved by: portmgr (miwi)
94 lines
2.4 KiB
Makefile
94 lines
2.4 KiB
Makefile
# Created by: Sergey Matveychuk <sem@ciam.ru>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= ede
|
|
PORTVERSION= 2.0
|
|
CATEGORIES= x11-wm
|
|
MASTER_SITES= SF \
|
|
SF/${PORTNAME}/${PORTNAME}lib/${PORTVERSION}:edelib
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
|
${EDELIB_DISTFILE}:edelib
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Equinox Desktop Environment
|
|
|
|
LICENSE= GPLv2 LGPL20
|
|
LICENSE_COMB= multi
|
|
|
|
BUILD_DEPENDS= doxygen:${PORTSDIR}/devel/doxygen \
|
|
jam:${PORTSDIR}/devel/jam \
|
|
update-mime-database:${PORTSDIR}/misc/shared-mime-info
|
|
LIB_DEPENDS= dbus-1.3:${PORTSDIR}/devel/dbus \
|
|
curl.6:${PORTSDIR}/ftp/curl \
|
|
startup-notification-1.0:${PORTSDIR}/x11/startup-notification \
|
|
fltk.1:${PORTSDIR}/x11-toolkits/fltk
|
|
RUN_DEPENDS= update-mime-database:${PORTSDIR}/misc/shared-mime-info
|
|
|
|
OPTIONS_DEFINE= HAL
|
|
HAL_DESC= Enable HAL support
|
|
|
|
USE_XORG= xcomposite xft xinerama xpm xrandr
|
|
USES= pathfix
|
|
USE_PYTHON= yes
|
|
USE_FAM= yes
|
|
USE_GETTEXT= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-edelib_path=${EDELIB_WRKSRC} \
|
|
--with-fltk-path=${LOCALBASE}
|
|
INSTALL_ICONS= yes
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
CONFLICTS_INSTALL= pekwm-[0-9]*
|
|
|
|
EDELIB_NAME= edelib
|
|
EDELIB_VERSION= ${PORTVERSION}
|
|
EDELIB_DISTNAME=${EDELIB_NAME}-${EDELIB_VERSION}
|
|
EDELIB_DISTFILE=${EDELIB_DISTNAME}${EXTRACT_SUFX}
|
|
EDELIB_WRKSRC= ${WRKDIR}/${EDELIB_DISTNAME}
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MHAL}
|
|
LIB_DEPENDS+= hal.1:${PORTSDIR}/sysutils/hal
|
|
.else
|
|
CONFIGURE_ARGS+=--disable-hal
|
|
.endif
|
|
|
|
# use multiple make jobs
|
|
.if !defined(DISABLE_MAKE_JOBS)
|
|
_make_jobs= -j${MAKE_JOBS_NUMBER}
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
's|/usr/local/share|${LOCALBASE}/share| ; \
|
|
/OPTIM_FLAGS=/s|-O2|-fPIC| ; \
|
|
s|_daylight=yes|_daylight=no|' ${EDELIB_WRKSRC}/configure
|
|
|
|
pre-configure:
|
|
@(cd ${EDELIB_WRKSRC} \
|
|
&& ${SETENV} ${CONFIGURE_ENV} ./configure \
|
|
--prefix=${WRKDIR}/fakeroot \
|
|
--with-fltk-path=${LOCALBASE} \
|
|
--build=${CONFIGURE_TARGET} \
|
|
CC="${CC}" CXX="${CXX}" \
|
|
CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" \
|
|
CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}")
|
|
|
|
pre-build:
|
|
@(cd ${EDELIB_WRKSRC} \
|
|
&& ${LOCALBASE}/bin/jam ${_make_jobs} \
|
|
&& ${LOCALBASE}/bin/jam ${INSTALL_TARGET})
|
|
|
|
do-build:
|
|
@(cd ${BUILD_WRKSRC} && ${LOCALBASE}/bin/jam ${_make_jobs})
|
|
|
|
do-install:
|
|
@(cd ${INSTALL_WRKSRC} && ${LOCALBASE}/bin/jam ${INSTALL_TARGET})
|
|
@-update-mime-database ${PREFIX}/share/mime
|
|
|
|
.include <bsd.port.mk>
|