MFH: r511192
converters/bibtexconv: Update to 1.1.17 * Place PLIST_FILES/PORTEXAMPLES entries into pkg-plist to make maintaining somewhat easier if new examples are added/removed in the future. [1] * Let the ports framework take care for the shebang fixes while I'm here. Notable changes since 1.1.11: * Switched to CMake for build * Various bugfixes and improvements * Addition of further examples [1] PR: 239840 Submitted by: dreibh@iem.uni-due.de (maintainer) Approved by: ports-secteam (joneum)
This commit is contained in:
parent
4c038326be
commit
e9bba48117
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/branches/2019Q3/; revision=511257
@ -2,7 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= bibtexconv
|
||||
PORTVERSION= 1.1.11
|
||||
PORTVERSION= 1.1.17
|
||||
CATEGORIES= converters
|
||||
MASTER_SITES= https://www.uni-due.de/~be0001/bibtexconv/download/
|
||||
|
||||
@ -10,29 +10,20 @@ MAINTAINER= dreibh@iem.uni-due.de
|
||||
COMMENT= BibTeX Converter
|
||||
|
||||
LICENSE= GPLv3+
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING.GPL
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
LIB_DEPENDS= libcurl.so:ftp/curl
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USES= gmake ssl python:3.4+
|
||||
USES= bison cmake ssl python:3.4+ shebangfix tar:xz
|
||||
|
||||
PLIST_FILES= bin/bibtexconv bin/bibtexconv-odt bin/ietf2bibtex \
|
||||
man/man1/bibtexconv.1.gz man/man1/bibtexconv-odt.1.gz \
|
||||
man/man1/ietf2bibtex.1.gz
|
||||
SHEBANG_FILES= src/ietf2bibtex
|
||||
|
||||
PORTEXAMPLES= ExampleReferences.bib ODT-Template.odt odt-example.export \
|
||||
web-example.export text-example.export
|
||||
CMAKE_ARGS= -DCMAKE_INSTALL_DOCDIR=${EXAMPLESDIR} -DCMAKE_INSTALL_MANDIR=${MANPREFIX}/man
|
||||
|
||||
OPTIONS_DEFINE= EXAMPLES
|
||||
|
||||
pre-configure:
|
||||
@${REINPLACE_CMD} -e 's|install-data-am: install-dist_examplesDATA|install-data-am:|' \
|
||||
${WRKSRC}/src/Makefile.in
|
||||
@${REINPLACE_CMD} -e 's|/usr/bin/python3|${PYTHON_CMD}|' ${WRKSRC}/src/ietf2bibtex
|
||||
|
||||
post-install-EXAMPLES-on:
|
||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/src/,} ${STAGEDIR}${EXAMPLESDIR}
|
||||
# Remove trailing subdir from CMAKE_INSTALL_DOCDIR
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|/examples||' ${WRKSRC}/src/CMakeLists.txt ${WRKSRC}/src/Images/CMakeLists.txt
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1509634898
|
||||
SHA256 (bibtexconv-1.1.11.tar.gz) = 1240c3011718d9ba95c165dbf908eab871153530b70bca0ef74dc2b9664e83f1
|
||||
SIZE (bibtexconv-1.1.11.tar.gz) = 344966
|
||||
TIMESTAMP = 1566570616
|
||||
SHA256 (bibtexconv-1.1.17.tar.xz) = d48961aa40134b7497012edfae87d75d9139f29acb7d2f06552d384e8b730921
|
||||
SIZE (bibtexconv-1.1.17.tar.xz) = 175096
|
||||
|
21
converters/bibtexconv/pkg-plist
Normal file
21
converters/bibtexconv/pkg-plist
Normal file
@ -0,0 +1,21 @@
|
||||
bin/bibtexconv
|
||||
bin/bibtexconv-odt
|
||||
bin/ietf2bibtex
|
||||
man/man1/bibtexconv-odt.1.gz
|
||||
man/man1/bibtexconv.1.gz
|
||||
man/man1/ietf2bibtex.1.gz
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/authors-fix.list
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/authors.list
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ExampleReferences.bib
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/get-author-url
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Images/ListItem-Collapsed.dia
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Images/ListItem-Collapsed.svg
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Images/ListItem-Expanded.dia
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Images/ListItem-Expanded.svg
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Images/make-images
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/odt-example.export
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ODT-Template.odt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/publication-list-treeview.js
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/text-example.export
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/web-example.export
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/yaml-example.export
|
Loading…
Reference in New Issue
Block a user