PORTNAME=exim PORTDIR=/usr/dports/mail/${PORTNAME}/ CONFDIR=/usr/local/etc/exim STARTUP_SCRIPT=/usr/local/etc/rc.d/exim* include ../make.conf-default -include ../make.conf include Makefile.inc -include Makefile.local #_PORTUPGRADE_TOOL_=`/bin/sh -c 'if [ -z "${PORTUPGRADE_TOOL}" ] ; then if [ -f /usr/local/sbin/portupgrade ] ; then echo "portupgrade" ; elif [ -f /usr/local/sbin/portmaster ] ; then echo "portmaster" ; fi ; else echo ${PORTUPGRADE_TOOL} ; fi'` _PORTUPGRADE_TOOL_:=$(shell if [ -z "${PORTUPGRADE_TOOL}" ] ; then if [ -f /usr/local/sbin/portupgrade ] ; then echo "portupgrade" ; elif [ -f /usr/local/sbin/portmaster ] ; then echo "portmaster" ; fi ; else echo ${PORTUPGRADE_TOOL} ; fi) replace : replace_port replace_port : rsync -avz --delete core/ ${PORTDIR} config : /bin/sh -c 'cd ${PORTDIR} ; make config' clean : /bin/sh -c 'cd ${PORTDIR} ; make clean' fetch : /bin/sh -c 'cd ${PORTDIR} ; make fetch' build : patch /bin/sh -c 'cd ${PORTDIR} ; make build' install : /bin/sh -c 'cd ${PORTDIR} ; make install' deinstall : /bin/sh -c 'cd ${PORTDIR} ; make deinstall' portupgrade : patch if [ "${_PORTUPGRADE_TOOL_}" = "portupgrade" ] ; then \ PORTSDIR=/usr/dports portupgrade ${PORTUPGRADE_OPTIONS} ${PORTNAME} ; \ elif [ "${_PORTUPGRADE_TOOL_}" = "portmaster" ] ; then \ PAGER=/bin/cat portmaster ${PORTMASTER_OPTIONS} ${PORTNAME} ; \ fi force_portupgrade : portupgrade_force portupgrade_force : patch if [ "${_PORTUPGRADE_TOOL_}" = "portupgrade" ] ; then \ PORTSDIR=/usr/dports portupgrade -f ${PORTUPGRADE_OPTIONS} ${PORTNAME} ; \ elif [ "${_PORTUPGRADE_TOOL_}" = "portmaster" ] ; then \ PAGER=/bin/cat portmaster -f ${PORTMASTER_OPTIONS} ${PORTNAME} ; \ fi stop : [ -z "${STARTUP_SCRIPT}" ] || ${STARTUP_SCRIPT} stop start : [ -z "${STARTUP_SCRIPT}" ] || ${STARTUP_SCRIPT} start restart : [ -z "${STARTUP_SCRIPT}" ] || ${STARTUP_SCRIPT} restart reload : [ -z "${STARTUP_SCRIPT}" ] || ${STARTUP_SCRIPT} reload