freebsd-ports/mail/milter-manager/Makefile
Gerald Pfeifer ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00

58 lines
1.5 KiB
Makefile

# Created by: Hirohisa Yamaguchi <umq@ueo.co.jp>
# $FreeBSD$
PORTNAME= milter-manager
PORTVERSION= 2.1.1
PORTREVISION= 1
CATEGORIES= mail ruby
MASTER_SITES= OSDN/${PORTNAME}/67935
MAINTAINER= ports@FreeBSD.org
COMMENT= Super milter that can invoke several milters selectively
LICENSE= AGPLv3 GFDL GPLv3 LGPL3
LICENSE_COMB= multi
BROKEN_RUBY24= Build succeeds, but using binary results in segmentation fault
BUILD_DEPENDS= rubygem-glib2>0:devel/rubygem-glib2
LIB_DEPENDS= libev.so:devel/libev
RUN_DEPENDS= rubygem-glib2>0:devel/rubygem-glib2
USES= compiler:c++11-lang gettext gmake gnome libtool pathfix pkgconfig
USE_GNOME= glib20 intltool
USE_LDCONFIG= yes
USE_RC_SUBR= milter-manager
USE_RUBY= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-libev \
--with-package-platform=freebsd
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip
OPTIONS_DEFINE= DOCS EXAMPLES
PORTDOCS= *
PORTEXAMPLES= *
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
CONFIGURE_ARGS+=--with-html-dir=${DOCSDIR}
.else
CONFIGURE_ARGS+=--with-html-dir=${WRKDIR}/doc
.endif
.if ! ${PORT_OPTIONS:MEXAMPLES}
EXAMPLESDIR= ${WRKDIR}/examples
.endif
post-patch:
@${FIND} ${WRKSRC} -type f -name Makefile.in -exec \
${REINPLACE_CMD} -e "s#\$$(datadir)/@PACKAGE@#${DATADIR}#" \
-e "s#\$$(datarootdir)/\$$(PACKAGE)#${DATADIR}#" {} +
@${REINPLACE_CMD} -e "s#\\\\\$$(pkgdatadir)/sample#${EXAMPLESDIR}#" ${WRKSRC}/configure
@${RM} -r ${WRKSRC}/binding/ruby/glib-2.2.5
.include <bsd.port.mk>