aboutsummaryrefslogtreecommitdiff
path: root/devel/kdevplatform/Makefile
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2014-01-17 20:34:33 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2014-01-17 20:34:33 +0000
commit8021682484f3d3093af93eb5ca1a0fdfc75f4dfb (patch)
treed35910e687ed54639e71376d3150d1fa4c31b4a7 /devel/kdevplatform/Makefile
parent461b13f7eb3aaa1a4f000048cdb3dbb1d3d586c5 (diff)
downloadports-8021682484f3d3093af93eb5ca1a0fdfc75f4dfb.tar.gz
ports-8021682484f3d3093af93eb5ca1a0fdfc75f4dfb.zip
Notes
Diffstat (limited to 'devel/kdevplatform/Makefile')
-rw-r--r--devel/kdevplatform/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/devel/kdevplatform/Makefile b/devel/kdevplatform/Makefile
index 1aa30a4028d7..71b8c042a3c1 100644
--- a/devel/kdevplatform/Makefile
+++ b/devel/kdevplatform/Makefile
@@ -6,7 +6,7 @@ PORTVERSION= ${KDEVELOP_VERSION:S/4./1./}
CATEGORIES= devel kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= ${KDEVELOP_BRANCH}/kdevelop/${KDEVELOP_VERSION}/src
-DIST_SUBDIR= KDE
+DIST_SUBDIR= KDE/kdevelop/${KDEVELOP_VERSION}
MAINTAINER= kde@FreeBSD.org
COMMENT= Set of libraries for KDE IDE-like programs
@@ -26,14 +26,10 @@ USE_LDCONFIG= yes
PLIST_SUB+= SHLIB_VER=7.0.0 \
SHLIB_SHVER=7
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= NLS
+OPTIONS_SUB= yes
-.if ${PORT_OPTIONS:MNLS}
-USES+= gettext
-PLIST_SUB+= NLS=""
-.else
-CMAKE_ARGS+= -DBUILD_po:BOOL=Off
-PLIST_SUB+= NLS="@comment "
-.endif
+NLS_USES= gettext
+NLS_CMAKE_OFF= -DBUILD_po:BOOL=Off
.include <bsd.port.mk>