Page MenuHomeFreeBSD

biology/njplot: Revive and upgrade to version 2.4
ClosedPublic

Authored by jrm on Nov 15 2016, 1:15 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Mar 27, 11:37 AM
Unknown Object (File)
Feb 5 2024, 10:24 PM
Unknown Object (File)
Jan 14 2024, 7:02 PM
Unknown Object (File)
Jan 14 2024, 7:01 PM
Unknown Object (File)
Dec 31 2023, 4:08 AM
Unknown Object (File)
Dec 20 2023, 2:07 AM
Unknown Object (File)
Dec 13 2023, 11:53 PM
Unknown Object (File)
Nov 18 2023, 3:22 PM
Subscribers

Details

Summary

biology/njplot: Revive and upgrade to version 2.4

Test Plan

portlint -C: OK
testport: OK (poudriere: 9.3-RELEASE-p48, i386, default options)
testport: OK (poudriere: 9.3-RELEASE-p48, amd64, default options)
testport: OK (poudriere: 10.3-RELEASE-p10, i386, default options)
testport: OK (poudriere: 10.3-RELEASE-p10, amd64, default options)
testport: OK (poudriere: 11.0-RELEASE-p1, i386, default options)
testport: OK (poudriere: 11.0-RELEASE-p1, amd64, default options)

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jrm retitled this revision from to biology/njplot: Revive and upgrade to version 2.4.
jrm updated this object.
jrm edited the test plan for this revision. (Show Details)
jrm added reviewers: swills, AMDmi3.

Also I'd change MAN_1 and BINARIES stuff into explicit installation:

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/newicktops ${WRKSRC}/newicktotxt ${STAGEDIR}${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/*.1 ${STAGEDIR}${MANPREFIX}/man/man1

do-install-X11-on:
    ${INSTALL_PROGRAM} ${WRKSRC}/njplot ${WRKSRC}/unrooted ${STAGEDIR}${PREFIX}/bin

it's shorter and cleaner that way.

And finally, X11 option doesn't seem consistent. It's strange that njplot port may not install njplot binary, and it's strange that nhplot help file and documentation are installed even if the binary isn't. I'd drop the option completely, and, if newicktops newicktotxt are actually usable separately, move them into separate port.

biology/njplot/Makefile
7 ↗(On Diff #22203)

It may be useful to leave ftp://pbil.univ-lyon1.fr/pub/mol_phylogeny/njplot/archive/ as a secondary MASTER_SITE, so if current version if moved to archive, it won't break fetch.

12 ↗(On Diff #22203)

LICENSE= NONE

24 ↗(On Diff #22203)

We don't list DOCS, EXAMPLES and NLS in OPTIONS_DEFAULT.

27 ↗(On Diff #22203)

I'd prefer uppercase XORG= for consistency (it's USE_XORG, not USE_xorg)

33 ↗(On Diff #22203)

@

37 ↗(On Diff #22203)

MANPREFIX

41 ↗(On Diff #22203)

INSTALL_DATA. Docs are not manpages.

biology/njplot/files/patch-makefile
6 ↗(On Diff #22203)

First, slash seems to be missing after ${DOCSDIR}.
Next, it looks like a help file which is always used by the program, not additional documentation, so I'd move it into DATADIR and install unconditionally.

15 ↗(On Diff #22203)

Should stay "?=" to respect CC.

AMDmi3 requested changes to this revision.Nov 15 2016, 11:22 AM
AMDmi3 edited edge metadata.
This revision now requires changes to proceed.Nov 15 2016, 11:22 AM
jrm edited edge metadata.
jrm marked 7 inline comments as done.

Incorporate suggested changes

Without the X11 option, defining and using the BINARIES variable seemed more
compelling.

AMDmi3 edited edge metadata.
This revision is now accepted and ready to land.Nov 16 2016, 12:44 PM
This revision was automatically updated to reflect the committed changes.
jrm marked 2 inline comments as done.