aboutsummaryrefslogtreecommitdiff
path: root/sysutils/msyslog
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-04-28 20:01:07 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-04-28 20:01:07 +0000
commit27d44119e7e106f32a4b4b25539a57a35cc68823 (patch)
tree8462df47de7a523e2debd710ebc0516911e33a43 /sysutils/msyslog
parentf3184698839707db08f51b1529956b01b49932cf (diff)
downloadports-27d44119e7e106f32a4b4b25539a57a35cc68823.tar.gz
ports-27d44119e7e106f32a4b4b25539a57a35cc68823.zip
Notes
Diffstat (limited to 'sysutils/msyslog')
-rw-r--r--sysutils/msyslog/Makefile17
1 files changed, 6 insertions, 11 deletions
diff --git a/sysutils/msyslog/Makefile b/sysutils/msyslog/Makefile
index 6a7edf38e5d4..4bfceff94e7b 100644
--- a/sysutils/msyslog/Makefile
+++ b/sysutils/msyslog/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: msyslog
-# Date created: 14 May 2001
-# Whom: Anders Nordby <anders@fix.no>
-#
+# Created by: Anders Nordby <anders@fix.no>
# $FreeBSD$
-#
PORTNAME= msyslog
PORTVERSION= 1.08g
@@ -16,8 +12,7 @@ DISTNAME= ${PORTNAME}-v${PORTVERSION}-src
MAINTAINER= 5u623l20@gmail.com
COMMENT= Flexible and easy to integrate syslog daemon
-OPTIONS= MYSQL "With MySQL Support" off \
- PGSQL "With Postgres Support" off \
+OPTIONS_DEFINE= MYSQL PGSQL
WRKSRC= ${WRKDIR}/${DISTNAME:S/-src//}
@@ -30,20 +25,20 @@ MANCOMPRESSED= yes
PORTSCOUT= skipv:1.09d
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
.if ${OSVERSION} > 900006
EXTRA_PATCHES= ${PATCHDIR}/utmpx-src-modules-om_classic.c
.endif
-.if defined(WITH_MYSQL)
+.if ${PORT_OPTIONS:MMYSQL}
USE_MYSQL= yes
MAN8+= om_mysql.8
.else
CONFIGURE_ARGS+= --without-mysql
.endif
-.if defined(WITH_PGSQL)
+.if ${PORT_OPTIONS:MPGSQL}
USE_PGSQL= yes
MAN8+= om_pgsql.8
.else
@@ -67,4 +62,4 @@ post-install:
> ${PKGMESSAGE}
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>