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
F105939968: D8518.diff
Sun, Dec 22, 8:35 PM
Unknown Object (File)
Sat, Dec 7, 2:43 PM
Unknown Object (File)
Oct 30 2024, 3:31 AM
Unknown Object (File)
Oct 14 2024, 12:34 PM
Unknown Object (File)
Oct 7 2024, 10:57 PM
Unknown Object (File)
Sep 18 2024, 5:20 AM
Unknown Object (File)
Sep 18 2024, 3:23 AM
Unknown Object (File)
Sep 8 2024, 6:35 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
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 5949
Build 6230: arc lint + arc unit

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

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

LICENSE= NONE

24

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

27

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

33

@

37

MANPREFIX

41

INSTALL_DATA. Docs are not manpages.

biology/njplot/files/patch-makefile
6

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

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.