diff options
Diffstat (limited to 'mail/proxsmtp/Makefile')
-rw-r--r-- | mail/proxsmtp/Makefile | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/mail/proxsmtp/Makefile b/mail/proxsmtp/Makefile index 029fb002445d..5a57fd827828 100644 --- a/mail/proxsmtp/Makefile +++ b/mail/proxsmtp/Makefile @@ -6,16 +6,18 @@ # PORTNAME= proxsmtp -PORTVERSION= 1.2.1 +PORTVERSION= 1.3 CATEGORIES= mail security MASTER_SITES= http://memberwebs.com/nielsen/software/proxsmtp/ MAINTAINER= saturnero@gufi.org COMMENT= A flexible SMTP filter which can act also as trasparent proxy -GNU_CONFIGURE= yes USE_GMAKE= yes -USE_REINPLACE= yes +GNU_CONFIGURE= yes +CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} +CONFIGURE_ARGS+= PTHREAD_LIBS="${PTHREAD_LIBS}" PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" + USE_RC_SUBR= proxsmtpd.sh SUB_FILES= pkg-message PKGMESSAGE= ${WRKDIR}/pkg-message @@ -23,17 +25,12 @@ PKGMESSAGE= ${WRKDIR}/pkg-message MAN5= proxsmtpd.conf.5 MAN8= proxsmtpd.8 -.if !defined(NOPORTDOCS) PORTDOCS= * -.endif - -post-patch: - @${REINPLACE_CMD} -e "s,%%PTHREAD_LIBS%%,${PTHREAD_LIBS}," ${WRKSRC}/configure post-install: ${INSTALL_DATA} ${WRKSRC}/doc/proxsmtpd.conf ${PREFIX}/etc/proxsmtpd.conf-sample .if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} + @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} .endif @${CAT} ${PKGMESSAGE} |