aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGordon Bergling <gbe@FreeBSD.org>2023-12-19 11:40:06 +0000
committerGordon Bergling <gbe@FreeBSD.org>2023-12-19 11:40:06 +0000
commitbb1f23aa2db1e409fe2538f2895dd1d2de6ef790 (patch)
treead4c515e9fd4bd9474406dd5b9156cb8fd8158b1
parent0ad4440c976c2058f6bb2b590d0a02f3f7aa1b97 (diff)
downloadports-bb1f23aa2db1e409fe2538f2895dd1d2de6ef790.tar.gz
ports-bb1f23aa2db1e409fe2538f2895dd1d2de6ef790.zip
bsd-spell: Install as bspell instead of spell
Install bsd-spell as bspell instead of spell since it otherwise conflicts with textproc/aspell-ispell. While here switch to pkg-plist for the pkg content listing. PR: 274217 Reviewed by: fernape Tested by: fernape Approved by: fernape Differential Revision: https://reviews.freebsd.org/D43083
-rw-r--r--textproc/bsd-spell/Makefile11
-rw-r--r--textproc/bsd-spell/pkg-plist10
2 files changed, 12 insertions, 9 deletions
diff --git a/textproc/bsd-spell/Makefile b/textproc/bsd-spell/Makefile
index d94af4fb7edd..162fba1d8d9b 100644
--- a/textproc/bsd-spell/Makefile
+++ b/textproc/bsd-spell/Makefile
@@ -1,4 +1,5 @@
PORTNAME= bsd-spell
+PORTREVISION= 1
DISTVERSIONPREFIX= v
DISTVERSION= 1.0.1
CATEGORIES= textproc
@@ -14,18 +15,10 @@ USE_GITHUB= yes
GH_ACCOUNT= gbergling
GH_PROJECT= bsdspell
-PLIST_FILES= libexec/spellprog bin/spell bin/deroff \
- man/man1/spell.1.gz man/man1/deroff.1.gz \
- share/dict/american \
- share/dict/british \
- share/dict/special.4bsd \
- share/dict/special.math \
- share/dict/stop
-
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/usr.bin/spell/spellprog ${STAGEDIR}${PREFIX}/libexec
${INSTALL_PROGRAM} ${WRKSRC}/usr.bin/deroff/deroff ${STAGEDIR}${PREFIX}/bin
- ${INSTALL_SCRIPT} ${WRKSRC}/usr.bin/spell/spell.sh ${STAGEDIR}${PREFIX}/bin/spell
+ ${INSTALL_SCRIPT} ${WRKSRC}/usr.bin/spell/spell.sh ${STAGEDIR}${PREFIX}/bin/bspell
${INSTALL_DATA} ${WRKSRC}/usr.bin/spell/american ${STAGEDIR}${PREFIX}/share/dict
${INSTALL_DATA} ${WRKSRC}/usr.bin/spell/british ${STAGEDIR}${PREFIX}/share/dict
diff --git a/textproc/bsd-spell/pkg-plist b/textproc/bsd-spell/pkg-plist
new file mode 100644
index 000000000000..93d5e4177fcd
--- /dev/null
+++ b/textproc/bsd-spell/pkg-plist
@@ -0,0 +1,10 @@
+libexec/spellprog
+bin/bspell
+bin/deroff
+man/man1/spell.1.gz
+man/man1/deroff.1.gz
+share/dict/american
+share/dict/british
+share/dict/special.4bsd
+share/dict/special.math
+share/dict/stop