1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/mail/squirrelmail-sasql-plugin/Makefile
Tobias Kortkamp f9239454bf mail/squirrelmail-sasql-plugin: Remove extra escapes
This port currently uses some extra escapes in its sed regex: \$$
and \'.  The latter is considered an escape of an ordinary character,
and will be disallowed in a future version of regex(3) while we
segue into libregex(3) repurposing some of these escapes for special
meaning.

PR:		233445
Submitted by:	kevans
2019-02-26 08:29:29 +00:00

25 lines
739 B
Makefile

# Created by: Gerrit Beine <gerrit.beine@gmx.de>
# $FreeBSD$
PORTNAME= sasql
PORTVERSION= 3.2.0
PORTREVISION= 3
CATEGORIES= mail www
MAINTAINER= ports@FreeBSD.org
COMMENT= Edit SpamAssassin settings stored in an SQL DB
RUN_DEPENDS= ${LOCALBASE}/share/pear/DB.php:databases/pear-DB@${PHP_FLAVOR}
USE_SM_COMPAT= yes
USE_GENERIC_PKGMESSAGE= yes
post-patch:
@${REINPLACE_CMD} -e "s/\($$imap_server_type == 'cyrus'\)/\1 || \$$imap_server_type == 'courier'/g" \
-e 's/session_register/sqsession_register/g' \
${WRKSRC}/${SQUIRREL_PLUGIN_NAME}/sasql_hooks.php
-@${RM} ${WRKSRC}/${SQUIRREL_PLUGIN_NAME}/*.bak ${WRKSRC}/${SQUIRREL_PLUGIN_NAME}/.cvsignore
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
.include <bsd.port.mk>