# $NetBSD: Makefile,v 1.5 2006/04/20 13:36:44 cheusov Exp $ .include "Makefile.common" COMMENT= Open relay scanner BUILD_TARGET= freebsd PTHREAD_OPTS= require CONF_FILES= ${PREFIX}/share/examples/smtprc/auto.conf \ ${PKG_SYSCONFDIR}/auto.conf CONF_FILES+= ${PREFIX}/share/examples/smtprc/email.tmpl \ ${PKG_SYSCONFDIR}/email.tmpl CONF_FILES+= ${PREFIX}/share/examples/smtprc/rcheck.conf \ ${PKG_SYSCONFDIR}/rcheck.conf pre-build: @${SED} -e 's#@PREFIX@#${PREFIX}#g' \ < ${WRKSRC}/Makefile > ${WRKSRC}/Makefile.new @${CP} ${WRKSRC}/Makefile.new ${WRKSRC}/Makefile do-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/smtprc ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/smtprc ${INSTALL_PROGRAM} ${WRKSRC}/smtprc ${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/auto.conf ${PREFIX}/share/examples/smtprc ${INSTALL_DATA} ${WRKSRC}/email.tmpl ${PREFIX}/share/examples/smtprc ${INSTALL_DATA} ${WRKSRC}/rcheck.conf ${PREFIX}/share/examples/smtprc ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/smtprc ${INSTALL_DATA} ${WRKSRC}/FAQ ${PREFIX}/share/doc/smtprc ${INSTALL_MAN} ${WRKSRC}/smtprc.1 ${PREFIX}/${PKGMANDIR}/man1 .include "../../mk/pthread.buildlink3.mk" .include "../../mk/bsd.pkg.mk"