summaryrefslogtreecommitdiff
path: root/mail/squirrelmail-login_notes-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-login_notes-plugin
parente8ca1d40300ec507fccd0d7dd7f4e8d50b2562d2 (diff)
downloadfreebsd-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.
Diffstat (limited to 'mail/squirrelmail-login_notes-plugin')
-rw-r--r--mail/squirrelmail-login_notes-plugin/Makefile13
-rw-r--r--mail/squirrelmail-login_notes-plugin/files/pkg-message.in5
2 files changed, 6 insertions, 12 deletions
diff --git a/mail/squirrelmail-login_notes-plugin/Makefile b/mail/squirrelmail-login_notes-plugin/Makefile
index e103bcd81497..7cca9f313a64 100644
--- a/mail/squirrelmail-login_notes-plugin/Makefile
+++ b/mail/squirrelmail-login_notes-plugin/Makefile
@@ -2,20 +2,19 @@
# $FreeBSD$
PORTNAME= login_notes
-PORTVERSION= 1.2
+PORTVERSION=1.2
DISTNAME= ${SQUIRREL_PLUGIN_NAME}-${PORTVERSION}-1.4.0
-DIST_SUBDIR= squirrelmail
MAINTAINER= ports@FreeBSD.org
COMMENT= Place notes on the login screen
LICENSE= GPLv2
-RUN_DEPENDS+= ${SQUIRRELDIR}/plugins/compatibility:${PORTSDIR}/mail/squirrelmail-compatibility-plugin
-
-USES= perl5
-USE_PERL5= run
+USE_SM_COMPAT= yes
+USE_GENERIC_PKGMESSAGE= yes
NO_STAGE= yes
+
+.include <bsd.port.pre.mk>
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/mail/squirrelmail-login_notes-plugin/files/pkg-message.in b/mail/squirrelmail-login_notes-plugin/files/pkg-message.in
deleted file mode 100644
index c3309b9090ed..000000000000
--- a/mail/squirrelmail-login_notes-plugin/files/pkg-message.in
+++ /dev/null
@@ -1,5 +0,0 @@
-For the port to work properly you must copy the file
-%%PREFIX%%/%%SQUIRRELDIR%%/plugins/login_notes/config.sample.php
-to
-%%PREFIX%%/%%SQUIRRELDIR%%/plugins/login_notes/config.php
-and edit the configuration to meet your needs.