diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2013-03-05 17:07:43 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2013-03-05 17:07:43 +0000 |
commit | fb3520254ab73be0aad04c3a63b781750cf26b5b (patch) | |
tree | 268d74f9d8738f78b0c895672044611aa6343387 /security/cvm | |
parent | 4706739618b79681811e5b336a54032908638160 (diff) |
Notes
Diffstat (limited to 'security/cvm')
-rw-r--r-- | security/cvm/Makefile | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/security/cvm/Makefile b/security/cvm/Makefile index fef206b00d5d..4137022d27a8 100644 --- a/security/cvm/Makefile +++ b/security/cvm/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: cvm -# Date created: 2003-12-24 -# Whom: Sergei Kolobov <sergei@FreeBSD.org> -# +# Created by: Sergei Kolobov <sergei@FreeBSD.org> # $FreeBSD$ -# PORTNAME= cvm PORTVERSION= 0.96 @@ -26,13 +22,14 @@ BGLIBS_LIB= ${LOCALBASE}/lib/bglibs DOCS= NEWS README TODO *.html -OPTIONS= VCHKPW "Compile cvm-vchkpw" off +OPTIONS_DEFINE= VCHKPW +VCHKPW_DESC= Compile cvm-vchkpw -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> ALL_TARGET=all -.if defined(WITH_VCHKPW) +.if ${PORT_OPTIONS:MVCHKPW} BUILD_DEPENDS+= ${LOCALBASE}/vpopmail/lib/libvpopmail.a:${PORTSDIR}/mail/vpopmail ALL_TARGET+= cvm-vchkpw PLIST_SUB= VCHKPW="" @@ -53,10 +50,10 @@ do-configure: ${ECHO_CMD} "${BGLIBS_INC}" > ${WRKSRC}/conf-bgincs ${ECHO_CMD} "${BGLIBS_LIB}" > ${WRKSRC}/conf-bglibs -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} post-install: @${MKDIR} ${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> |