Opened 16 years ago

Closed 15 years ago

#14428 closed submission (worksforme)

mktemp-1.5 New portfile

Reported by: alakazam@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc: nox@…
Port: mktemp

Description

I am submitting a new Portfile for mktemp (http://www.mktemp.org/) which is not yet available via macports. The latest version of mktemp provides a -p parameter which is not available with the base Mac OS X version, and is sometimes useful.

Attachments (2)

Portfile (915 bytes) - added by alakazam@… 16 years ago.
Portfile
patch-Makefile.in (690 bytes) - added by alakazam@… 16 years ago.
Patch so that Makefile is aware of DESTDIR (thanks iceblox)

Download all attachments as: .zip

Change History (10)

Changed 16 years ago by alakazam@…

Attachment: Portfile added

Portfile

Changed 16 years ago by alakazam@…

Attachment: patch-Makefile.in added

Patch so that Makefile is aware of DESTDIR (thanks iceblox)

comment:1 Changed 16 years ago by raimue (Rainer Müller)

Hm, we already have a mktemp in coreutils (GNU, this one here is BSD). But this will definitely conflict with coreutils +with_default_names.

comment:2 Changed 16 years ago by alakazam@…

Yes, I realized that right after opening this ticket. Since the two implementations are compatible (from the mktemp website) :

A different, but compatible, implementation of mktemp is available as part of GNU coreutils.

it might not be necessary to add this port, however having a different implementation might be important for some people, and having a separate mktemp is quicker to deploy.

Is there also a simple solution to indicate incompatibilities between ports ? I have not found any indication of one in the macports guide, in which case adding this port would probably be a bad idea.

comment:3 Changed 15 years ago by nox@…

Cc: nox@… added

What do you think of adding this port as "bsdmktemp" with a "with_default_names" variant? We could then add a check in pre-fetch to ensure $prefix/bin/mktemp does not exist.

comment:4 in reply to:  2 Changed 15 years ago by blb@…

Keywords: mktemp removed
Port: mktemp added

Replying to alakazam@…:

Is there also a simple solution to indicate incompatibilities between ports ? I have not found any indication of one in the macports guide, in which case adding this port would probably be a bad idea.

Ticket #18794.

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

Type: enhancementsubmission

comment:6 Changed 15 years ago by (none)

Milestone: Port Submissions

Milestone Port Submissions deleted

comment:7 Changed 15 years ago by raimue (Rainer Müller)

How to go on with this? Note there is already /usr/bin/mktemp.

comment:8 Changed 15 years ago by alakazam@…

Resolution: worksforme
Status: newclosed

I don't need this port anymore, and anyway the coreutils port would fullfil this need. This can be closed.

Note: See TracTickets for help on using tickets.