# Created by: ache # $FreeBSD$ PORTNAME= dk-milter PORTVERSION= 1.0.2 CATEGORIES= mail MASTER_SITES= SF/${PORTNAME}/DomainKeys%20Milter/${PORTVERSION} MAINTAINER= dinoex@FreeBSD.org COMMENT= Domainkeys milter for Sendmail USE_RC_SUBR= milter-dk USE_OPENSSL= yes .if !defined(BUILDING_INDEX) IPCCHECK!= ipcrm -q 0 2>&1 || true .if ${IPCCHECK:Mimplemented} IGNORE= your system does not support sysvipc .endif .endif .if defined(WITH_POSTFIX_MILTER) || defined(WITH_POSTFIX) || defined(WITH_POSTFIX_CURRENT) WITH_SENDMAIL_BASE= yes PKGMESSAGE= pkg-message.postfix .if defined(WITH_POSTFIX_CURRENT) RUN_DEPENDS+= ${LOCALBASE}/libexec/postfix/smtpd:${PORTSDIR}/mail/postfix-current .else RUN_DEPENDS+= ${LOCALBASE}/libexec/postfix/smtpd:${PORTSDIR}/mail/postfix .endif .endif WCONF= ${WRKSRC}/devtools/Site MAN8= dk-filter.8 DOCSFILES= FEATURES INSTALL KNOWNBUGS LICENSE README RELEASE_NOTES \ rfc4870.txt dk-filter/autorespond.csh SITE+= ${FILESDIR}/site.config.m4 SITE_SUB+= -e "s|%%PREFIX%%|${PREFIX}|g" \ -e "s|%%LOCALBASE%%|${LOCALBASE}|g" .include WITHOUT_MILTER_CFLAGS= yes .include "${PORTSDIR}/mail/sendmail/bsd.milter.mk" SITE+= ${WRKSRC}/site.config.m4.dist .if defined(WITH_SENDMAIL_PORT) SITE+= ${FILESDIR}/site.config.m4.milter .endif .if defined(WITH_SENDMAIL_STATIC_MILTER) SITE_SUB+= -e '\|-static|s|%%STATIC%%||g' .else SITE_SUB+= -e '\|-static|s|%%STATIC%%|dnl |g' .endif SUB_LIST= "RC_SCRIPT=${PREFIX}/etc/rc.d/${USE_RC_SUBR}" .if defined(WITH_DEBUG) SITE_SUB+= -e '\|confOPTIMIZE.*-g|s/^dnl //g' .endif .if !defined(WITHOUT_ARLIB) SITE_SUB+= -e '\|bld_USE_ARLIB|s/^dnl //g' .endif .if defined(WITH_POPAUTH) && !defined(WITHOUT_POPAUTH) SITE_SUB+= -e '/-DPOPAUTH/s/^dnl //g' .endif .if defined(WITH_POPAUTH) . if defined(WITH_BDB_BASE) IGNORE= does not work with base bdb SITE_SUB+= -e 's|%%BDB%%|dnl |g' . else USE_BDB= 41+ INVALID_BDB_VER= 2 40 SITE_SUB+= -e 's|%%BDB%%||g' \ -e "s|%%BDB_LIB_DIR%%|${BDB_LIB_DIR}|g" \ -e "s|%%BDB_INCLUDE_DIR%%|${BDB_INCLUDE_DIR}|g" \ -e "s|%%BDB_LIB_NAME%%|${BDB_LIB_NAME}|g" . endif .else SITE_SUB+= -e 's|%%BDB%%|dnl |g' .endif .if defined(WITH_OPENSSL_BASE) SITE_SUB+= -e 's|%%OPENSSL%%|dnl |g' .else SITE_SUB+= -e 's|%%OPENSSL%%||g' \ -e "s|%%OPENSSLINC%%|${OPENSSLINC}|g" \ -e "s|%%OPENSSLLIB%%|${OPENSSLLIB}|g" .endif .include "${.CURDIR}/Makefile.features" pre-configure: ${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS}|' \ -e 's|-D_THREAD_SAFE|${PTHREAD_CFLAGS}|' \ -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ -e "s|\`-O'|\`${CFLAGS}'|g" \ ${WRKSRC}/devtools/OS/FreeBSD ${SED} ${SITE_SUB} -e '\|^dnl |d' -e '/^dnl$$/d' \ ${SITE} > ${WCONF}/site.config.m4 post-install: .if !defined(WITH_DEBUG) -${STRIP_CMD} ${PREFIX}/libexec/dk-filter .endif ${INSTALL_SCRIPT} ${WRKSRC}/dk-filter/gentxt.csh \ ${PREFIX}/sbin/gentxt-dk .for i in ${MAN8} @${RM} -f ${MANPREFIX}/man/cat8/${i} ${MANPREFIX}/man/cat8/${i}.gz ${INSTALL_MAN} ${WRKSRC}/*/${i} ${MANPREFIX}/man/man8/ .endfor .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} .for i in ${DOCSFILES} ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/ .endfor .endif @${CAT} ${PKGMESSAGE} .include nd_yarn/devel/electron6/files/elliptic-6.5.3 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* - Update to version 3.6.8 [1]pawel2012-10-042-9/+4
* - Update to 3.6.7ak2012-07-122-3/+3
* - Update to 3.6.6miwi2011-11-192-3/+3
* Update to version 3.6.5pawel2011-09-292-3/+3
* - Update to 3.6.4dhn2011-03-302-4/+6
* - Add portscout(.org) flagsmiwi2010-08-181-0/+2
* - Update to 3.6.3lwhsu2010-08-042-6/+6
* - Update to 3.5.15miwi2009-09-032-4/+4
* - Switch SourceForge ports to the new File Release System: categories startin...amdmi32009-08-22