svn commit: r321853 - in head/mail: squirrelmail-abook_import_export-plugin squirrelmail-askuserinfo-plugin squirrelmail-avelsieve-plugin squirrelmail-calendar_file_backend-plugin squirrelmail-cale...

Baptiste Daroussin bapt at FreeBSD.org
Thu Jun 27 06:48:49 UTC 2013


Author: bapt
Date: Thu Jun 27 06:48:43 2013
New Revision: 321853
URL: http://svnweb.freebsd.org/changeset/ports/321853

Log:
  CATEGORIES is defined in bsd.squirrelmail.mk which is always loaded after .mk inclusion leading to PKGORIGIN not being set when needed.
  Nothing requires bsd.squirrelmail to be loaded after bsd.port.pre.mk but the PORTDIR.
  Convert "${PORTDIR}/mail" to ${.CURDIR}/.. and remove all the pre.mk/post.mk dancine
  
  Reported by:	erwin

Modified:
  head/mail/squirrelmail-abook_import_export-plugin/Makefile
  head/mail/squirrelmail-askuserinfo-plugin/Makefile
  head/mail/squirrelmail-avelsieve-plugin/Makefile
  head/mail/squirrelmail-calendar_file_backend-plugin/Makefile
  head/mail/squirrelmail-calendar_sql_backend-plugin/Makefile
  head/mail/squirrelmail-change_ldappass-plugin/Makefile
  head/mail/squirrelmail-change_sqlpass-plugin/Makefile
  head/mail/squirrelmail-check_quota-plugin/Makefile
  head/mail/squirrelmail-compatibility-plugin/Makefile
  head/mail/squirrelmail-email_footer-plugin/Makefile
  head/mail/squirrelmail-login_auth-plugin/Makefile
  head/mail/squirrelmail-login_notes-plugin/Makefile
  head/mail/squirrelmail-mark_read-plugin/Makefile
  head/mail/squirrelmail-password_forget-plugin/Makefile
  head/mail/squirrelmail-postfixadmin-plugin/Makefile
  head/mail/squirrelmail-pupdate-plugin/Makefile
  head/mail/squirrelmail-qmailadmin_login-plugin/Makefile
  head/mail/squirrelmail-secure_login-plugin/Makefile
  head/mail/squirrelmail-spam-buttons-plugin/Makefile
  head/mail/squirrelmail-squirrel_logger-plugin/Makefile
  head/mail/squirrelmail-timeout_user-plugin/Makefile
  head/mail/squirrelmail-unsafe_image_rules-plugin/Makefile
  head/mail/squirrelmail-user_special_mailboxes-plugin/Makefile
  head/mail/squirrelmail-vlogin-plugin/Makefile
  head/mail/squirrelmail-websearch-plugin/Makefile

Modified: head/mail/squirrelmail-abook_import_export-plugin/Makefile
==============================================================================
--- head/mail/squirrelmail-abook_import_export-plugin/Makefile	Thu Jun 27 06:33:20 2013	(r321852)
+++ head/mail/squirrelmail-abook_import_export-plugin/Makefile	Thu Jun 27 06:48:43 2013	(r321853)
@@ -1,10 +1,5 @@
-# New ports collection makefile for:	squirrelmail-abook_import-export-plugin
-# Date created:				2010-01-27
-# Whom:					Scott Lambert <lambert at lambertfam.org>
-# Modified from: 			squirrelmail-check_quota-plugin
-#
+# Created by: Scott Lambert <lambert at lambertfam.org>
 # $FreeBSD$
-#
 
 PORTNAME=	abook_import_export
 PORTVERSION=	1.1
@@ -16,8 +11,5 @@ COMMENT=	Allows for the importing of add
 
 SQUIRREL_PLUGIN_NAME=	${PORTNAME:S/-/_/}
 
-.include <bsd.port.pre.mk>
-
-.include "${PORTSDIR}/mail/squirrelmail/bsd.squirrelmail.mk"
-
-.include <bsd.port.post.mk>
+.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
+.include <bsd.port.mk>

