Page MenuHomeFreeBSD

New port: misc/owrep: Weather reporting program based on openweathermap.org
AbandonedPublic

Authored by yuri on Nov 16 2017, 9:04 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 16, 12:22 AM
Unknown Object (File)
Thu, Dec 12, 5:29 PM
Unknown Object (File)
Mon, Nov 25, 12:36 PM
Unknown Object (File)
Nov 20 2024, 4:41 PM
Unknown Object (File)
Nov 5 2024, 12:54 PM
Unknown Object (File)
Nov 5 2024, 12:54 PM
Unknown Object (File)
Nov 5 2024, 12:54 PM
Unknown Object (File)
Nov 5 2024, 12:54 PM
Subscribers

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 13029
Build 13283: arc lint + arc unit

Event Timeline

misc/owrep/Makefile
4

^ use DISTVERSION for new ports

20

^ I think @adamw mentioned in the tio-commit, that you should put them into a plist if they contain substitutions.

yuri marked 2 inline comments as done.Nov 16 2017, 6:26 PM
misc/owrep/pkg-plist
1

^ do as the nice line tells you :D

yuri marked an inline comment as done.Nov 16 2017, 6:32 PM
This revision is now accepted and ready to land.Nov 16 2017, 6:35 PM
This revision was automatically updated to reflect the committed changes.
misc/owrep/Makefile
20

FWIW, the issue is that %% things are to pass variables into the plist. If the plist is in the Makefile, there's no need to expand variables.

PLIST_FILES=    %%ETCDIR%%.conf.sample

should just be:

PLIST_FILES=    ${ETCDIR_REL}.conf.sample

That said, %%ETCDIR%%.conf.sample is pretty gross. That really should be etc/%%PORTNAME%%.conf.sample.

What absolutely do require a separate plist are commands (like @sample, @dir, etc.).

head/misc/owrep/pkg-plist
2 ↗(On Diff #35334)

This is wrong.

%%ETCDIR%% should always be followed by a /, it is a directory name, not a "bit of a filename".

@yuri can you prepare a fix for the mistake -- sorry my bad :/

Fixed the %%ETCDIR%% problem.

yuri marked an inline comment as done.Nov 24 2017, 8:30 PM
yuri added inline comments.
misc/owrep/Makefile
20

@adamw , sorry I missed your original comment!
Now this is fixed.

yuri marked 2 inline comments as done.Nov 24 2017, 8:30 PM

This wasn't closed somehow.