Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#2364 closed defect (fixed)

NEW: inform-6.30.2

Reported by: devin@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

Inform-6.30.2

the portfile can be found here: INLINE

Description: Inform is a programming language and design system for interactive fiction programs. This will install the compiler and documentation.

Homepage: http://www.inform-fiction.org/

Comments: Placed in devel catagory because this is a compiler for a programming language. I had to do a bit of hacking as the comment in the Portfile explains. The compile is easy no need to modify anything but the destroot based install got the sym links a bit screwy had to fix it with a post-destroot target and an extra variable to maintain. vim@… is my coding / maintainer e-mail instead of what I registered my buzilla account with (personal e-mail)

================INLINE CONTENT================ # $Id: $ PortSystem 1.0 name inform version 6.30.2 categories devel maintainers vim@… description A Z-Code (Infocom Text Adventures) compiler long_description Inform is a programming language and design \

system for interactive fiction, created in 1993 \ by Graham Nelson.

checksums md5 2b5c06ecdcd97975ea4fe45b1583841c homepage http://www.inform-fiction.org/ master_sites http://mirror.ifarchive.org/if-archive/infocom/compilers/inform6/source/ \ http://www.ifarchive.org/if-archive/infocom/compilers/inform6/source/ \ ftp://ftp.ifarchive.org/if-archive/infocom/compilers/inform6/source/

# The install of inform will build the executable to name-version and make a # sym link to name. This causes two problems. The sym link is not relative to # the bin directory making it link to the files in the dports directory which # do not exists after install. Also the name-version the package uses is # different then the name-version this Portfile uses so I had to make a special # variable for this. Then fix the sym link to be relative. set exec-name inform-6.30

post-destroot {

system "rm -f ${destroot}${prefix}/bin/${name}" system "ln -s ${exec-name} ${destroot}${prefix}/bin/${name}"

}

-- Reality is a crutch for people who can't deal with science fiction.

Attachments (2)

inform_Portfile.tar.gz (1.2 KB) - added by devin@… 16 years ago.
Updated Portfile and added two patches
inform-Portfile.tar.gz (1.2 KB) - added by devin@… 16 years ago.
Fixed filename conventions

Download all attachments as: .zip

Change History (8)

Changed 16 years ago by devin@…

Attachment: inform_Portfile.tar.gz added

Updated Portfile and added two patches

comment:1 Changed 16 years ago by devin@…

attachments.description: Udated Portfile and added two patchesUpdated Portfile and added two patches

Changed 16 years ago by devin@…

Attachment: inform-Portfile.tar.gz added

Fixed filename conventions

comment:2 Changed 16 years ago by devin@…

attachments.isobsolete: 01

comment:3 Changed 16 years ago by mww@…

Owner: changed from darwinports-bugs@… to mww@…

ok - it compiles just fine, BUT: what about the header files being in $prefix/share/inform/6.30/include and the manual in $prefix/share/inform/manual ? They rather (imho) should be in $prefix/include/ or $prefix/include/inform/ and $prefix/share/doc/inform/

would this be possible to fix? Thanks!

comment:4 Changed 16 years ago by devin@…

The choice of the "header" files was not my choosing. This is the standard location for this project. It was the choice of the Inform author, Graham Nelson. Now the files your speaking of are NOT C header files but actual libraries written in Inform and might not be apropiate to mix with the C language. At least that is what I'm guessing is what he was thinking. The Portfile, in theory, could patch the source and change the default location of the files. Perhaps a message to the Inform maintainer to suggest a different location. I only attempted to port the project as-is so I didn't think to modify the directory structure. How do you suggest this to be handled?

comment:5 Changed 16 years ago by mww@…

Resolution: fixed
Status: newclosed

ok, thanks; just submitted it! (incl. a slighly changed docdir)

comment:6 Changed 16 years ago by devin@…

blocked: 2533
Note: See TracTickets for help on using tickets.