diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-02-08 07:20:32 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-02-08 07:20:32 +0000 |
commit | 1fadd59664cd9915819bbd7ef103e966c7b7286e (patch) | |
tree | 9d7032b1420fab09d40d4f36fb6958486c7fb533 /x11/yakuake-kde4 | |
parent | dc68dcfc906599c397d0b937fccda1e474d97001 (diff) | |
download | ports-1fadd59664cd9915819bbd7ef103e966c7b7286e.tar.gz ports-1fadd59664cd9915819bbd7ef103e966c7b7286e.zip |
Notes
Diffstat (limited to 'x11/yakuake-kde4')
-rw-r--r-- | x11/yakuake-kde4/Makefile | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/x11/yakuake-kde4/Makefile b/x11/yakuake-kde4/Makefile index 7cc37a651159..fd3116b40025 100644 --- a/x11/yakuake-kde4/Makefile +++ b/x11/yakuake-kde4/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: yakuake -# Date created: 7th September, 2008 -# Whom: Shane Bell <decept0@gmail.com> -# +# Created by: Shane Bell <decept0@gmail.com> # $FreeBSD$ -# PORTNAME= yakuake PORTVERSION= 2.9.8 @@ -13,7 +9,7 @@ MASTER_SITES= ${MASTER_SITE_KDE} MASTER_SITE_SUBDIR= stable/${PORTNAME}/${PORTVERSION}/src PKGNAMESUFFIX= -kde4 -MAINTAINER= shanjobe@gmail.com +MAINTAINER= ports@FreeBSD.org COMMENT= Drop-down terminal emulator for KDE LICENSE= GPLv2 @@ -22,11 +18,13 @@ USE_BZIP2= yes USE_CMAKE= yes USE_KDE4= kdelibs kdeprefix automoc4 -.if defined(WITHOUT_NLS) -PLIST_SUB+= NLS="@comment " -.else +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MNLS} PLIST_SUB+= NLS="" USE_GETTEXT= yes +.else +PLIST_SUB+= NLS="@comment " .endif USE_QT4= corelib qmake_build moc_build rcc_build uic_build @@ -34,10 +32,10 @@ INSTALLS_ICONS= yes MAKE_JOBS_SAFE= yes post-patch: -.if defined(WITHOUT_NLS) - @${REINPLACE_CMD} -e 's/^%%NLS%%/# /' ${WRKSRC}/CMakeLists.txt -.else +.if ${PORT_OPTIONS:MNLS} @${REINPLACE_CMD} -e 's/^%%NLS%%//' ${WRKSRC}/CMakeLists.txt +.else + @${REINPLACE_CMD} -e 's/^%%NLS%%/# /' ${WRKSRC}/CMakeLists.txt .endif .include <bsd.port.mk> |