--- Makefile.orig 2012-10-30 22:12:20.000000000 +0200 +++ Makefile 2013-01-22 23:57:35.000000000 +0200 @@ -42,7 +42,8 @@ MESSAGE_SUBST+= EXAMPLESDIR="${EXAMPLESDIR}" PLIST_SUBST+= DISTNAME=${DISTNAME} -RCD_SCRIPTS= exim +#RCD_SCRIPTS= exim +#PKG_RCD_SCRIPTS=NO OWN_DIRS_PERMS= ${VARBASE}/log/exim ${EXIM_USER} ${EXIM_GROUP} 0750 OWN_DIRS_PERMS+= ${VARBASE}/spool/exim ${EXIM_USER} ${EXIM_GROUP} 0750 @@ -110,8 +111,11 @@ sed -e 's:@PREFIX@:${PREFIX}:' \ ${FILESDIR}/mailer.conf.exim \ > ${WRKDIR}/mailer.conf + sed -e 's:@PREFIX@:${PREFIX}:' \ + ${FILESDIR}/exim \ + > ${WRKDIR}/exim.sh -INSTALLATION_DIRS = ${PKGMANDIR}/man8 sbin share/examples/exim share/doc/exim +INSTALLATION_DIRS = ${PKGMANDIR}/man8 sbin share/examples/exim share/doc/exim etc/rc.d post-install: ${INSTALL_DATA} ${WRKDIR}/mailer.conf ${DESTDIR}${EXAMPLESDIR} @@ -119,6 +123,9 @@ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/exim.8 ${INSTALL_DATA} ${WRKSRC}/doc/spec.txt \ ${DESTDIR}${PREFIX}/share/doc/exim + ${INSTALL_DATA} ${FILESDIR}/org.exim.exim.plist ${DESTDIR}${EXAMPLESDIR}/org.exim.exim.plist + ${INSTALL_SCRIPT} ${WRKDIR}/exim.sh ${DESTDIR}${EXAMPLESDIR}/exim.sh + ${INSTALL_SCRIPT} ${WRKDIR}/exim.sh ${DESTDIR}${PREFIX}/etc/rc.d/exim .include "../../converters/libiconv/buildlink3.mk" .include "../../devel/pcre/buildlink3.mk"