aboutsummaryrefslogtreecommitdiffstats
path: root/mail/squirrelmail-vlogin-plugin
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-06-27 14:48:43 +0800
committerbapt <bapt@FreeBSD.org>2013-06-27 14:48:43 +0800
commitc511b27f7e80514e5cd37324c5f85fafa340365e (patch)
treec3c72caeb1be0f53559dd07bae2f22fd8daab64b /mail/squirrelmail-vlogin-plugin
parent87551df8a76d7e97b1fb4de019c30e6437261be6 (diff)
downloadfreebsd-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-vlogin-plugin')
-rw-r--r--mail/squirrelmail-vlogin-plugin/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/mail/squirrelmail-vlogin-plugin/Makefile b/mail/squirrelmail-vlogin-plugin/Makefile
index 8437812e9229..7089b4a6ade9 100644
--- a/mail/squirrelmail-vlogin-plugin/Makefile
+++ b/mail/squirrelmail-vlogin-plugin/Makefile
@@ -1,7 +1,4 @@
-# New ports collection makefile for: squirrelmail-vlogin-plugin
-# Date created: 10 Oct 2005
-# Whom: Matt Emmerton <matt@gsicomp.on.ca>
-#
+# Created by: Matt Emmerton <matt@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>