Skip to content
Permalink
Browse files

as provided by: mdales@mac.com (Michael Dales)

added homepage key / value

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@2044 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Jean-Pierre Mouilleseaux
Jean-Pierre Mouilleseaux committed Feb 18, 2003
1 parent f980eb7 commit d1fbaa0378c82c3c194d84f8d11140ad082debd5
Showing with 58 additions and 0 deletions.
  1. +26 −0 graphics/tgif/Portfile
  2. +9 −0 graphics/tgif/files/patch-Imakefile
  3. +23 −0 graphics/tgif/files/patch-Tgif.tmpl
@@ -0,0 +1,26 @@
PortSystem 1.0
name tgif
version 4.1.42
description Basic vector drawing package
categories x11 graphics
maintainers mdales@mac.com
homepage http://bourbon.usc.edu:8001/tgif/
platforms darwin
master_sites ftp://bourbon.usc.edu/pub/tgif/
distname tgif-QPL-${portversion}
checksums md5 83b1cd01b1570fbf71ea5994af87f42e
use_xmkmf yes
worksrcdir ${distname}
patchfiles patch-Tgif.tmpl patch-Imakefile
post-patch {
set path "${worksrcpath}"
system "chmod 644 Tgif.tmpl"
reinplace "s|PREFIX|${prefix}|g" "${path}/Tgif.tmpl"
}

pre-install {
set path "${worksrcpath}"
reinplace "s|${prefix}|${destroot}${prefix}|g" "${path}/Makefile"
}

build.target.install install install.man
@@ -0,0 +1,9 @@
--- /tmp/Imakefile Wed Jan 15 14:35:17 2003
+++ Imakefile Wed Jan 15 14:39:15 2003
@@ -40,5 +40,5 @@
$(MISCDEFINES) \@@\
-DTGIF_DISTR_VER=\"$(TGIFVERSION)\" \@@\
- $(MOREDEFINES) -DQPL_LICENSE
+ $(MOREDEFINES) -DQPL_LICENSE -D_NO_DL_SUPPORT

TGIFVERSION = 4.1.42
@@ -0,0 +1,23 @@
--- /tmp/Tgif.tmpl Wed Jan 15 14:54:28 2003
+++ Tgif.tmpl Wed Jan 15 14:55:17 2003
@@ -39,9 +39,9 @@
XCOMM CDEBUGFLAGS= -g -Wall
XCOMM INSTPGMFLAGS= -s
-XCOMM BINDIR = /u/halfmoon/bin
-XCOMM MANPATH = /u/halfmoon/man
-XCOMM TGIFDIR = /u/halfmoon/lib/X11/tgif
+BINDIR = PREFIX/bin
+MANPATH = PREFIX/man
+TGIFDIR = PREFIX/lib/X11/tgif
XCOMM MOREDEFINES = -D_HAS_STREAMS_SUPPORT -DENABLE_NLS -D_TGIF_DBG
-LOCALEDIR = /usr/share/locale
+LOCALEDIR = PREFIX/share/locale
DIRDEFINES = -DTGIF_PATH=\"$(TGIFDIR)\" -DPSFILE_MOD=0664 \@@\
-DLOCALEDIR=\"$(LOCALEDIR)\" \@@\
@@ -65,5 +65,5 @@
LOCAL_LIBRARIES = $(XLIB)
XCOMM LOCAL_LIBRARIES = $(XMULIB) $(XTOOLLIB) $(XLIB)
-SYS_LIBRARIES = -ldl -lm
+SYS_LIBRARIES = -lm
XCOMM SYS_LIBRARIES = -lm

0 comments on commit d1fbaa0

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