PORTNAME=exim PORTDIR=/usr/pkgsrc/mail/${PORTNAME}/ CONFDIR=/usr/pkg/etc/exim STARTUP_SCRIPT=/etc/rc.d/exim include Makefile.inc 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 \ 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 ; 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 : ${STARTUP_SCRIPT} stop start : ${STARTUP_SCRIPT} start restart : ${STARTUP_SCRIPT} restart reload : ${STARTUP_SCRIPT} reload