aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/aspell
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2013-11-15 18:08:03 +0800
committersunpoet <sunpoet@FreeBSD.org>2013-11-15 18:08:03 +0800
commiteebc61f1212f52aab62e8a5173b1e716141e29a7 (patch)
treec91bb859aaae1dbe2d3fbb30fadbc847ae56bda9 /textproc/aspell
parent59d960129d39644b7b34f99081418aea53f904cd (diff)
downloadfreebsd-ports-gnome-eebc61f1212f52aab62e8a5173b1e716141e29a7.tar.gz
freebsd-ports-gnome-eebc61f1212f52aab62e8a5173b1e716141e29a7.tar.zst
freebsd-ports-gnome-eebc61f1212f52aab62e8a5173b1e716141e29a7.zip
- Convert to new options helper
- Pet portlint: use a tab (not space) after a variable name
Diffstat (limited to 'textproc/aspell')
-rw-r--r--textproc/aspell/Makefile19
-rw-r--r--textproc/aspell/pkg-plist4
2 files changed, 8 insertions, 15 deletions
diff --git a/textproc/aspell/Makefile b/textproc/aspell/Makefile
index 9b3541c5b8e0..549fdf941d6f 100644
--- a/textproc/aspell/Makefile
+++ b/textproc/aspell/Makefile
@@ -14,6 +14,7 @@ COMMENT= Spelling checker with better suggestion logic than ispell
LICENSE= LGPL21
OPTIONS_DEFINE= NLS DOCS ISPELL
+OPTIONS_SUB= yes
ISPELL_DESC= Install the ispell wrapper
@@ -33,22 +34,14 @@ PLIST_SUB= VER=${VERINST}
SUB_LIST= VERINST=${VERINST}
INFO= aspell-dev aspell
-.include <bsd.port.options.mk>
+NLS_USES= gettext
+NLS_CONFIGURE_ARGS= --disable-nls
-.if ${PORT_OPTIONS:MNLS}
-USES+= gettext
-PLIST_SUB+= NLS=""
-.else
-CONFIGURE_ARGS+= --disable-nls
-PLIST_SUB+= NLS="@comment "
-.endif
+.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MISPELL}
-CONFLICTS+= ispell* ??-ispell*
-SCRIPTS= ispell spell
-PLIST_SUB+= SCRIPTS=""
-.else
-PLIST_SUB+= SCRIPTS="@comment "
+CONFLICTS+= ispell* ??-ispell*
+SCRIPTS= ispell spell
.endif
# Does not link without at least -O
diff --git a/textproc/aspell/pkg-plist b/textproc/aspell/pkg-plist
index eea606a8fe6a..61382a76d97c 100644
--- a/textproc/aspell/pkg-plist
+++ b/textproc/aspell/pkg-plist
@@ -1,13 +1,13 @@
bin/aspell
bin/aspell-import
-%%SCRIPTS%%bin/ispell
+%%ISPELL%%bin/ispell
bin/precat
bin/preunzip
bin/prezip
bin/prezip-bin
bin/pspell-config
bin/run-with-aspell
-%%SCRIPTS%%bin/spell
+%%ISPELL%%bin/spell
bin/word-list-compress
etc/aspell.ver
include/aspell.h