summaryrefslogtreecommitdiff
path: root/mail/anubis
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-04-18 05:39:42 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-04-18 05:39:42 +0000
commit8dc8a216954ae14a84376a490f4614f540005fd1 (patch)
tree8ce76ddc34ae90f696d11b93b31a02f64c113222 /mail/anubis
parent[MAINTAINER] security/libtasn1: convert to USE_GETOPT_LONG (diff)
[MAINTAINER] mail/anubis: USE_GETOPT_LONG, cosmetique
- Convert to USE_GETOPT_LONG - Cosmetique: whitespace changes - Cosmetique: unroll .for loop in post-install PR: ports/51094 Submitted by: Sergei Kolobov <sergei@kolobov.com>
Notes
Notes: svn path=/head/; revision=79190
Diffstat (limited to 'mail/anubis')
-rw-r--r--mail/anubis/Makefile28
1 files changed, 12 insertions, 16 deletions
diff --git a/mail/anubis/Makefile b/mail/anubis/Makefile
index 26b5b69238c9..330a69349143 100644
--- a/mail/anubis/Makefile
+++ b/mail/anubis/Makefile
@@ -17,23 +17,21 @@
#
###########################################################################
-PORTNAME= anubis
-PORTVERSION= 3.6.2
-CATEGORIES= mail
-MASTER_SITES= ${MASTER_SITE_GNU}
+PORTNAME= anubis
+PORTVERSION= 3.6.2
+CATEGORIES= mail
+MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
-MAINTAINER= sergei@kolobov.com
-COMMENT= Outgoing SMTP mail processor
+MAINTAINER= sergei@kolobov.com
+COMMENT= Outgoing SMTP mail processor
-LIB_DEPENDS= gnugetopt:${PORTSDIR}/devel/libgnugetopt
-
-USE_REINPLACE= yes
-GNU_CONFIGURE= yes
+USE_REINPLACE= yes
+USE_GETOPT_LONG= yes
+GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt" \
- MAKEINFO="makeinfo --no-split"
+CONFIGURE_ENV= MAKEINFO="makeinfo --no-split" LDFLAGS="${LDFLAGS}"
+LDFLAGS+= -L${LOCALBASE}/lib
# Select TLS/SSL API: either OpenSSL (default), GnuTLS, or none
.if defined(WITH_GNUTLS)
@@ -118,9 +116,7 @@ post-install:
.endif
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
-.for file in ${DOCS}
- ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
-.endfor
+ cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>