aboutsummaryrefslogtreecommitdiff
path: root/games/enigma
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-05-06 15:18:38 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-05-06 15:18:38 +0000
commit46023dda782befc55f7fb4143e1d8aefa1f11ea4 (patch)
treec7e91489b0dba2b35a29ac169022f6d1f2d0ecb0 /games/enigma
parent6ff7383dfb1ae83944fa8f8499a2cf46911ad11c (diff)
downloadports-46023dda782befc55f7fb4143e1d8aefa1f11ea4.tar.gz
ports-46023dda782befc55f7fb4143e1d8aefa1f11ea4.zip
Notes
Diffstat (limited to 'games/enigma')
-rw-r--r--games/enigma/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/games/enigma/Makefile b/games/enigma/Makefile
index ecb42e2505f4..e3e0c3cea9b9 100644
--- a/games/enigma/Makefile
+++ b/games/enigma/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: enigma
-# Date created: 25 July 2002
-# Whom: Edwin Groothuis
-#
+# Created by: Edwin Groothuis
# $FreeBSD$
-#
PORTNAME= enigma
PORTVERSION= 1.01
@@ -39,7 +35,9 @@ SUB_FILES= pkg-message
PORTDOCS= *
-.if !defined(WITHOUT_NLS)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MNLS}
PLIST_SUB+= NLS=""
USES+= gettext
.else
@@ -54,7 +52,7 @@ post-extract:
post-patch:
@${REINPLACE_CMD} -e '/Exec=/s,enigma,${PREFIX}/bin/enigma,g' \
${WRKSRC}/etc/enigma.desktop
-.if defined(NOPORTDOCS)
+.if ! ${PORT_OPTIONS:MDOCS}
@${REINPLACE_CMD} -E -e '/install-data-am/ s,install-(doc|index)DATA,,g' \
${WRKSRC}/Makefile.in ${WRKSRC}/doc/Makefile.in
@${REINPLACE_CMD} -e '/^SUBDIRS/ s|=.*|=|' ${WRKSRC}/doc/Makefile.in