freebsd-ports/mail/squirrelmail-unsafe_image_rules-plugin/Makefile
Baptiste Daroussin 6b1a4caaa2 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
2013-06-27 06:48:43 +00:00

20 lines
463 B
Makefile

# Created by: Ion-Mihai "IOnut" Tetcu <itetcu@FreeBSD.org>
# $FreeBSD$
PORTNAME= unsafe_image_rules
PORTVERSION= 0.8
PORTREVISION= 1
DISTNAME= ${PORTNAME:S/-/_/}.${PORTVERSION}-1.4
DIST_SUBDIR= squirrelmail
MAINTAINER= itetcu@FreeBSD.org
COMMENT= Determines what unsafe (web) images will be shown
USE_SM_COMPAT= yes
USE_PERL5_RUN= yes
SQUIRREL_PLUGIN_NAME= ${PORTNAME:S/-/_/}
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
.include <bsd.port.mk>