Modified: head/mail/squirrelmail-askuserinfo-plugin/Makefile
==============================================================================
--- head/mail/squirrelmail-askuserinfo-plugin/Makefile	Thu Jun 27 06:33:20 2013	(r321852)
+++ head/mail/squirrelmail-askuserinfo-plugin/Makefile	Thu Jun 27 06:48:43 2013	(r321853)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	squirrelmail-askuserinfo-plugin
-# Date created:		2010-05-25
-# Whom:			Thomas Abthorpe <tabthorpe at FreeBSD.org>
-#
+# Created by: Thomas Abthorpe <tabthorpe at FreeBSD.org>
 # $FreeBSD$
-#
 
 PORTNAME=	askuserinfo
 PORTVERSION=	1.1
@@ -13,6 +9,5 @@ DIST_SUBDIR=	squirrelmail
 MAINTAINER=	tabthorpe at FreeBSD.org
 COMMENT=	Ask user to enter Full name and Email address at initial logon
 
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/mail/squirrelmail/bsd.squirrelmail.mk"
-.include <bsd.port.post.mk>
+.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
+.include <bsd.port.mk>

Modified: head/mail/squirrelmail-avelsieve-plugin/Makefile
==============================================================================
--- head/mail/squirrelmail-avelsieve-plugin/Makefile	Thu Jun 27 06:33:20 2013	(r321852)
+++ head/mail/squirrelmail-avelsieve-plugin/Makefile	Thu Jun 27 06:48:43 2013	(r321853)
@@ -1,7 +1,4 @@
-# New ports collection makefile for:	squirrelmail-avelsieve-plugin
-# Date created:		28 Jun 2007
-# Whom:			Neil Darlow <neil at darlow.co.uk>
-#
+# Created by: Neil Darlow <neil at darlow.co.uk>
 # $FreeBSD$
 
 PORTNAME=	avelsieve
@@ -14,12 +11,11 @@ COMMENT=	SquirrelMail plugin for Server-
 
 USE_PERL5_RUN=	yes
 
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/mail/squirrelmail/bsd.squirrelmail.mk"
+.include "${.CURSIR}/../squirrelmail/bsd.squirrelmail.mk"
 
 pre-install:
 	${RM} -Rf ${WRKSRC}/${SQUIRREL_PLUGIN_NAME}/po
 	${FIND} ${WRKSRC}/${SQUIRREL_PLUGIN_NAME} -type f \
 		\( -name '.cvsignore' -o -name '*.bak' -o -name '*.orig' \) -exec ${RM} {} \;
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/mail/squirrelmail-calendar_file_backend-plugin/Makefile
==============================================================================
--- head/mail/squirrelmail-calendar_file_backend-plugin/Makefile	Thu Jun 27 06:33:20 2013	(r321852)
+++ head/mail/squirrelmail-calendar_file_backend-plugin/Makefile	Thu Jun 27 06:48:43 2013	(r321853)
@@ -12,7 +12,5 @@ COMMENT=		File backend for SquirrelMail 
 
 SQUIRREL_PLUGIN_NAME=	${PORTNAME}
 
-
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/mail/squirrelmail/bsd.squirrelmail.mk"
-.include <bsd.port.post.mk>
+.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
+.include <bsd.port.mk>

Modified: head/mail/squirrelmail-calendar_sql_backend-plugin/Makefile
==============================================================================
--- head/mail/squirrelmail-calendar_sql_backend-plugin/Makefile	Thu Jun 27 06:33:20 2013	(r321852)
+++ head/mail/squirrelmail-calendar_sql_backend-plugin/Makefile	Thu Jun 27 06:48:43 2013	(r321853)
@@ -1,4 +1,4 @@
-# Created by:		Gerrit Beine <gerrit.beine at gmx.de>
+# Created by: Gerrit Beine <gerrit.beine at gmx.de>
 # $FreeBSD$
 
 PORTNAME=		calendar_sql_backend
@@ -17,7 +17,5 @@ PEARDIR=		${PREFIX}/share/pear
 
 SQUIRREL_PLUGIN_NAME=	${PORTNAME}
 
-
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/mail/squirrelmail/bsd.squirrelmail.mk"
-.include <bsd.port.post.mk>
+.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
+.include <bsd.port.mk>

Modified: head/mail/squirrelmail-change_ldappass-plugin/Makefile
==============================================================================
--- head/mail/squirrelmail-change_ldappass-plugin/Makefile	Thu Jun 27 06:33:20 2013	(r321852)
+++ head/mail/squirrelmail-change_ldappass-plugin/Makefile	Thu Jun 27 06:48:43 2013	(r321853)
@@ -1,7 +1,4 @@
-# New ports collection makefile for:	squirrelmail-change_ldappass-plugin
-# Date created:		3 Jul 2005
-# Whom:			Alexander Wittig <alexander at wittig.name>
-#
+# Created by: Alexander Wittig <alexander at wittig.name>
 # $FreeBSD$
 
 PORTNAME=	change_ldappass
