aboutsummaryrefslogtreecommitdiff
path: root/mail/squirrelmail-spam-buttons-plugin
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2013-12-08 18:59:35 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2013-12-08 18:59:35 +0000
commit6ad04afc409a856c97a021b0172cf4c185d7e1aa (patch)
treebc716771127abae434b8aff46551e491a89f926c /mail/squirrelmail-spam-buttons-plugin
parente8ca1d40300ec507fccd0d7dd7f4e8d50b2562d2 (diff)
downloadports-6ad04afc409a856c97a021b0172cf4c185d7e1aa.tar.gz
ports-6ad04afc409a856c97a021b0172cf4c185d7e1aa.zip
Create a generic PKGMESSAGE, and use it where appropriate.
Make sure that bsd.port.pre.mk is included before bsd.squirrelmail.mk. For ports with maintainers, I haven't switched you to the new PKGMESSAGE, but I have corrected paths in pkg-message.in where necessary. I also got a little over-zealous in cleaning redundant definitions from the headers. Apologies in advance if this rubs you the wrong way.
Notes
Notes: svn path=/head/; revision=335921
Diffstat (limited to 'mail/squirrelmail-spam-buttons-plugin')
-rw-r--r--mail/squirrelmail-spam-buttons-plugin/Makefile5
-rw-r--r--mail/squirrelmail-spam-buttons-plugin/files/pkg-message.in4
2 files changed, 4 insertions, 5 deletions
diff --git a/mail/squirrelmail-spam-buttons-plugin/Makefile b/mail/squirrelmail-spam-buttons-plugin/Makefile
index a1f9a71cba6b..4c20da284d1b 100644
--- a/mail/squirrelmail-spam-buttons-plugin/Makefile
+++ b/mail/squirrelmail-spam-buttons-plugin/Makefile
@@ -10,12 +10,11 @@ MAINTAINER= itetcu@FreeBSD.org
COMMENT= Provides buttons with customizable action (for reporting spam, etc.)
USE_SM_COMPAT= yes
-USES= perl5
-USE_PERL5= run
SQUIRREL_PLUGIN_NAME= ${PORTNAME:S/-/_/}
NO_STAGE= yes
+.include <bsd.port.pre.mk>
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
post-extract:
@@ -27,4 +26,4 @@ post-extract:
@${MV} ${WRKSRC}/${_SMSRCDIR}/docs ${WRKSRC}/${_SMSRCDIR}/doc
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/mail/squirrelmail-spam-buttons-plugin/files/pkg-message.in b/mail/squirrelmail-spam-buttons-plugin/files/pkg-message.in
index 1a5735477804..392a18e2d32d 100644
--- a/mail/squirrelmail-spam-buttons-plugin/files/pkg-message.in
+++ b/mail/squirrelmail-spam-buttons-plugin/files/pkg-message.in
@@ -1,7 +1,7 @@
================================================================
For the port to work properly you must copy the file
-%%PREFIX%%/%%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%/config.sample.php
+%%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%/config.sample.php
to
-%%PREFIX%%/%%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%/config.php
+%%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%/config.php
and edit the configuration to meet your needs.
================================================================