PORTNAME=exim PORTDIR=/usr/pkgsrc/mail/${PORTNAME}/ CONFDIR=/usr/pkg/etc/exim include ../make.conf-default -include ../make.conf include Makefile.inc -include Makefile.local replace_port : rsync -avz --delete core/ ${PORTDIR} patch_port : /bin/sh -c ' \ if [ -d ${CURDIR}/files ] ; then \ cp -p ${CURDIR}/files/* ${PORTDIR}/files/ ; \ fi ; \ if [ -d ${CURDIR}/files-port ] ; then \ cp -p ${CURDIR}/files-port/* ${PORTDIR}/ ; \ fi ; \ cd ${PORTDIR} ; \ if [ -d ${CURDIR}/patches-port ] ; then \ for patch in ${CURDIR}/patches-port/*.patch ; do \ echo "patch < $${patch}" ; \ patch < $${patch} ; \ done ; \ fi ; \ ' clean : /bin/sh -c "cd ${PORTDIR} ; ${MAKE} clean PKG_OPTIONS.exim='${PKG_OPTIONS_DEFAULT} ${PKG_OPTIONS}'" fetch : /bin/sh -c "cd ${PORTDIR} ; ${MAKE} fetch PKG_OPTIONS.exim='${PKG_OPTIONS_DEFAULT} ${PKG_OPTIONS}'" build : patch /bin/sh -c "cd ${PORTDIR} ; ${MAKE} build PKG_OPTIONS.exim='${PKG_OPTIONS_DEFAULT} ${PKG_OPTIONS}'" install : /bin/sh -c "cd ${PORTDIR} ; ${MAKE} install PKG_OPTIONS.exim='${PKG_OPTIONS_DEFAULT} ${PKG_OPTIONS}'" deinstall : /bin/sh -c "cd ${PORTDIR} ; ${MAKE} deinstall PKG_OPTIONS.exim='${PKG_OPTIONS_DEFAULT} ${PKG_OPTIONS}'" reinstall : /bin/sh -c "cd ${PORTDIR} ; ${MAKE} reinstall PKG_OPTIONS.exim='${PKG_OPTIONS_DEFAULT} ${PKG_OPTIONS}'" replace : /bin/sh -c "cd ${PORTDIR} ; ${MAKE} replace PKG_OPTIONS.exim='${PKG_OPTIONS_DEFAULT} ${PKG_OPTIONS}'" package : /bin/sh -c "cd ${PORTDIR} ; ${MAKE} package PKG_OPTIONS.exim='${PKG_OPTIONS_DEFAULT} ${PKG_OPTIONS}'" 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