@@ -18,6 +15,5 @@ LICENSE=	GPLv2
 USE_PHP+=	ldap
 USES=		gettext
 
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/mail/squirrelmail/bsd.squirrelmail.mk"
-.include <bsd.port.post.mk>
+.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
+.include <bsd.port.mk>

Modified: head/mail/squirrelmail-change_sqlpass-plugin/Makefile
==============================================================================
--- head/mail/squirrelmail-change_sqlpass-plugin/Makefile	Thu Jun 27 06:33:20 2013	(r321852)
+++ head/mail/squirrelmail-change_sqlpass-plugin/Makefile	Thu Jun 27 06:48:43 2013	(r321853)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	squirrelmail-spam-buttons-plugin
-# Date created:				2008-02-16
-# Whom:					Ion-Mihai "IOnut" Tetcu <itetcu at FreeBSD.org>
-#
+# Created by: Ion-Mihai "IOnut" Tetcu <itetcu at FreeBSD.org>
 # $FreeBSD$
-#
 
 PORTNAME=	change-sqlpass
 PORTVERSION=	3.3
@@ -20,9 +16,5 @@ RUN_DEPENDS=	${LOCALBASE}/share/pear/DB.
 
 SQUIRREL_PLUGIN_NAME=	${PORTNAME:S/-/_/}
 
-
-.include <bsd.port.pre.mk>
-
-.include "${PORTSDIR}/mail/squirrelmail/bsd.squirrelmail.mk"
-
-.include <bsd.port.post.mk>
+.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
+.include <bsd.port.mk>

Modified: head/mail/squirrelmail-check_quota-plugin/Makefile
==============================================================================
--- head/mail/squirrelmail-check_quota-plugin/Makefile	Thu Jun 27 06:33:20 2013	(r321852)
+++ head/mail/squirrelmail-check_quota-plugin/Makefile	Thu Jun 27 06:48:43 2013	(r321853)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	squirrelmail-check_quota-plugin
-# Date created:				2008-02-16
-# Whom:					Ion-Mihai "IOnut" Tetcu <itetcu at FreeBSD.org>
-#
+# Created by: Ion-Mihai "IOnut" Tetcu <itetcu at FreeBSD.org>
 # $FreeBSD$
-#
 
 PORTNAME=	check-quota
 PORTVERSION=	2.2
@@ -18,8 +14,6 @@ USE_SM_COMPAT=	YES
 
 SQUIRREL_PLUGIN_NAME=	${PORTNAME:S/-/_/}
 
-.include <bsd.port.pre.mk>
+.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
 
-.include "${PORTSDIR}/mail/squirrelmail/bsd.squirrelmail.mk"
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/mail/squirrelmail-compatibility-plugin/Makefile
==============================================================================
--- head/mail/squirrelmail-compatibility-plugin/Makefile	Thu Jun 27 06:33:20 2013	(r321852)
+++ head/mail/squirrelmail-compatibility-plugin/Makefile	Thu Jun 27 06:48:43 2013	(r321853)
@@ -1,7 +1,4 @@
-# New ports collection makefile for:	squirrelmail-compatibility-plugin
-# Date created:				3 Jul 2005
-# Whom:					Alexander Wittig <alexander at wittig.name>
-#
+# Created by: Alexander Wittig <alexander at wittig.name>
 # $FreeBSD$
 
 PORTNAME=	compatibility
@@ -20,6 +17,5 @@ USE_PERL5_RUN=	yes
 
 CONFLICTS=	squirrelmail-compatibility-plugin-1.*
 
-.include <bsd.port.pre.mk>
-.include "../squirrelmail/bsd.squirrelmail.mk"
-.include <bsd.port.post.mk>
+.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
+.include <bsd.port.mk>

