Monday, March 04, 2024

education/freedict: PKG_ARCH=*

Reminded by mbuhl; these dictionaries have no dependencies and just
repackage unmodified upstream files.

Feedback? OK?

Index: Makefile.inc
===================================================================
RCS file: /cvs/ports/education/freedict/Makefile.inc,v
diff -u -p -r1.2 Makefile.inc
--- Makefile.inc 4 Mar 2024 12:46:55 -0000 1.2
+++ Makefile.inc 4 Mar 2024 12:57:07 -0000
@@ -1,6 +1,7 @@
# see https://freedict.org/freedict-database.json for all dictionaries
DISTNAME = freedict-${DICT}-${V}.dictd
PKGNAME ?= ${DISTNAME:.dictd=}
+REVISION ?= 0

CATEGORIES = education databases

@@ -15,6 +16,8 @@ EXTRACT_SUFX ?= .tar.xz
CONFIGURE_STYLE ?= none
NO_BUILD ?= Yes
NO_TEST ?= Yes
+
+PKG_ARCH = *

do-install:
${INSTALL_DATA_DIR} ${PREFIX}/freedict/${DICT}

No comments:

Post a Comment