2020-08-03 08:13:13 +02:00
|
|
|
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
|
|
|
|
|
|
|
|
PORTNAME= hxtools
|
2021-12-07 07:50:46 +01:00
|
|
|
PORTVERSION= 20211204
|
2020-08-03 08:13:13 +02:00
|
|
|
CATEGORIES= misc
|
|
|
|
MASTER_SITES= http://inai.de/files/hxtools/
|
|
|
|
|
|
|
|
MAINTAINER= danfe@FreeBSD.org
|
|
|
|
COMMENT= Collection of miscellaneous tools and scripts
|
|
|
|
|
|
|
|
LIB_DEPENDS= libHX.so:lang/libhx libpci.so:devel/libpci
|
|
|
|
RUN_DEPENDS= bash:shells/bash
|
|
|
|
|
|
|
|
USES= compiler:c++11-lang iconv perl5 pkgconfig shebangfix \
|
|
|
|
tar:xz xorg
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
SHEBANG_FILES= data/hxtools_bashrc.bash data/hxtools_profile.bash \
|
|
|
|
examples/colortable examples/git-deconstruct examples/neon \
|
|
|
|
examples/rc4 examples/unitable sadmin/hxnetload \
|
|
|
|
sadmin/ldif-duplicate-attrs sadmin/ldif-leading-spaces \
|
|
|
|
sadmin/logontime sadmin/pmap_dirty sadmin/recursive_lower \
|
|
|
|
sadmin/vcsaview sdevel/checkbrack sdevel/cwdiff \
|
|
|
|
sdevel/diff2php sdevel/doxygen-kerneldoc-filter \
|
|
|
|
sdevel/git-author-stat sdevel/git-blame-stats \
|
|
|
|
sdevel/git-forest sdevel/git-revert-stats \
|
|
|
|
sdevel/git-track sdevel/man2html sdevel/paddrspacesize \
|
|
|
|
sdevel/proc_stat_signal_decode sdevel/sourcefuncsize \
|
|
|
|
sdevel/spec-beautifier smm/aumeta smm/extract_d3pkg \
|
|
|
|
smm/extract_dfqshared.pm smm/extract_dxhog \
|
|
|
|
smm/extract_f3pod smm/extract_qupak smm/gpsh smm/mkvappend \
|
|
|
|
smm/mod2opus smm/ssa2srt suser/fxterm suser/mailsplit \
|
|
|
|
suser/pegrep suser/pesubst suser/qpdecode suser/qtar \
|
|
|
|
suser/rezip suser/wktimer
|
|
|
|
USE_PERL5= run
|
|
|
|
USE_XORG= xcb
|
|
|
|
|
Fix CONFLICTS entries of multiple ports
There have been lots of missing CONFLICTS_INSTALL entries, either
because conflicting ports were added without updating existing ports,
due to name changes of generated packages, due to mis-understanding
the format and semantics of the conflicts entries, or just due to
typoes in package names.
This patch is the result of a comparison of all files contained in
the official packages with each other. This comparison was based on
packages built with default options and may therefore have missed
further conflicts with optionally installed files.
Where possible, version numbers in conflicts entries have been
generalized, some times taking advantage of the fact that a port
cannot conflict with itself (due to logic in bsd.port.mk that
supresses the pattern match result in that case).
A few ports that set the conflicts variables depending on complex
conditions (e.g. port options), have been left unmodified, despite
probably containing outdated package names.
These changes should only affect the installation of locally built
ports, not the package building with poudriere. They should give an
early indication of the install conflict in cases where currently
the pkg command aborts an installation when it detects that an
existing file would be overwritten,
Approved by: portmgr (implicit)
2022-01-10 15:20:12 +01:00
|
|
|
CONFLICTS_INSTALL= grx psptoolchain-pspsdk-stage2 # bin/bin2c
|
|
|
|
|
2020-08-03 08:13:13 +02:00
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -E 's,(/usr)?/bin,${LOCALBASE}/bin,g' \
|
|
|
|
${WRKSRC}/sadmin/su1
|
|
|
|
|
|
|
|
post-install-DOCS-on:
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2021-08-06 15:34:16 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/changelog.rst ${STAGEDIR}${DOCSDIR}
|
2020-08-03 08:13:13 +02:00
|
|
|
|
|
|
|
post-install-EXAMPLES-on:
|
|
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|