pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc ispell & ispell-en_GB: use Makefile.common



details:   https://anonhg.NetBSD.org/pkgsrc/rev/40fe1916d4cc
branches:  trunk
changeset: 454414:40fe1916d4cc
user:      gutteridge <gutteridge%pkgsrc.org@localhost>
date:      Thu Jun 10 23:43:26 2021 +0000

description:
ispell & ispell-en_GB: use Makefile.common

Centralize some basics so ispell-en_GB doesn't need to be manually
adjusted every time ispell gets an update. Addresses a lingering issue
from PR pkg/55972 noted by Greg A. Woods.

diffstat:

 textproc/ispell-en_GB/Makefile  |  9 +++------
 textproc/ispell/Makefile        |  6 +++---
 textproc/ispell/Makefile.common |  8 ++++++++
 3 files changed, 14 insertions(+), 9 deletions(-)

diffs (58 lines):

diff -r 1e8416c4301b -r 40fe1916d4cc textproc/ispell-en_GB/Makefile
--- a/textproc/ispell-en_GB/Makefile    Thu Jun 10 21:50:29 2021 +0000
+++ b/textproc/ispell-en_GB/Makefile    Thu Jun 10 23:43:26 2021 +0000
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.11 2021/03/26 04:11:08 gutteridge Exp $
-#
+# $NetBSD: Makefile,v 1.12 2021/06/10 23:43:26 gutteridge Exp $
 
-DISTNAME=      ispell-3.4.02
+.include       "../../textproc/ispell/Makefile.common"
+
 PKGNAME=       ${DISTNAME:S/-/-${DICT_LANG}-/1}
-PKGREVISION=   1
 CATEGORIES=    textproc
 MASTER_SITES=  http://fmg-www.cs.ucla.edu/geoff/tars/
 
@@ -14,8 +13,6 @@
 CONFLICTS+=    ispell-british-[0-9]*
 DEPENDS+=      ispell>=3.3.02:../../textproc/ispell
 
-DISTINFO_FILE= ${.CURDIR}/../../textproc/ispell/distinfo
-
 WRKSRC=        ${WRKDIR}/${DISTNAME}/languages/english
 
 DICT_LANG=     british
diff -r 1e8416c4301b -r 40fe1916d4cc textproc/ispell/Makefile
--- a/textproc/ispell/Makefile  Thu Jun 10 21:50:29 2021 +0000
+++ b/textproc/ispell/Makefile  Thu Jun 10 23:43:26 2021 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.30 2021/06/10 10:10:47 wiz Exp $
+# $NetBSD: Makefile,v 1.31 2021/06/10 23:43:26 gutteridge Exp $
 
-DISTNAME=      ispell-3.4.04
+.include       "Makefile.common"
+
 CATEGORIES=    textproc
 MASTER_SITES=  https://www.cs.hmc.edu/~geoff/tars/
 
@@ -21,7 +22,6 @@
 CFLAGS+=       -DHAVE_INTTYPES_H
 .endif
 
-
 .if ${OPSYS} == "SunOS"
 EXTRADICT=     /usr/dict/words
 .else
diff -r 1e8416c4301b -r 40fe1916d4cc textproc/ispell/Makefile.common
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/ispell/Makefile.common   Thu Jun 10 23:43:26 2021 +0000
@@ -0,0 +1,8 @@
+# $NetBSD: Makefile.common,v 1.1 2021/06/10 23:43:26 gutteridge Exp $
+
+# used by textproc/ispell/Makefile
+# used by textproc/ispell-en_GB/Makefile
+
+DISTNAME=      ispell-3.4.04
+
+DISTINFO_FILE= ${.CURDIR}/../../textproc/ispell/distinfo



Home | Main Index | Thread Index | Old Index