diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-06-27 06:48:43 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-06-27 06:48:43 +0000 |
commit | 6b1a4caaa218b947c1693ba77e6d8ab204f22917 (patch) | |
tree | c3c72caeb1be0f53559dd07bae2f22fd8daab64b /mail/squirrelmail-spam-buttons-plugin | |
parent | e6364b0c856defc2824b5a2671fded375e1b8086 (diff) | |
download | ports-6b1a4caaa218b947c1693ba77e6d8ab204f22917.tar.gz ports-6b1a4caaa218b947c1693ba77e6d8ab204f22917.zip |
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
Notes
Notes:
svn path=/head/; revision=321853
Diffstat (limited to 'mail/squirrelmail-spam-buttons-plugin')
-rw-r--r-- | mail/squirrelmail-spam-buttons-plugin/Makefile | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/mail/squirrelmail-spam-buttons-plugin/Makefile b/mail/squirrelmail-spam-buttons-plugin/Makefile index f0c5caa20d38..400f40878989 100644 --- a/mail/squirrelmail-spam-buttons-plugin/Makefile +++ b/mail/squirrelmail-spam-buttons-plugin/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: squirrelmail-spam-buttons-plugin -# Date created: 2008-02-16 -# Whom: Ion-Mihai "IOnut" Tetcu <itetcu@FreeBSD.org> -# +# Created by: Ion-Mihai "IOnut" Tetcu <itetcu@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> |