Files
ports/comms/acfax/Makefile
T
Kyle Evans aad85f9120 comms/acfax: fix the build against -CURRENT
libgnuregex has been removed in FreeBSD 13.0. The version in base had a
number of known or likely bugs associated with it, so just use the newer
and more stable port on all supported FreeBSD versions.

PR:		252247
MFH:		2021Q1
2021-01-10 17:56:20 +00:00

39 lines
848 B
Makefile

# Created by: Darren <igla@batterybackups.net>
# $FreeBSD$
PORTNAME= acfax
PORTVERSION= 0.981011
PORTREVISION= 4
CATEGORIES= comms hamradio
MASTER_SITES= ftp://ftp.funet.fi/pub/ham/unix/Linux/misc/
DISTNAME= ${PORTNAME}-${PORTVERSION:S/^0.//}
MAINTAINER= hamradio@FreeBSD.org
COMMENT= Receive faxes using sound card and radio
LICENSE= GPLv2
LIB_DEPENDS= libXaw3d.so:x11-toolkits/Xaw3d \
libgnuregex.so.6:devel/libgnuregex
USES= imake xorg
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_XORG= x11 xext xmu xt sm ice
PLIST_FILES= bin/acfax
post-extract:
@${TOUCH} ${WRKSRC}/acfax.man
post-patch:
@${REINPLACE_CMD} -e 's|regex.h|gnuregex.h|' ${WRKSRC}/RegExp.h
@${REINPLACE_CMD} -e 's| -O2 -Wall||g ; \
s|-lm|-lm -lgnuregex|' ${WRKSRC}/Imakefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/acfax ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>