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
Adam Weinberger 54d4090b46 It turns out that letting bsd.squirrelmail.mk define CATEGORIES
broke PKGORIGIN, which is created in bsd.port.pre.mk. Oops.

So, I've added CATEGORIES back to all the plugins, and bumped
PORTREVISION so that packages with correct origins can be
created.

Thanks to:	Stefan Bethke <stb@lassitu.de>
2013-12-12 01:32:34 +00:00

28 lines
791 B
Makefile

# Created by: Gerrit Beine <gerrit.beine@gmx.de>
# $FreeBSD$
PORTNAME= sasql
PORTVERSION= 3.2.0
PORTREVISION= 2
CATEGORIES= mail www
MAINTAINER= ports@FreeBSD.org
COMMENT= Edit SpamAssassin settings stored in an SQL DB
RUN_DEPENDS= ${LOCALBASE}/share/pear/DB.php:${PORTSDIR}/databases/pear-DB
USE_SM_COMPAT= yes
USE_GENERIC_PKGMESSAGE= yes
NO_STAGE= 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 <bsd.port.pre.mk>
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
.include <bsd.port.post.mk>