aboutsummaryrefslogtreecommitdiff
path: root/mail/proxsmtp/Makefile
diff options
context:
space:
mode:
authorMarcus Alves Grando <mnag@FreeBSD.org>2006-02-16 19:14:24 +0000
committerMarcus Alves Grando <mnag@FreeBSD.org>2006-02-16 19:14:24 +0000
commitda6e70c1b6c1eaa1738c00efccae8a988a1ac488 (patch)
treeb8c3d0cd6c090a9d2663fe447d7ec17b1e839ccd /mail/proxsmtp/Makefile
parent5a3576967b3fda848384d9ba0fafd26e4a40c205 (diff)
downloadports-da6e70c1b6c1eaa1738c00efccae8a988a1ac488.tar.gz
ports-da6e70c1b6c1eaa1738c00efccae8a988a1ac488.zip
Notes
Diffstat (limited to 'mail/proxsmtp/Makefile')
-rw-r--r--mail/proxsmtp/Makefile15
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}