Please send an attachment for new ports (or diff -u for updates to existing
ports).
I think the problem here is likely the PKGNAME line with no version number.
But with the values you have in GH_* you don't need PKGNAME anyway so just
remove it.
--
Sent from a phone, apologies for poor formatting.
On 10 May 2022 10:51:14 oliw...@danwin1210.de wrote:
it's my first port.
make build and make fake works, but make package dont work.
why its not working?
How to next time send makefile, distinfo,plist,DESCR to make it more
easier to read, use for you?
cat Makefile
COMMENT = reference implementation for the ZIM file format
PKGNAME = libzim
GH_ACCOUNT = openzim
GH_PROJECT = libzim
GH_TAGNAME = 7.2.1
SHARED_LIBS = zim 0.0 # 7.2.1
CATEGORIES = devel
HOMEPAGE = https://openzim.org
MAINTAINER = Oliwier <oliw...@danwin1210.de>
# GPL v2+
PERMIT_PACKAGE = Yes
# "make port-lib-depends-check" can help
#WANTLIB = ???
MODULES = devel/meson
#BUILD_DEPENDS = ???
#RUN_DEPENDS = ???
LIB_DEPENDS = archivers/zstd \
textproc/icu4c \
databases/xapian-core \
devel/uuid \
devel/gtest
TEST_DEPENDS = devel/gtest
#NO_TEST = Yes
.include <bsd.port.mk>
cat distinfo
SHA256 (libzim-7.2.1.tar.gz) = 09phizDYuds93y9NwzGhIKPDOfPWzTr7FdwmsENnjSo=
SIZE (libzim-7.2.1.tar.gz) = 233011
cat pkg/PLIST
include/zim/
include/zim/archive.h
include/zim/blob.h
include/zim/entry.h
include/zim/error.h
include/zim/item.h
include/zim/search.h
include/zim/search_iterator.h
include/zim/suggestion.h
include/zim/suggestion_iterator.h
include/zim/uuid.h
include/zim/version.h
include/zim/writer/
include/zim/writer/contentProvider.h
include/zim/writer/creator.h
include/zim/writer/item.h
include/zim/zim.h
include/zim/zim_config.h
@lib lib/libzim.so.${LIBzim_VERSION}
lib/pkgconfig/libzim.pc
cat pkg/DESCR
The Libzim is the reference implementation for the ZIM file format.
It's a software library to read and write ZIM files on many systems
and architectures. More information about the ZIM format and the
openZIM project at https://openzim.org/.
doas make package
doas (user@fpf.x) password:
`/usr/ports/pobj/libzim/fake-amd64/.fake_done' is up to date.
===> Building package for libzim
Create /usr/ports/packages/amd64/all/libzim.tgz
Creating package libzim
pkg_create: Can't call method "p" on an undefined value
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2147
'/usr/ports/packages/amd64/all/libzim.tgz': @trap "cd
/usr/ports/packages/am...)
*** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2628
'_internal-package': @case X${_DEPENDS_CACHE} in X) _DEPENDS_CACHE=$(
mktem...)
*** Error 2 in /usr/ports/mystuff/devel/libzim
(/usr/ports/infrastructure/mk/bsd.port.mk:2607 'package': @lock=libzim;
export _LOCKS_HELD="...)