mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-18 08:02:48 +00:00
print/pdf-tools: Update and fix build with devel_full flavor
The batch-update-autoloads function is no longer available in the master branch, so use loaddefs-generate-batch for the devel_full flavor. Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
dc2fd08d67
commit
87b049c22e
@ -1,7 +1,7 @@
|
||||
PORTNAME= pdf-tools
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 0.91
|
||||
PORTREVISION= 7
|
||||
DISTVERSION= 0.91-54
|
||||
DISTVERSIONSUFFIX= -gbb0b71f
|
||||
CATEGORIES= print elisp
|
||||
PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX}
|
||||
|
||||
@ -33,11 +33,16 @@ do-build:
|
||||
cd ${WRKSRC}/server && ./autogen.sh && ./configure -q && make
|
||||
${EMACS_CMD} -q --batch -L ${WRKSRC}/lisp -f batch-byte-compile \
|
||||
${WRKSRC}/lisp/*.el
|
||||
.if ${FLAVOR:U} == devel_full
|
||||
${EMACS_CMD} -q --batch -f loaddefs-generate-batch \
|
||||
${WRKSRC}/lisp/${PORTNAME}-loaddefs.el ${WRKSRC}/lisp
|
||||
.else
|
||||
${EMACS_CMD} -q --batch \
|
||||
--eval "(setq generated-autoload-file \
|
||||
\"${WRKSRC}/lisp/${PORTNAME}-loaddefs.el\" \
|
||||
backup-inhibited t)" \
|
||||
-f batch-update-autoloads ${WRKSRC}/lisp
|
||||
--eval "(setq generated-autoload-file \
|
||||
\"${WRKSRC}/lisp/${PORTNAME}-loaddefs.el\" \
|
||||
backup-inhibited t)" \
|
||||
-f batch-update-autoloads ${WRKSRC}/lisp
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}/${PORTNAME}
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1641488632
|
||||
SHA256 (vedang-pdf-tools-v0.91_GH0.tar.gz) = 93f88d27e7910b76ffe2c506670d685b41c0b2cd3086543971d0c700c9eadee3
|
||||
SIZE (vedang-pdf-tools-v0.91_GH0.tar.gz) = 456351
|
||||
TIMESTAMP = 1660168493
|
||||
SHA256 (vedang-pdf-tools-v0.91-54-gbb0b71f_GH0.tar.gz) = 86c7de8b582f5d08e3f5690e1b2bff295ffbcdf09200302b01e379de2ca77353
|
||||
SIZE (vedang-pdf-tools-v0.91-54-gbb0b71f_GH0.tar.gz) = 460448
|
||||
|
Loading…
Reference in New Issue
Block a user