diff options
author | bapt <bapt@FreeBSD.org> | 2013-06-27 14:48:43 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-06-27 14:48:43 +0800 |
commit | c511b27f7e80514e5cd37324c5f85fafa340365e (patch) | |
tree | c3c72caeb1be0f53559dd07bae2f22fd8daab64b /mail/squirrelmail-spam-buttons-plugin | |
parent | 87551df8a76d7e97b1fb4de019c30e6437261be6 (diff) | |
download | freebsd-ports-gnome-c511b27f7e80514e5cd37324c5f85fafa340365e.tar.gz freebsd-ports-gnome-c511b27f7e80514e5cd37324c5f85fafa340365e.tar.zst freebsd-ports-gnome-c511b27f7e80514e5cd37324c5f85fafa340365e.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
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> |