aboutsummaryrefslogtreecommitdiff
path: root/mail/squirrelmail-unsafe_image_rules-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-unsafe_image_rules-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-unsafe_image_rules-plugin')
-rw-r--r--mail/squirrelmail-unsafe_image_rules-plugin/Makefile8
-rw-r--r--mail/squirrelmail-unsafe_image_rules-plugin/files/pkg-message.in4
2 files changed, 5 insertions, 7 deletions
diff --git a/mail/squirrelmail-unsafe_image_rules-plugin/Makefile b/mail/squirrelmail-unsafe_image_rules-plugin/Makefile
index 36ab75de81b2..32e618ae959e 100644
--- a/mail/squirrelmail-unsafe_image_rules-plugin/Makefile
+++ b/mail/squirrelmail-unsafe_image_rules-plugin/Makefile
@@ -5,18 +5,16 @@ PORTNAME= unsafe_image_rules
PORTVERSION= 0.8
PORTREVISION= 1
DISTNAME= ${PORTNAME:S/-/_/}.${PORTVERSION}-1.4
-DIST_SUBDIR= squirrelmail
MAINTAINER= itetcu@FreeBSD.org
COMMENT= Determines what unsafe (web) images will be shown
USE_SM_COMPAT= yes
-USES= perl5
-USE_PERL5= run
SQUIRREL_PLUGIN_NAME= ${PORTNAME:S/-/_/}
NO_STAGE= yes
-.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
+.include <bsd.port.post.mk>
diff --git a/mail/squirrelmail-unsafe_image_rules-plugin/files/pkg-message.in b/mail/squirrelmail-unsafe_image_rules-plugin/files/pkg-message.in
index 902c57f01aa9..4541f495bff2 100644
--- a/mail/squirrelmail-unsafe_image_rules-plugin/files/pkg-message.in
+++ b/mail/squirrelmail-unsafe_image_rules-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.php.sample
+%%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%/config.php.sample
to
-%%PREFIX%%/%%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%/config.php
+%%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%/config.php
and edit the configuration to meet your needs.
================================================================