summaryrefslogtreecommitdiff
path: root/ports-mgmt/portmk
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2007-03-25 21:39:47 +0000
committerMark Linimon <linimon@FreeBSD.org>2007-03-25 21:39:47 +0000
commit47955804da26bf6b4cbea7c30411b13d1a078afb (patch)
treec0de33aadb5cbe5b56d2c19cea2dd1976932d751 /ports-mgmt/portmk
parent- Fix build on gcc 4.1 (diff)
These have now been committed to ports/Mk, so they are unneeded now.
Notes
Notes: svn path=/head/; revision=188329
Diffstat (limited to 'ports-mgmt/portmk')
-rw-r--r--ports-mgmt/portmk/Mk/bsd.autotools.mk326
-rw-r--r--ports-mgmt/portmk/Mk/bsd.efl.mk307
2 files changed, 0 insertions, 633 deletions
diff --git a/ports-mgmt/portmk/Mk/bsd.autotools.mk b/ports-mgmt/portmk/Mk/bsd.autotools.mk
deleted file mode 100644
index 41ad8cdb5441..000000000000
--- a/ports-mgmt/portmk/Mk/bsd.autotools.mk
+++ /dev/null
@@ -1,326 +0,0 @@
-#-*- mode: makefile; tab-width: 4; -*-
-# ex:ts=4
-#
-# $FreeBSD$
-#
-# Please view me with 4 column tabs!
-#
-# Please make sure all changes to this file are passed either through
-# the maintainer, or portmgr@FreeBSD.org
-
-Autotools_Include_MAINTAINER= ade@FreeBSD.org
-
-#---------------------------------------------------------------------------
-# IMPORTANT! READ ME! YES, THAT MEANS YOU!
-#
-# The "versioned" autotools referenced here are for BUILDING other ports
-# only. THIS CANNOT BE STRESSED HIGHLY ENOUGH. Things WILL BREAK if you
-# try to use them for anything other than ports/ work. This particularly
-# includes use as a run-time dependency.
-#
-# If you need unmodified versions of autotools, such as for use in an
-# IDE, then you MUST use the devel/gnu-* equivalents, and NOT these.
-# See devel/anjuta and devel/kdevelop for examples.
-#
-# You have been WARNED!
-#---------------------------------------------------------------------------
-
-#---------------------------------------------------------------------------
-# Entry point into the autotools system
-#---------------------------------------------------------------------------
-#
-# USE_AUTOTOOLS= tool:version[:env] ...
-#
-# 'tool' can currently be one of:
-# libtool, libltdl, autoconf, autoheader, automake, aclocal
-#
-# 'version' is tool dependent
-#
-# ':env' is used to pecify that the environment variables are needed,
-# but the relevant tool should NOT be run as part of the
-# run-autotools target
-#
-# XXX: there is currently no sanity checking of the supplied variables
-# other than to detect actually available versions. This should
-# probably be fixed at some point.
-#
-# In addition, the following variables can be set in the port Makefile
-# to be passed to the relevant tools:
-#
-# AUTOMAKE_ARGS=...
-# - Extra arguments passed to automake during configure step
-#
-# ACLOCAL_ARGS=...
-# - Arguments passed to aclocal during configure step
-#
-# AUTOCONF_ARGS=...
-# - Extra arguments passed to autoconf during configure step
-#
-# AUTOHEADER_ARGS=...
-# - Extra arguments passed to autoheader during configure step
-#
-# LIBTOOLFLAGS=<value>
-# - Arguments passed to libtool during configure step
-#
-# LIBTOOLFILES=<list-of-files>
-# - A list of files to patch during libtool pre-configuration
-# Defaults to "aclocal.m4" if autoconf is in use, otherwise
-# ${CONFIGURE_SCRIPT} (usually "configure")
-#
-#---------------------------------------------------------------------------
-
-# XXX: here be dragons :)
-#
-.for item in ${USE_AUTOTOOLS}
-AUTOTOOL_${item:C/^([^:]+).*/\1/}${item:M*\:*\:*:C/^[^:]+:[^:]+:([^:]+)/_\1/}= ${item:C/^[^:]+:([^:]+).*/\1/}
-.endfor
-
-# XXX: temporary to highlight any missed ports in the conversion
-#
-.if defined(AUTOTOOL_libtool_inc)
-IGNORE+= error: libtool:${AUTOTOOL_libtool_inc}:inc construct no longer available
-.endif
-
-#---------------------------------------------------------------------------
-# AUTOMAKE/ACLOCAL
-#---------------------------------------------------------------------------
-
-.if defined(AUTOTOOL_automake)
-AUTOTOOL_automake_env= ${AUTOTOOL_automake}
-GNU_CONFIGURE?= yes
-.endif
-
-.if defined(AUTOTOOL_aclocal)
-AUTOTOOL_automake_env= ${AUTOTOOL_aclocal}
-GNU_CONFIGURE?= yes
-.endif
-
-.if defined(AUTOTOOL_automake_env)
-AUTOMAKE_VERSION= ${AUTOTOOL_automake_env}
-
-# Make sure we specified a legal version of automake
-#
-. if !exists(${PORTSDIR}/devel/automake${AUTOMAKE_VERSION}/Makefile)
-IGNORE+= cannot install: unknown AUTOMAKE version: ${AUTOMAKE_VERSION}
-. endif
-
-# Set up the automake environment
-#
-AUTOMAKE= ${LOCALBASE}/bin/automake${AUTOMAKE_VERSION}
-AUTOMAKE_DIR= ${LOCALBASE}/share/automake${AUTOMAKE_VERSION}
-ACLOCAL= ${LOCALBASE}/bin/aclocal${AUTOMAKE_VERSION}
-ACLOCAL_DIR= ${LOCALBASE}/share/aclocal${AUTOMAKE_VERSION}
-AUTOMAKE_PATH= ${LOCALBASE}/libexec/automake${AUTOMAKE_VERSION}:
-AUTOMAKE_VARS= ACLOCAL=${ACLOCAL} AUTOMAKE=${AUTOMAKE}
-
-AUTOMAKE_DEPENDS= ${AUTOMAKE}:${PORTSDIR}/devel/automake${AUTOMAKE_VERSION}
-BUILD_DEPENDS+= ${AUTOMAKE_DEPENDS}
-
-# XXX: backwards compatibility shim
-#
-. if ${AUTOMAKE_VERSION} == 14
-AUTOMAKE_ARGS+= -i
-. endif
-
-. if defined(AUTOTOOL_aclocal)
-ACLOCAL_ARGS?= --acdir=${ACLOCAL_DIR}
-. endif
-
-.endif
-
-#---------------------------------------------------------------------------
-# AUTOCONF/AUTOHEADER
-#---------------------------------------------------------------------------
-
-.if defined(AUTOTOOL_autoheader)
-AUTOTOOL_autoconf= ${AUTOTOOL_autoheader}
-.endif
-
-.if defined(AUTOTOOL_autoconf)
-AUTOTOOL_autoconf_env= ${AUTOTOOL_autoconf}
-GNU_CONFIGURE?= yes
-.endif
-
-.if defined(AUTOTOOL_autoconf_env)
-AUTOCONF_VERSION= ${AUTOTOOL_autoconf_env}
-
-# Make sure we specified a legal version of autoconf
-#
-. if !exists(${PORTSDIR}/devel/autoconf${AUTOCONF_VERSION}/Makefile)
-IGNORE+= cannot install: unknown AUTOCONF version: ${AUTOCONF_VERSION}
-. endif
-
-# Set up the autoconf/autoheader environment
-#
-AUTOCONF= ${LOCALBASE}/bin/autoconf${AUTOCONF_VERSION}
-AUTOCONF_DIR= ${LOCALBASE}/share/autoconf${AUTOCONF_VERSION}
-AUTOHEADER= ${LOCALBASE}/bin/autoheader${AUTOCONF_VERSION}
-AUTOIFNAMES= ${LOCALBASE}/bin/ifnames${AUTOCONF_VERSION}
-AUTOM4TE= ${LOCALBASE}/bin/autom4te${AUTOCONF_VERSION}
-AUTORECONF= ${LOCALBASE}/bin/autoreconf${AUTOCONF_VERSION}
-AUTOSCAN= ${LOCALBASE}/bin/autoscan${AUTOCONF_VERSION}
-AUTOUPDATE= ${LOCALBASE}/bin/autoupdate${AUTOCONF_VERSION}
-AUTOCONF_PATH= ${LOCALBASE}/libexec/autoconf${AUTOCONF_VERSION}:
-AUTOCONF_VARS= AUTOCONF=${AUTOCONF} AUTOHEADER=${AUTOHEADER} AUTOIFNAMES=${AUTOIFNAMES} AUTOM4TE=${AUTOM4TE} AUTORECONF=${AUTORECONF} AUTOSCAN=${AUTOSCAN} AUTOUPDATE=${AUTOUPDATE}
-
-AUTOCONF_DEPENDS= ${AUTOCONF}:${PORTSDIR}/devel/autoconf${AUTOCONF_VERSION}
-BUILD_DEPENDS+= ${AUTOCONF_DEPENDS}
-
-.endif
-
-#---------------------------------------------------------------------------
-# LIBTOOL/LIBLTDL
-#---------------------------------------------------------------------------
-
-# Convenience function to save people having to depend directly on
-# devel/libltdl15
-#
-.if defined(AUTOTOOL_libltdl)
-LIB_DEPENDS+= ltdl.4:${PORTSDIR}/devel/libltdl15
-.endif
-
-.if defined(AUTOTOOL_libtool)
-GNU_CONFIGURE?= YES
-AUTOTOOL_libtool_env= ${AUTOTOOL_libtool}
-.endif
-
-.if defined(AUTOTOOL_libtool_env)
-LIBTOOL_VERSION= ${AUTOTOOL_libtool_env}
-
-# Make sure we specified a legal version of libtool
-#
-. if !exists(${PORTSDIR}/devel/libtool${LIBTOOL_VERSION}/Makefile)
-IGNORE+= cannot install: unknown LIBTOOL version: ${LIBTOOL_VERSION}
-. endif
-
-# Set up the libtool environment
-#
-LIBTOOL= ${LOCALBASE}/bin/libtool
-LIBTOOLIZE= ${LOCALBASE}/bin/libtoolize
-LIBTOOL_LIBEXECDIR= ${LOCALBASE}/libexec/libtool
-LIBTOOL_SHAREDIR= ${LOCALBASE}/share/libtool
-LIBTOOL_M4= ${LOCALBASE}/share/aclocal/libtool.m4
-LTMAIN= ${LIBTOOL_SHAREDIR}/ltmain.sh
-LIBTOOL_VARS= LIBTOOL=${LIBTOOL} LIBTOOLIZE=${LIBTOOLIZE} LIBTOOL_M4=${LIBTOOL_M4}
-
-LIBTOOL_DEPENDS= ${LIBTOOL}:${PORTSDIR}/devel/libtool${LIBTOOL_VERSION}
-BUILD_DEPENDS+= ${LIBTOOL_DEPENDS}
-
-LIBTOOLFLAGS?= # default to empty
-
-. if defined(AUTOTOOL_autoconf)
-LIBTOOLFILES?= aclocal.m4
-. else
-LIBTOOLFILES?= ${CONFIGURE_SCRIPT}
-. endif
-
-.endif
-
-#---------------------------------------------------------------------------
-# Environmental handling
-# Now that we've got our environments defined for autotools, add them
-# in so that the rest of the world can handle them
-#
-AUTOTOOLS_PATH= ${AUTOMAKE_PATH}${AUTOCONF_PATH}
-AUTOTOOLS_VARS= ${AUTOMAKE_VARS} ${AUTOCONF_VARS} ${LIBTOOL_VARS}
-
-.if defined(AUTOTOOLS_PATH) && (${AUTOTOOLS_PATH} != "")
-AUTOTOOLS_ENV+= PATH=${AUTOTOOLS_PATH}${PATH}
-CONFIGURE_ENV+= PATH=${AUTOTOOLS_PATH}${PATH}
-MAKE_ENV+= PATH=${AUTOTOOLS_PATH}${PATH}
-SCRIPTS_ENV+= PATH=${AUTOTOOLS_PATH}${PATH}
-. for item in automake aclocal autoconf autoheader libtool
-. if defined(AUTOTOOL_${item}_env)
-${item:U}_ENV+= PATH=${AUTOTOOLS_PATH}${PATH}
-. endif
-. endfor
-.endif
-
-.if defined(AUTOTOOLS_VARS) && (${AUTOTOOLS_VARS} != "")
-AUTOTOOLS_ENV+= ${AUTOTOOLS_VARS}
-CONFIGURE_ENV+= ${AUTOTOOLS_VARS}
-MAKE_ENV+= ${AUTOTOOLS_VARS}
-SCRIPTS_ENV+= ${AUTOTOOLS_VARS}
-. for item in automake aclocal autoconf autoheader libtool
-. if defined(AUTOTOOL_${item}_env)
-${item:U}_ENV+= ${AUTOTOOLS_VARS}
-. endif
-. endfor
-.endif
-
-#---------------------------------------------------------------------------
-# Make targets
-#---------------------------------------------------------------------------
-
-# run-autotools
-#
-# Part of the configure set - run appropriate programs prior to
-# the actual configure target if autotools are in use.
-# If needed, this target can be overridden, for example to change
-# the order of autotools running.
-
-.if !target(run-autotools)
-run-autotools:: run-autotools-aclocal patch-autotools run-autotools-autoheader \
- run-autotools-autoconf run-autotools-automake
-.endif
-
-.if !target(run-autotools-aclocal)
-run-autotools-aclocal:
-. if defined(AUTOTOOL_aclocal)
- @(cd ${CONFIGURE_WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${ACLOCAL} \
- ${ACLOCAL_ARGS})
-. else
- @${DO_NADA}
-. endif
-.endif
-
-.if !target(run-autotools-automake)
-run-autotools-automake:
-. if defined(AUTOTOOL_automake)
- @(cd ${CONFIGURE_WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${AUTOMAKE} \
- ${AUTOMAKE_ARGS})
-. else
- @${DO_NADA}
-. endif
-.endif
-
-.if !target(run-autotools-autoconf)
-run-autotools-autoconf:
-. if defined(AUTOTOOL_autoconf)
- @(cd ${CONFIGURE_WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${AUTOCONF} \
- ${AUTOCONF_ARGS})
-. else
- @${DO_NADA}
-. endif
-.endif
-
-.if !target(run-autotools-autoheader)
-run-autotools-autoheader:
-. if defined(AUTOTOOL_autoheader)
- @(cd ${CONFIGURE_WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${AUTOHEADER} \
- ${AUTOHEADER_ARGS})
-. else
- @${DO_NADA}
-. endif
-.endif
-
-# patch-autotools
-#
-# Special target to automatically make libtool using ports use the
-# libtool port. See above for default values of LIBTOOLFILES.
-
-.if !target(patch-autotools)
-patch-autotools::
-. if defined(AUTOTOOL_libtool)
- @(cd ${PATCH_WRKSRC}; \
- for file in ${LIBTOOLFILES}; do \
- ${CP} $$file $$file.tmp; \
- ${SED} -e "/^ltmain=/!s^\$$ac_aux_dir/ltmain.sh^${LIBTOOLFLAGS} ${LTMAIN}^g" \
- -e '/^LIBTOOL=/s^\$$(top_builddir)/libtool^${LIBTOOL}^g' \
- $$file.tmp > $$file; \
- ${RM} $$file.tmp; \
- done);
-. else
- @${DO_NADA}
-. endif
-.endif
diff --git a/ports-mgmt/portmk/Mk/bsd.efl.mk b/ports-mgmt/portmk/Mk/bsd.efl.mk
deleted file mode 100644
index b8d0f1098ee3..000000000000
--- a/ports-mgmt/portmk/Mk/bsd.efl.mk
+++ /dev/null
@@ -1,307 +0,0 @@
-#
-# $MBSDlabs: portmk/bsd.efl.mk,v 1.17 2006/10/02 14:57:48 stas Exp $
-# $FreeBSD$
-#
-# bsd.efl.mk - Support for Enlightenment Foundation Libraries (EFL)
-#
-# Author: Stanislav Sedov <ssedov@mbsd.msk.ru>
-# Inspired by bsd.sdl.mk by Edwin Groothuis <edwin@freebsd.org>
-#
-# You can specify EFL-related library dependency using "USE_EFL=" statement,
-# e.g. "USE_EFL= ecore evas" will add x11/ecore and graphics/evas as dependency
-# for your port.
-# You can check existency of certain library throught "WANT_EFL/HAVE_EFL" pair.
-# Note: WANT_EFL should be defined before including <bsd.port.pre.mk>, and
-# HAVE_EFL variable could be tested after it. For example:
-#
-# WANT_EFL= yes
-# .include <bsd.port.pre.mk>
-# .if ${HAVE_EFL:Mevas}
-# USE_EFL+= evas
-# .endif
-#
-# Currently recognized variables are:
-# USE_EFL - lists all EFL libraries which port depends on
-# WANT_EFL - the port wants to test which of EFL libraries are installed
-# on the target system
-# USE_EFL_ESMART- the ports depends on specified esmart objects (or on all
-# esmart objects if "yes")
-#
-# The following variables could be tested after inclusion of bsd.port.pre.mk:
-# HAVE_EFL - lists all EFL libraries which are available on target system
-# HAVE_EFL_ESMART - esmart objects available
-#
-# Feel free to send any comments and suggestion to maintainer.
-#
-
-EFL_Include_MAINTAINER= ssedov@mbsd.msk.ru
-
-#
-# Define all supported libraries
-#
-_USE_EFL_ALL= ecore edb edje eet embryo emotion engrave enhance epeg \
- epsilon etk etox evas evfs ewl exml imlib2
-
-# For each library supported we define the following variables:
-# _%%LIB%%_CATEGORY - category the port belongs to
-# _%%LIB%%_DEPENDS - other EFL libraries the library
-# itself depends on. We'll define them explicitly
-# to handle unwanted deinstalls.
-# _%%LIB%%_PREFIX - where the library is installed
-# _%%LIB%%_VERSION - version of the shared library
-# _%%LIB%%_SLIB - name of the shared library
-#
-
-_ecore_CATEGORY= x11
-_ecore_DEPENDS= evas
-_ecore_PREFIX= ${LOCALBASE}
-_ecore_VERSION= 1
-
-_edb_CATEGORY= databases
-_edb_PREFIX= ${LOCALBASE}
-_edb_VERSION= 1
-
-_eet_CATEGORY= devel
-_eet_PREFIX= ${LOCALBASE}
-_eet_VERSION= 9
-
-_edje_CATEGORY= graphics
-_edje_DEPENDS= embryo eet imlib2 evas ecore
-_edje_PREFIX= ${LOCALBASE}
-_edje_VERSION= 5
-
-_embryo_CATEGORY= lang
-_embryo_PREFIX= ${LOCALBASE}
-_embryo_VERSION= 9
-
-_emotion_CATEGORY= multimedia
-_emotion_DEPENDS= ecore edje eet embryo evas
-_emotion_PREFIX= ${LOCALBASE}
-_emotion_VERSION= 0
-
-_engrave_CATEGORY= devel
-_engrave_DEPENDS= ecore evas
-_engrave_PREFIX= ${LOCALBASE}
-_engrave_VERSION= 1
-
-_enhance_CATEGORY= x11-toolkits
-_enhance_DEPENDS= ecore etk exml
-_enhance_PREFIX= ${LOCALBASE}
-_enhance_VERSION= 0
-
-_epeg_CATEGORY= graphics
-_epeg_PREFIX= ${LOCALBASE}
-_epeg_VERSION= 9
-
-_epsilon_CATEGORY= graphics
-_epsilon_DEPENDS= epeg edje imlib2 ecore
-_epsilon_PREFIX= ${LOCALBASE}
-_epsilon_VERSION= 0
-
-_etk_CATEGORY= x11-toolkits
-_etk_DEPENDS= evas ecore edje
-_etk_PREFIX= ${LOCALBASE}
-_etk_VERSION= 1
-
-_etox_CATEGORY= x11-toolkits
-_etox_DEPENDS= edb evas ecore
-_etox_PREFIX= ${LOCALBASE}
-_etox_VERSION= 0
-
-_evas_CATEGORY= graphics
-_evas_DEPENDS= eet edb
-_evas_PREFIX= ${LOCALBASE}
-_evas_VERSION= 1
-
-_evfs_CATEGORY= devel
-_evfs_DEPENDS= eet ecore
-_evfs_PREFIX= ${LOCALBASE}
-_evfs_VERSION= 0
-
-_ewl_CATEGORY= x11-toolkits
-_ewl_DEPENDS= evas ecore edje epsilon
-_ewl_PREFIX= ${LOCALBASE}
-_ewl_VERSION= 1
-
-_exml_CATEGORY= textproc
-_exml_DEPENDS= ecore
-_exml_PREFIX= ${LOCALBASE}
-_exml_VERSION= 1
-
-_imlib2_CATEGORY= graphics
-_imlib2_PREFIX= ${LOCALBASE}
-_imlib2_VERSION= 4
-_imlib2_SLIB= Imlib2
-
-#
-# Assign values for variables which were not defined explicitly
-#
-.for LIB in ${_USE_EFL_ALL}
-. if !defined(_${LIB}_DEPENDS)
-_${LIB}_DEPENDS= #empty
-. endif
-. if !defined(_${LIB}_SLIB)
-_${LIB}_SLIB=${LIB}
-. endif
-.endfor
-
-#
-# Esmart support. We'll define esmart components in the way they are
-# defined for EFL.
-# Values processed:
-# _esmart_COMP_CATEGORY - Where the port for this esmart object is located
-# _esmart_COMP_PORTNAME - Object's port subdirectory
-# _esmart_COMP_DEPENDS - Other components which this object depends on
-# _esmart_COMP_PREFIX - Where the shared library for this object is located
-# _esmart_COMP_VERSION - Version of the shared library
-#
-
-# All components that are currently supported
-_EFL_ESMART_ALL= container draggies file_dialog text_entry \
- thumb trans_x11
-
-#
-# Generic stock esmart definitions
-#
-_EFL_ESMART_CATEGORY= graphics
-_EFL_ESMART_PORTNAME= esmart
-_EFL_ESMART_DEPENDS= epsilon evas ecore imlib2 edje
-_EFL_ESMART_PREFIX= ${LOCALBASE}
-_EFL_ESMART_VERSION= 0
-
-#
-# Assign values for variables which were not defined explicitly
-#
-.for COMP in ${_EFL_ESMART_ALL}
-. if !defined(_esmart_${COMP}_CATEGORY)
-_esmart_${COMP}_CATEGORY= ${_EFL_ESMART_CATEGORY}
-. endif
-. if !defined(_esmart_${COMP}_PORTNAME)
-_esmart_${COMP}_PORTNAME= ${_EFL_ESMART_PORTNAME}
-. endif
-. if !defined(_esmart_${COMP}_PREFIX)
-_esmart_${COMP}_PREFIX= ${_EFL_ESMART_PREFIX}
-. endif
-. if !defined(_esmart_${COMP}_DEPENDS)
-_esmart_${COMP}_DEPENDS= #empty
-. endif
-. if !defined(_esmart_${COMP}_SLIB)
-_esmart_${COMP}_SLIB= esmart_${COMP}
-. endif
-. if !defined(_esmart_${COMP}_VERSION)
-_esmart_${COMP}_VERSION= ${_EFL_ESMART_VERSION}
-. endif
-.endfor
-
-#
-# Handle WANT_EFL feature
-#
-.if !defined(AFTERPORTMK)
-.if !defined(EFL_Include_pre)
-
-EFL_Include_pre= bsd.efl.mk
-
-HAVE_EFL?=
-HAVE_EFL_ESMART?=
-.if defined(WANT_EFL)
-. for LIB in ${_USE_EFL_ALL}
-. if exists(${_${LIB}_PREFIX}/lib/lib${_${LIB}_SLIB}.so.${_${LIB}_VERSION})
-HAVE_EFL+= ${LIB}
-. endif
-. endfor
-. for COMP in ${_EFL_ESMART_ALL}
-. if exists(${_esmart_${COMP}_PREFIX}/lib/lib${_esmart_${COMP}_SLIB}.so.${_esmart_${COMP}_VERSION})
-HAVE_EFL_ESMART+= ${COMP}
-. endif
-. endfor
-.endif
-
-.endif #EFL_Include_pre
-.endif #AFTERPORTMK
-
-#
-# Handle USE_EFL & USE_ESMART feature
-#
-.if !defined(BEFOREPORTMK)
-.if !defined(EFL_Include_post)
-
-.if defined(USE_EFL_ESMART)
-
-USE_EFL+= ${_EFL_ESMART_DEPENDS} #we use EFL too
-
-_USE_EFL_ESMART= #empty
-.if USE_EFL_ESMART=="yes"
-_USE_EFL_ESMART= ${_EFL_ESMART_ALL}
-.else
-. for COMP in ${USE_EFL_ESMART}
-. if ${_EFL_ESMART_ALL:M${COMP}}==""
-IGNORE= cannot install: unknown Esmart component ${COMP}
-. else
-_USE_EFL_ESMART+= ${COMP} ${_esmart_${COMP}_DEPENDS}
-. endif
-. endfor
-.endif
-
-# Get rid of duplicates
-#.if ${OSVERSION} > 700016
-#_USE_EFL_ESMART_UQ= ${_USE_EFL_ESMART:O:u}
-#.else
-_USE_EFL_ESMART_UQ= #empty
-. for COMP in ${_USE_EFL_ESMART}
-. if ${_USE_EFL_ESMART_UQ:M${COMP}}==""
-_USE_EFL_ESMART_UQ+= ${COMP}
-. endif
-. endfor
-#.endif
-
-.for COMP in ${_USE_EFL_ESMART_UQ}
-LIB_DEPENDS+= ${_esmart_${COMP}_SLIB}.${_esmart_${COMP}_VERSION}:${PORTSDIR}/${_esmart_${COMP}_CATEGORY}/${_esmart_${COMP}_PORTNAME}
-.endfor
-
-.endif #USE_EFL_ESMART
-
-.if defined(USE_EFL)
-
-EFL_Include_post= bsd.efl.mk
-
-#
-# Check if we have all libraries requiested and build depends list
-#
-_USE_EFL= #empty
-.for LIB in ${USE_EFL}
-. if ${_USE_EFL_ALL:M${LIB}}==""
-IGNORE= cannot install: unknown library ${LIB}
-. endif
-_USE_EFL+= ${_${LIB}_DEPENDS} ${LIB}
-.endfor
-
-#
-# Get rid of duplicates
-#
-_USE_EFL_UQ= #empty
-.for LIB in ${_USE_EFL}
-. if ${_USE_EFL_UQ:M${LIB}}==""
-_USE_EFL_UQ+= ${LIB}
-. endif
-.endfor
-
-#
-# define dependencies
-#
-.for LIB in ${_USE_EFL_UQ}
-LIB_DEPENDS+= ${_${LIB}_SLIB}.${_${LIB}_VERSION}:${PORTSDIR}/${_${LIB}_CATEGORY}/${LIB}
-.endfor
-
-#
-# Initialize configure enviropment
-#
-CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
- CFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include ${CFLAGS}" \
- LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib ${LDFLAGS}"
-
-PLIST_SUB+= E17_ARCH=freebsd${OSREL}-${ARCH}
-
-.endif #USE_EFL
-
-.endif #EFL_Include_post
-.endif #BEFOREPORTMK