aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2017-07-17 03:46:25 +0800
committerpawel <pawel@FreeBSD.org>2017-07-17 03:46:25 +0800
commit1f1a61ce3cf3996a56ee6cd58143101f4cd5eee8 (patch)
tree642f71406fdca2bd010ce65e3b11f620528a9a05 /sysutils
parent69ce3800203118f73e099f11d4cb3cb8cc92fc97 (diff)
downloadfreebsd-ports-gnome-1f1a61ce3cf3996a56ee6cd58143101f4cd5eee8.tar.gz
freebsd-ports-gnome-1f1a61ce3cf3996a56ee6cd58143101f4cd5eee8.tar.zst
freebsd-ports-gnome-1f1a61ce3cf3996a56ee6cd58143101f4cd5eee8.zip
- Add LICENSE_FILE
- Use option helper
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/cronolog/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/sysutils/cronolog/Makefile b/sysutils/cronolog/Makefile
index b738db40972f..5253fe551637 100644
--- a/sysutils/cronolog/Makefile
+++ b/sysutils/cronolog/Makefile
@@ -10,6 +10,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Web log rotation utility that provides datestamp filenames
LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
CONFLICTS_INSTALL= cronolog-devel-[0-9]*
@@ -23,12 +24,7 @@ GH_TAGNAME= 8ea64c0
OPTIONS_DEFINE= SETUID_PATCH
OPTIONS_DEFAULT= SETUID_PATCH
SETUID_PATCH_DESC= Build with setuid functionality
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MSETUID_PATCH}
-EXTRA_PATCHES= ${PATCHDIR}/extra-patch-cronolog-setugid
-.endif
+SETUID_PATCH_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-cronolog-setugid
post-patch-SETUID_PATCH-on:
(cd ${WRKSRC} && ${TOUCH} aclocal.m4 Makefile.in */Makefile.in)