aboutsummaryrefslogtreecommitdiff
path: root/mail/clawsker
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2012-06-07 22:44:21 +0000
committerPawel Pekala <pawel@FreeBSD.org>2012-06-07 22:44:21 +0000
commit2fa62596744270745d9d0540f5bbd839f6b78d23 (patch)
treeb7e5a1ec8ce92178c23aff878c9671b8c96b7b89 /mail/clawsker
parente496938a05b08a6dc0a4f3562f7615a574354e2e (diff)
downloadports-2fa62596744270745d9d0540f5bbd839f6b78d23.tar.gz
ports-2fa62596744270745d9d0540f5bbd839f6b78d23.zip
Convert my ports to optionsNG
Notes
Notes: svn path=/head/; revision=298711
Diffstat (limited to 'mail/clawsker')
-rw-r--r--mail/clawsker/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/mail/clawsker/Makefile b/mail/clawsker/Makefile
index 0cd6b2d4686d..aa3f84a380ed 100644
--- a/mail/clawsker/Makefile
+++ b/mail/clawsker/Makefile
@@ -24,16 +24,18 @@ USE_PERL5= 5.8.0+
MAN1= clawsker.1
-.if defined(WITHOUT_NLS)
-EXTRA_PATCHES= ${FILESDIR}/extra-Makefile-without_nls
-PLIST_SUB+= NLS="@comment "
-.else
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MNLS}
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
+.else
+EXTRA_PATCHES= ${FILESDIR}/extra-Makefile-without_nls
+PLIST_SUB+= NLS="@comment "
.endif
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/NEWS ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}