Skip to content
Permalink
Browse files

Bug: https://trac.macports.org/ticket/2364

Submitted by:   devin@tritarget.com
Reviewed by:    mww@

new port devel/inform

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@9246 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Markus W. Weißmann
Markus W. Weißmann committed Nov 11, 2004
1 parent ab77fe2 commit c82095e17fb607890a0e87c780aa5ea5a47b82eb
Showing with 66 additions and 0 deletions.
  1. +33 −0 devel/inform/Portfile
  2. +16 −0 devel/inform/files/patch-include-Makefile.in
  3. +17 −0 devel/inform/files/patch-lib-Makefile.in
@@ -0,0 +1,33 @@
# $Id: Portfile,v 1.1 2004/11/11 10:29:21 mww Exp $

PortSystem 1.0

name inform
version 6.30.2
categories devel
maintainers vim@tritarget.com
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/
set subdir if-archive/infocom/compilers/inform6/source/
master_sites http://mirror.ifarchive.org/${subdir} \
http://www.ifarchive.org/${subdir} \
ftp://ftp.ifarchive.org/${subdir} \
patchfiles patch-include-Makefile.in patch-lib-Makefile.in

# 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

destroot.args htmldir=${prefix}/share/doc/${name}

post-destroot {
system "ln -sf ${exec-name} ${destroot}${prefix}/bin/${name}"
}
@@ -0,0 +1,16 @@
--- include/Makefile.in~ Tue Mar 16 03:08:10 2004
+++ include/Makefile.in Sun Nov 7 04:17:33 2004
@@ -348,10 +348,9 @@
uninstall-includeHEADERS uninstall-info-am uninstall-local


-@CYGWIN_TRUE@install-data-hook: add-localdir
-@CYGWIN_TRUE@uninstall-local: remove-localdir
-@CYGWIN_FALSE@install-data-hook: add-localdir add-names
-@CYGWIN_FALSE@uninstall-local: remove-localdir remove-names
+# Force cygwin targets to avoid sym linking in Mac OS X
+install-data-hook: add-localdir
+uninstall-local: remove-localdir

add-localdir:
$(mkinstalldirs) $(DESTDIR)$(localincdir)
@@ -0,0 +1,17 @@
--- lib/Makefile.in~ Mon Mar 8 02:47:48 2004
+++ lib/Makefile.in Sun Nov 7 04:18:54 2004
@@ -352,11 +352,9 @@

.h.m5:; $(INFORM) $(INFFLAGS) -M $< $@

-@CYGWIN_TRUE@install-data-hook: add-localdir
-@CYGWIN_TRUE@uninstall-local: remove-localdir
-@CYGWIN_FALSE@all-local: add-local-names
-@CYGWIN_FALSE@install-data-hook: add-localdir add-names
-@CYGWIN_FALSE@uninstall-local: remove-localdir remove-names
+# Force cygwin targets to avoid sym linking in Mac OS X
+install-data-hook: add-localdir
+uninstall-local: remove-localdir

add-localdir:
$(mkinstalldirs) $(DESTDIR)$(localmoddir)

0 comments on commit c82095e

Please sign in to comment.
You can’t perform that action at this time.