aboutsummaryrefslogtreecommitdiffstats
path: root/mail/squirrelmail-squirrel_logger-plugin
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2013-12-09 02:59:35 +0800
committeradamw <adamw@FreeBSD.org>2013-12-09 02:59:35 +0800
commitefae09a75e40b7650cf41636fa0e8699ef9ae31d (patch)
treebc716771127abae434b8aff46551e491a89f926c /mail/squirrelmail-squirrel_logger-plugin
parent5a9f52b808240fff65ed9a1897f73b4291434bad (diff)
downloadfreebsd-ports-gnome-efae09a75e40b7650cf41636fa0e8699ef9ae31d.tar.gz
freebsd-ports-gnome-efae09a75e40b7650cf41636fa0e8699ef9ae31d.tar.zst
freebsd-ports-gnome-efae09a75e40b7650cf41636fa0e8699ef9ae31d.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.
Diffstat (limited to 'mail/squirrelmail-squirrel_logger-plugin')
-rw-r--r--mail/squirrelmail-squirrel_logger-plugin/Makefile10
-rw-r--r--mail/squirrelmail-squirrel_logger-plugin/files/pkg-message.in4
2 files changed, 5 insertions, 9 deletions
diff --git a/mail/squirrelmail-squirrel_logger-plugin/Makefile b/mail/squirrelmail-squirrel_logger-plugin/Makefile
index 53260e15fdc7..94cf0c91f367 100644
--- a/mail/squirrelmail-squirrel_logger-plugin/Makefile
+++ b/mail/squirrelmail-squirrel_logger-plugin/Makefile
@@ -3,12 +3,7 @@
PORTNAME= squirrel_logger
PORTVERSION= 2.3
-CATEGORIES= mail www
-MASTER_SITES= http://www.squirrelmail.org/plugins/
-PKGNAMEPREFIX= squirrelmail-
-PKGNAMESUFFIX= -plugin
DISTNAME= ${PORTNAME}-${PORTVERSION}-1.2.7
-DIST_SUBDIR= squirrelmail
MAINTAINER= morinaga@riken.jp
COMMENT= Logging functionality for your webmail interface
@@ -16,6 +11,7 @@ COMMENT= Logging functionality for your webmail interface
USE_SM_COMPAT= yes
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-squirrel_logger-plugin/files/pkg-message.in b/mail/squirrelmail-squirrel_logger-plugin/files/pkg-message.in
index 9e45ad70bb2e..269a08e758f6 100644
--- a/mail/squirrelmail-squirrel_logger-plugin/files/pkg-message.in
+++ b/mail/squirrelmail-squirrel_logger-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_example.php
+%%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%/config_example.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.
================================================================