diff options
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> |