Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#15090 closed submission (fixed)

vobcopy-1.1.1 new port

Reported by: 0booo5b02@… Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port:

Description

I would like http://vobcopy.org/ vobcopy to be added to the macports repository (multimedia/vobcopy for example).

Vobcopy is a very usefull command line tool to copy/backup DVDs.

Attached you'll find the Portfile and a necessary path in the configure file.

Attachments (3)

Portfile (759 bytes) - added by 0booo5b02@… 16 years ago.
Portfile
patch-configure.sh (1.4 KB) - added by 0booo5b02@… 16 years ago.
Portfile.2 (660 bytes) - added by 0booo5b02@… 16 years ago.

Download all attachments as: .zip

Change History (10)

Changed 16 years ago by 0booo5b02@…

Attachment: Portfile added

Portfile

Changed 16 years ago by 0booo5b02@…

Attachment: patch-configure.sh added

comment:1 Changed 16 years ago by jmroot (Joshua Root)

Some suggested changes to the Portfile:

  • You can obfuscate your email address to help thwart spam harvesters, like so: sneakemail.com:0booo5b02. The output from 'port info' will still be the same.
  • You should use ${prefix} instead of hardcoding /opt/local in --with-dvdread-libs=/opt/local. You also don't need to specify --prefix=${prefix} in configure.args, since it is automatically set in configure.pre_args.
  • Since you're specifying the path to MacPorts' libdvdread, you don't want the dependency satisfied by something installed somewhere else, so you should use port:libdvdread rather than lib:libdvdread:libdvdread.
  • The cd command is deprecated, so don't use it. You should also generally use the built-in Tcl command file link -symbolic rather than calling ln via the system command. However, these points are actually irrelevant in this case, since you don't need the pre-configure phase. You can just use configure.cmd configure.sh.

comment:2 in reply to:  1 Changed 16 years ago by 0booo5b02@…

Replying to jmr@macports.org:

Some suggested changes to the Portfile:

  • You can obfuscate your email address to help thwart spam harvesters, like so: sneakemail.com:0booo5b02. The output from 'port info' will still be the same.

The email is already obfuscated (hence the sneakemail.com domain) but thanks. Besides that, it is displayed in plaintext in this very page.

  • You should use ${prefix} instead of hardcoding /opt/local in --with-dvdread-libs=/opt/local. You also don't need to specify --prefix=${prefix} in configure.args, since it is automatically set in configure.pre_args.

I missed that one. Done

  • Since you're specifying the path to MacPorts' libdvdread, you don't want the dependency satisfied by something installed somewhere else, so you should use port:libdvdread rather than lib:libdvdread:libdvdread.

I suspected this but wasn't sure so I decided to keep it as in the port in which I based this one. Done.

  • The cd command is deprecated, so don't use it. You should also generally use the built-in Tcl command file link -symbolic rather than calling ln via the system command. However, these points are actually irrelevant in this case, since you don't need the pre-configure phase. You can just use configure.cmd configure.sh.

I missed this `configure.cmd in the documentation but configure.sh doesn't work, it needs to be set to ./configure.sh Done

configure.cmd is only mentioned in relation to configure.args, configure.pre_args, configure.post_args. Maybe having its own entry in the documentation would be a good idea.

New Portfile attached

This was my first port for this system so thank you for your suggestions and help.

Changed 16 years ago by 0booo5b02@…

Attachment: Portfile.2 added

comment:3 Changed 16 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to jmr@…
Status: newassigned

comment:4 Changed 16 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: assignedclosed

Linted and committed in r36194. Thanks for contributing!

comment:5 Changed 16 years ago by 0booo5b02@…

Thanks for correcting and committing my new port in less than 8 hours!

In gentoo it usually takes in the order of weeks sometimes months to add the simplest ebuild. Once I even waited for 14 months for a much simpler ebuild to be added to the repository.

comment:6 Changed 15 years ago by jmroot (Joshua Root)

Type: enhancementsubmission

comment:7 Changed 15 years ago by (none)

Milestone: Port Submissions

Milestone Port Submissions deleted

Note: See TracTickets for help on using tickets.