Modified: head/mail/squirrelmail-email_footer-plugin/Makefile
==============================================================================
--- head/mail/squirrelmail-email_footer-plugin/Makefile	Thu Jun 27 06:33:20 2013	(r321852)
+++ head/mail/squirrelmail-email_footer-plugin/Makefile	Thu Jun 27 06:48:43 2013	(r321853)
@@ -1,7 +1,4 @@
-# New ports collection makefile for:		squirrelmail-email_footer-plugin
-# Date created:		10 Feb 2006
-# Whom:		Gerrit Beine <gerrit.beine at gmx.de>
-#
+# Created by: Gerrit Beine <gerrit.beine at gmx.de>
 # $FreeBSD$
 
 PORTNAME=	email_footer
@@ -16,6 +13,5 @@ RUN_DEPENDS+=	${SQUIRRELDIR}/plugins/com
 
 LICENSE=	GPLv2
 
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/mail/squirrelmail/bsd.squirrelmail.mk"
-.include <bsd.port.post.mk>
+.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
+.include <bsd.port.mk>

Modified: head/mail/squirrelmail-login_auth-plugin/Makefile
==============================================================================
--- head/mail/squirrelmail-login_auth-plugin/Makefile	Thu Jun 27 06:33:20 2013	(r321852)
+++ head/mail/squirrelmail-login_auth-plugin/Makefile	Thu Jun 27 06:48:43 2013	(r321853)
@@ -13,6 +13,5 @@ COMMENT=		Automatically log in user base
 
 SQUIRREL_PLUGIN_NAME=	${PORTNAME}
 
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/mail/squirrelmail/bsd.squirrelmail.mk"
-.include <bsd.port.post.mk>
+.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
+.include <bsd.port.mk>

Modified: head/mail/squirrelmail-login_notes-plugin/Makefile
==============================================================================
--- head/mail/squirrelmail-login_notes-plugin/Makefile	Thu Jun 27 06:33:20 2013	(r321852)
+++ head/mail/squirrelmail-login_notes-plugin/Makefile	Thu Jun 27 06:48:43 2013	(r321853)
@@ -1,7 +1,4 @@
-# New ports collection makefile for:		squirrelmail-login_notes-plugin
-# Date created:		10 Feb 2006
-# Whom:		Gerrit Beine <gerrit.beine at gmx.de>
-#
+# Created by: Gerrit Beine <gerrit.beine at gmx.de>
 # $FreeBSD$
 
 PORTNAME=	login_notes
@@ -18,6 +15,5 @@ RUN_DEPENDS+=	${SQUIRRELDIR}/plugins/com
 
 USE_PERL5_RUN=	yes
 
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/mail/squirrelmail/bsd.squirrelmail.mk"
-.include <bsd.port.post.mk>
+.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
+.include <bsd.port.mk>

Modified: head/mail/squirrelmail-mark_read-plugin/Makefile
==============================================================================
--- head/mail/squirrelmail-mark_read-plugin/Makefile	Thu Jun 27 06:33:20 2013	(r321852)
+++ head/mail/squirrelmail-mark_read-plugin/Makefile	Thu Jun 27 06:48:43 2013	(r321853)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	squirrelmail-mark_read-plugin
-# Date created:				2008-02-16
-# Whom:					Ion-Mihai "IOnut" Tetcu <itetcu at FreeBSD.org>
-#
+# Created by: Ion-Mihai "IOnut" Tetcu <itetcu at FreeBSD.org>
 # $FreeBSD$
-#
 
 PORTNAME=	mark_read
 PORTVERSION=	1.4.2
@@ -22,8 +18,5 @@ SQUIRREL_PLUGIN_NAME=	${PORTNAME:S/-/_/}
 post-patch:
 	@${RM} ${WRKSRC}/${SQUIRREL_PLUGIN_NAME}/mark_read.php.orig
 
-.include <bsd.port.pre.mk>
-
-.include "${PORTSDIR}/mail/squirrelmail/bsd.squirrelmail.mk"
-
-.include <bsd.port.post.mk>
+.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
+.include <bsd.port.mk>

Modified: head/mail/squirrelmail-password_forget-plugin/Makefile
==============================================================================
--- head/mail/squirrelmail-password_forget-plugin/Makefile	Thu Jun 27 06:33:20 2013	(r321852)
+++ head/mail/squirrelmail-password_forget-plugin/Makefile	Thu Jun 27 06:48:43 2013	(r321853)
@@ -1,7 +1,4 @@
-# New ports collection makefile for:	squirrelmail-password_forget-plugin
-# Date created:		4 Dec 2006
-# Whom:			Neil Darlow <neil at darlow.co.uk>
-#
+# Created by: Neil Darlow <neil at darlow.co.uk>
 # $FreeBSD$
 
 PORTNAME=	password_forget
