mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
37df768b48
enforce -L in the cflags to allow the linker to find the libraries in localbase to be able to link with them. This fixes libtrio detection Reported by: leres@
40 lines
845 B
Makefile
40 lines
845 B
Makefile
# Created by: mjhsieh
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= hypermail
|
|
PORTVERSION= 2.4.0
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= www mail
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Program to generate a cross-referenced HTML mail archive
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LIB_DEPENDS+= libpcre.so:devel/pcre \
|
|
libtrio.so:devel/trio
|
|
|
|
USES= localbase iconv desthack
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= hypermail-project
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-htmldir=${STAGEDIR}${PREFIX}/share/doc/hypermail \
|
|
--without-gdbm \
|
|
--with-external-pcre=${LOCALBASE}/bin/pcre-config \
|
|
--enable-system-libtrio
|
|
|
|
CONFIGURE_ENV+= CFLAGS="${CFLAGS} -L${LOCALBASE}/lib"
|
|
|
|
MAKE_ARGS= INSTALL_PROG=${INSTALL}
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}/${PREFIX}/bin/hypermail \
|
|
${STAGEDIR}/${PREFIX}/bin/msg2archive \
|
|
${STAGEDIR}/${PREFIX}/bin/rdmsg
|
|
|
|
.include <bsd.port.mk>
|