freebsd-ports/mail/squirrelmail-spam-buttons-plugin/Makefile
Adam Weinberger e1630922bd Move plugin installation into the plist, rather than post-install, so
that it will work when installed from binary pkg.

Bump PORTREVISION on all plugins for this.
2014-08-28 15:16:49 +00:00

27 lines
716 B
Makefile

# Created by: Ion-Mihai "IOnut" Tetcu <itetcu@FreeBSD.org>
# $FreeBSD$
PORTNAME= spam-buttons
PORTVERSION= 2.3.1
PORTREVISION= 2
CATEGORIES= mail www
DISTNAME= ${SQUIRREL_PLUGIN_NAME}-${PORTVERSION}-1.4.0
DIST_SUBDIR= squirrelmail
MAINTAINER= itetcu@FreeBSD.org
COMMENT= Provides buttons with customizable action (for reporting spam, etc.)
USE_SM_COMPAT= yes
SQUIRREL_PLUGIN_NAME= ${PORTNAME:S/-/_/}
OPTIONS_DEFINE= DOCS
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
post-extract:
@${MV} ${WRKSRC}/${_SMSRCDIR}/config_example.php ${WRKSRC}/${_SMSRCDIR}/config.sample.php
@${RM} ${WRKSRC}/${_SMSRCDIR}/README
@${MV} ${WRKSRC}/${_SMSRCDIR}/docs ${WRKSRC}/${_SMSRCDIR}/doc
.include <bsd.port.mk>