diff options
Diffstat (limited to 'comms/xlog')
-rw-r--r-- | comms/xlog/Makefile | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/comms/xlog/Makefile b/comms/xlog/Makefile index d16bb741b38e..2c64a7e7c333 100644 --- a/comms/xlog/Makefile +++ b/comms/xlog/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: xlog -# Date created: 2002-11-05 -# Whom: Patrick Gardella <patrick@FreeBSD.org> -# +# Created by: Patrick Gardella <patrick@FreeBSD.org> # $FreeBSD$ -# PORTNAME= xlog PORTVERSION= 2.0.5 @@ -28,17 +24,19 @@ LIB_DEPENDS+= hamlib:${PORTSDIR}/comms/hamlib MAN1= xlog.1 LICENSE= GPLv3 -.if defined(WITHOUT_NLS) +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MNLS} +PLIST_SUB+= NLS="" +.else CONFIGURE_ARGS+= --disable-nls PLIST_SUB+= NLS="@comment " -.else -PLIST_SUB+= NLS="" .endif post-patch: @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \ 's|-D.*_DISABLE_DEPRECATED||g' -.if defined(NOPORTDOCS) +.if ! ${PORT_OPTIONS:MDOCS} @${REINPLACE_CMD} -e 's|desktop doc dxcc|desktop dxcc|g' \ ${WRKSRC}/data/Makefile.in @${REINPLACE_CMD} -e \ |