svn commit: r320927 - head/sysutils/dfc

Baptiste Daroussin bapt at FreeBSD.org
Fri Jun 14 14:19:16 UTC 2013


Author: bapt
Date: Fri Jun 14 14:19:15 2013
New Revision: 320927
URL: http://svnweb.freebsd.org/changeset/ports/320927

Log:
  Use new helpers

Modified:
  head/sysutils/dfc/Makefile

Modified: head/sysutils/dfc/Makefile
==============================================================================
--- head/sysutils/dfc/Makefile	Fri Jun 14 14:18:45 2013	(r320926)
+++ head/sysutils/dfc/Makefile	Fri Jun 14 14:19:15 2013	(r320927)
@@ -1,9 +1,4 @@
-# New ports collection makefile for:	dfc
-# Date created:		2012-04-01
-# Whom:			Baptiste Daroussin <bapt at FreeBSD.org>
-#
 # $FreeBSD$
-#
 
 PORTNAME=	dfc
 PORTVERSION=	3.0.0
@@ -22,15 +17,10 @@ CMAKE_ARGS+=	-DMAN_PATH=${MANPREFIX}/man
 MANLANG=	"" fr
 MAN1=		dfc.1
 
-.include <bsd.port.options.mk>
+OPTIONS_SUB=	yes
 
-.if ${PORT_OPTIONS:MNLS}
-CMAKE_ARGS+=	-DNLS_ENABLED=true
-USES+=		gettext
-PLIST_SUB+=	NLS=""
-.else
-CMAKE_ARGS+=	-DNLS_ENABLED=false
-PLIST_SUB+=	NLS="@comment "
-.endif
+NLS_USES=	gettext
+NLS_CMAKE_ON=	-DNLS_ENABLED=true
+NLS_CMAKE_OFF=	-DNLS_ENABLED=false
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list