@@ -20,6 +17,5 @@ RUN_DEPENDS=	${SQUIRRELDIR}/plugins/comp
 
 USE_PERL5_RUN=	yes
 
-.include <bsd.port.pre.mk>
-.include "../squirrelmail/bsd.squirrelmail.mk"
-.include <bsd.port.post.mk>
+.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
+.include <bsd.port.mk>

Modified: head/mail/squirrelmail-postfixadmin-plugin/Makefile
==============================================================================
--- head/mail/squirrelmail-postfixadmin-plugin/Makefile	Thu Jun 27 06:33:20 2013	(r321852)
+++ head/mail/squirrelmail-postfixadmin-plugin/Makefile	Thu Jun 27 06:48:43 2013	(r321853)
@@ -19,10 +19,9 @@ RUN_DEPENDS=	ZendFramework>=1.9.0:${PORT
 USE_BZIP2=	yes
 DEFAULT_PHP_VER=	53
 
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/mail/squirrelmail/bsd.squirrelmail.mk"
+.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
 
 pre-install:
 	${RM} -rf ${WRKSRC}/${_SMSRCDIR}/debian
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/mail/squirrelmail-pupdate-plugin/Makefile
==============================================================================
--- head/mail/squirrelmail-pupdate-plugin/Makefile	Thu Jun 27 06:33:20 2013	(r321852)
+++ head/mail/squirrelmail-pupdate-plugin/Makefile	Thu Jun 27 06:48:43 2013	(r321853)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	squirrelmail-pupdate-plugin
-# Date created:		2006-06-27
-# Whom:			Thomas Abthorpe <thomas at goodking.ca>
-#
+# Created by: Thomas Abthorpe <thomas at goodking.ca>
 # $FreeBSD$
-#
 
 PORTNAME=	pupdate
 PORTVERSION=	0.7
@@ -16,6 +12,5 @@ COMMENT=	Checks for plugin updates by pa
 
 LICENSE=	GPLv2
 
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/mail/squirrelmail/bsd.squirrelmail.mk"
-.include <bsd.port.post.mk>
+.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
+.include <bsd.port.mk>

Modified: head/mail/squirrelmail-qmailadmin_login-plugin/Makefile
==============================================================================
--- head/mail/squirrelmail-qmailadmin_login-plugin/Makefile	Thu Jun 27 06:33:20 2013	(r321852)
+++ head/mail/squirrelmail-qmailadmin_login-plugin/Makefile	Thu Jun 27 06:48:43 2013	(r321853)
@@ -4,15 +4,14 @@
 PORTNAME=		qmailadmin_login
 PORTVERSION=	1.1
 PORTREVISION=	2
-DISTNAME=		${PORTNAME}-${PORTVERSION}-1.4.3
+DISTNAME=	${PORTNAME}-${PORTVERSION}-1.4.3
 DIST_SUBDIR=	squirrelmail
 
-MAINTAINER=		ports at FreeBSD.org
-COMMENT=		Using the QmailAdmin cgi interface from SquirrelMail
+MAINTAINER=	ports at FreeBSD.org
+COMMENT=	Using the QmailAdmin cgi interface from SquirrelMail
 
 SQUIRREL_PLUGIN_NAME=	${PORTNAME}
 
 
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/mail/squirrelmail/bsd.squirrelmail.mk"
-.include <bsd.port.post.mk>
+.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
+.include <bsd.port.mk>

Modified: head/mail/squirrelmail-secure_login-plugin/Makefile
==============================================================================
--- head/mail/squirrelmail-secure_login-plugin/Makefile	Thu Jun 27 06:33:20 2013	(r321852)
+++ head/mail/squirrelmail-secure_login-plugin/Makefile	Thu Jun 27 06:48:43 2013	(r321853)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	squirrelmail-secure_login-plugin
-# Date created:		2006-06-20
-# Whom:			Thomas Abthorpe <thomas at goodking.ca>
-#
+# Created by: Thomas Abthorpe <thomas at goodking.ca>
 # $FreeBSD$
-#
 
 PORTNAME=	secure_login
 PORTVERSION=	1.4
@@ -18,6 +14,5 @@ LICENSE=	GPLv2
 
 USE_PERL5_RUN=	yes
 
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/mail/squirrelmail/bsd.squirrelmail.mk"
-.include <bsd.port.post.mk>
+.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
+.include <bsd.port.mk>

Modified: head/mail/squirrelmail-spam-buttons-plugin/Makefile
==============================================================================
--- head/mail/squirrelmail-spam-buttons-plugin/Makefile	Thu Jun 27 06:33:20 2013	(r321852)
+++ head/mail/squirrelmail-spam-buttons-plugin/Makefile	Thu Jun 27 06:48:43 2013	(r321853)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	squirrelmail-spam-buttons-plugin
-# Date created:				2008-02-16
-# Whom:					Ion-Mihai "IOnut" Tetcu <itetcu at FreeBSD.org>
-#
+# Created by: Ion-Mihai "IOnut" Tetcu <itetcu at FreeBSD.org>
 # $FreeBSD$
-#
 
 PORTNAME=	spam-buttons
 PORTVERSION=	2.3.1
@@ -18,9 +14,7 @@ USE_PERL5_RUN=	yes
 
 SQUIRREL_PLUGIN_NAME=	${PORTNAME:S/-/_/}
 
-.include <bsd.port.pre.mk>
-
-.include "${PORTSDIR}/mail/squirrelmail/bsd.squirrelmail.mk"
+.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
 
 post-extract:
 	@${MV} ${WRKSRC}/${_SMSRCDIR}/config_example.php ${WRKSRC}/${_SMSRCDIR}/config.sample.php
@@ -31,4 +25,4 @@ post-extract:
 	@${MV} ${WRKSRC}/${_SMSRCDIR}/docs ${WRKSRC}/${_SMSRCDIR}/doc
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/mail/squirrelmail-squirrel_logger-plugin/Makefile
==============================================================================
--- head/mail/squirrelmail-squirrel_logger-plugin/Makefile	Thu Jun 27 06:33:20 2013	(r321852)
+++ head/mail/squirrelmail-squirrel_logger-plugin/Makefile	Thu Jun 27 06:48:43 2013	(r321853)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:    squirrelmail-squirrel_logger-plugin
-# Date created:         2010-07-13
-# Whom:                 Satoru Suzuki <xsuzu at yokohama.riken.jp>
-#
+# Created by: Satoru Suzuki <xsuzu at yokohama.riken.jp>
 # $FreeBSD$
-#
 
 PORTNAME=	squirrel_logger
 PORTVERSION=	2.3
@@ -19,8 +15,6 @@ COMMENT=	Logging functionality for your 
 
 USE_SM_COMPAT=	yes
 
-.include <bsd.port.pre.mk>
+.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
 
-.include "${PORTSDIR}/mail/squirrelmail/bsd.squirrelmail.mk"
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/mail/squirrelmail-timeout_user-plugin/Makefile
==============================================================================
--- head/mail/squirrelmail-timeout_user-plugin/Makefile	Thu Jun 27 06:33:20 2013	(r321852)
+++ head/mail/squirrelmail-timeout_user-plugin/Makefile	Thu Jun 27 06:48:43 2013	(r321853)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	squirrelmail-timeout_user-plugin
-# Date created:		2006-07-07
-# Whom:			Thomas Abthorpe <thomas at goodking.ca>
-#
+# Created by: Thomas Abthorpe <thomas at goodking.ca>
 # $FreeBSD$
-#
 
 PORTNAME=	timeout_user
 PORTVERSION=	1.1.1
@@ -18,6 +14,5 @@ LICENSE=	GPLv2
 
 RUN_DEPENDS+=	${SQUIRRELDIR}/plugins/compatibility:${PORTSDIR}/mail/squirrelmail-compatibility-plugin
 
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/mail/squirrelmail/bsd.squirrelmail.mk"
-.include <bsd.port.post.mk>
+.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
+.include <bsd.port.mk>

Modified: head/mail/squirrelmail-unsafe_image_rules-plugin/Makefile
==============================================================================
--- head/mail/squirrelmail-unsafe_image_rules-plugin/Makefile	Thu Jun 27 06:33:20 2013	(r321852)
+++ head/mail/squirrelmail-unsafe_image_rules-plugin/Makefile	Thu Jun 27 06:48:43 2013	(r321853)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	squirrelmail-unsafe_image_rules-plugin
-# Date created:				2008-02-16
-# Whom:					Ion-Mihai "IOnut" Tetcu <itetcu at FreeBSD.org>
-#
+# Created by: Ion-Mihai "IOnut" Tetcu <itetcu at FreeBSD.org>
 # $FreeBSD$
-#
 
 PORTNAME=	unsafe_image_rules
 PORTVERSION=	0.8
@@ -19,8 +15,6 @@ USE_PERL5_RUN=	yes
 
 SQUIRREL_PLUGIN_NAME=	${PORTNAME:S/-/_/}
 
-.include <bsd.port.pre.mk>
+.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
 
-.include "${PORTSDIR}/mail/squirrelmail/bsd.squirrelmail.mk"
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/mail/squirrelmail-user_special_mailboxes-plugin/Makefile
==============================================================================
--- head/mail/squirrelmail-user_special_mailboxes-plugin/Makefile	Thu Jun 27 06:33:20 2013	(r321852)
+++ head/mail/squirrelmail-user_special_mailboxes-plugin/Makefile	Thu Jun 27 06:48:43 2013	(r321853)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	squirrelmail-user_special_mailboxes-plugin
-# Date created:				2008-02-16
-# Whom:					Ion-Mihai "IOnut" Tetcu <itetcu at FreeBSD.org>
-#
+# Created by: Ion-Mihai "IOnut" Tetcu <itetcu at FreeBSD.org>
 # $FreeBSD$
-#
 
 PORTNAME=	user_special_mailboxes
 PORTVERSION=	0.1
@@ -19,8 +15,5 @@ USE_PERL5_RUN=	yes
 
 SQUIRREL_PLUGIN_NAME=	${PORTNAME:S/-/_/}
 
-.include <bsd.port.pre.mk>
-
-.include "${PORTSDIR}/mail/squirrelmail/bsd.squirrelmail.mk"
-
-.include <bsd.port.post.mk>
+.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
+.include <bsd.port.mk>

Modified: head/mail/squirrelmail-vlogin-plugin/Makefile
==============================================================================
--- head/mail/squirrelmail-vlogin-plugin/Makefile	Thu Jun 27 06:33:20 2013	(r321852)
+++ head/mail/squirrelmail-vlogin-plugin/Makefile	Thu Jun 27 06:48:43 2013	(r321853)
@@ -1,7 +1,4 @@
-# New ports collection makefile for:	squirrelmail-vlogin-plugin
-# Date created:		10 Oct 2005
-# Whom:		Matt Emmerton <matt at gsicomp.on.ca>
-#
+# Created by: Matt Emmerton <matt at gsicomp.on.ca>
 # $FreeBSD$
 
 PORTNAME=	vlogin
@@ -21,8 +18,7 @@ USE_SM_COMPAT=	yes
 
 DOCSDIR=	${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}
 
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/mail/squirrelmail/bsd.squirrelmail.mk"
+.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
 
 # We need to rearrange, install and cleanup documentation pre-install
 # because bsd.squirrelmail.mk installs everything under ${WRKSRC}/${PORTNAME}.
@@ -38,4 +34,4 @@ pre-install::
 	cd ${WRKSRC}/${PORTNAME} && ${RM} -rf README docs
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/mail/squirrelmail-websearch-plugin/Makefile
==============================================================================
--- head/mail/squirrelmail-websearch-plugin/Makefile	Thu Jun 27 06:33:20 2013	(r321852)
+++ head/mail/squirrelmail-websearch-plugin/Makefile	Thu Jun 27 06:48:43 2013	(r321853)
@@ -1,7 +1,4 @@
-# New ports collection makefile for:		squirrelmail-websearch-plugin
-# Date created:		10 August
-# Whom:			Martin Wilke <miwi at FreeBSD.org>
-#
+# Created by: Martin Wilke <miwi at FreeBSD.org>
 # $FreeBSD$
 
 PORTNAME=	websearch
@@ -19,6 +16,5 @@ RUN_DEPENDS+=	${SQUIRRELDIR}/plugins/com
 
 SQUIRREL_PLUGIN_NAME=	web_search
 
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/mail/squirrelmail/bsd.squirrelmail.mk"
-.include <bsd.port.post.mk>
+.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
+.include <bsd.port.mk>


More information about the svn-ports-all mailing list