diff options
author | bapt <bapt@FreeBSD.org> | 2013-06-04 18:32:49 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-06-04 18:32:49 +0800 |
commit | 84db1d4e78dcba4bc5f066e685f59f64b8845d9c (patch) | |
tree | 72a8cb20efc8916ac1fe7ec801ddfe0d2d0136bf /mail/rabl_client/Makefile | |
parent | 61849d076308838b7d16a62591c07337cd637af5 (diff) | |
download | freebsd-ports-gnome-84db1d4e78dcba4bc5f066e685f59f64b8845d9c.tar.gz freebsd-ports-gnome-84db1d4e78dcba4bc5f066e685f59f64b8845d9c.tar.zst freebsd-ports-gnome-84db1d4e78dcba4bc5f066e685f59f64b8845d9c.zip |
Convert to new options framework
Diffstat (limited to 'mail/rabl_client/Makefile')
-rw-r--r-- | mail/rabl_client/Makefile | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/mail/rabl_client/Makefile b/mail/rabl_client/Makefile index e00b2474c33c..6385edfc0a0c 100644 --- a/mail/rabl_client/Makefile +++ b/mail/rabl_client/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: rabl_client -# Date created: 2005-10-07 -# Whom: Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com> -# +# Created by: Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com> # $FreeBSD$ -# PORTNAME= rabl_client PORTVERSION= 1.0.0 @@ -24,11 +20,11 @@ VAR_DIR?= /var/spool/${PORTNAME} PORTDOCS= CHANGE README RELEASE.NOTES -OPTIONS= DEBUG "Enable DEBUG messages" off +OPTIONS_DEFINE= DEBUG DOCS -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if defined(WITH_DEBUG) +.if ${PORT_OPTIONS:MDEBUG} CONFIGURE_ARGS+= --enable-debug CFLAGS+= -g -DDEBUG STRIP_CMD= # empty @@ -41,11 +37,11 @@ post-install: ${INSTALL} -o ${SHAREOWN} -g ${SHAREGRP} -m 0640 \ ${WRKSRC}/${PORTNAME}.conf ${PREFIX}/etc .endif -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} .for i in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} .endfor .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> |