aboutsummaryrefslogtreecommitdiffstats
path: root/mail/anubis
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-04-18 13:39:42 +0800
committeredwin <edwin@FreeBSD.org>2003-04-18 13:39:42 +0800
commit4c0a43914fb9c0a8bea22caf08b43722bf5f286b (patch)
tree82967607ea62492f795e06814b4de9024a933b53 /mail/anubis
parent6901daa5ebe2dd7501e44c624dc41cf684030e56 (diff)
downloadfreebsd-ports-gnome-4c0a43914fb9c0a8bea22caf08b43722bf5f286b.tar.gz
freebsd-ports-gnome-4c0a43914fb9c0a8bea22caf08b43722bf5f286b.tar.zst
freebsd-ports-gnome-4c0a43914fb9c0a8bea22caf08b43722bf5f286b.zip
[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>
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>