aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--graphics/tgif/Makefile12
-rw-r--r--graphics/tgif/files/patch-ab11
-rw-r--r--graphics/tgif/pkg-plist11
3 files changed, 33 insertions, 1 deletions
diff --git a/graphics/tgif/Makefile b/graphics/tgif/Makefile
index d6033da203cd..b9453a7e3a2e 100644
--- a/graphics/tgif/Makefile
+++ b/graphics/tgif/Makefile
@@ -3,7 +3,7 @@
# Date created: 30 Jan 1999
# Whom: bmc@WillsCreek.COM
#
-# $Id: Makefile,v 1.16 1999/06/04 17:55:59 mharo Exp $
+# $Id: Makefile,v 1.17 1999/06/19 19:36:47 cpiazza Exp $
#
DISTNAME= tgif-4.1.16
@@ -17,10 +17,20 @@ RUN_DEPENDS= giftopnm:${PORTSDIR}/graphics/netpbm
USE_IMAKE= yes
MAN1= tgif.1
+TGIFDOC= ${PREFIX}/share/doc/tgif
+DEMO_FILES= an-sr-flip-flop.obj launch-demo-1.obj \
+ fonts.obj launch-demo.obj keys.obj slide-demo.obj example.tex
+READMES= Copyright HISTORY README
post-extract:
${RM} -f ${WRKDIR}/${DISTNAME}/Tgif.tmpl
${CP} ${WRKDIR}/${DISTNAME}/Tgif.tmpl-freebsd \
${WRKDIR}/${DISTNAME}/Tgif.tmpl
+post-install:
+ ${MKDIR} ${TGIFDOC}
+ (cd ${WRKSRC} ;\
+ ${INSTALL_DATA} ${DEMO_FILES} ${TGIFDOC} ;\
+ ${INSTALL_DATA} ${READMES} ${TGIFDOC} ;\
+ )
.include <bsd.port.mk>
diff --git a/graphics/tgif/files/patch-ab b/graphics/tgif/files/patch-ab
new file mode 100644
index 000000000000..9b8ac284857a
--- /dev/null
+++ b/graphics/tgif/files/patch-ab
@@ -0,0 +1,11 @@
+--- Tgif.tmpl.orig Thu Jul 15 15:59:27 1999
++++ Tgif.tmpl Thu Jul 15 16:02:44 1999
+@@ -57,7 +57,7 @@
+ -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" \@@\
+ -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" \@@\
+ -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\"
+-MISCDEFINES = -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT
++MISCDEFINES = -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"$(LIBDIR)/app-defaults\"
+ MOREDEFINES =
+
+ XCOMM ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
diff --git a/graphics/tgif/pkg-plist b/graphics/tgif/pkg-plist
index bd29c4de643b..faa55f611b0c 100644
--- a/graphics/tgif/pkg-plist
+++ b/graphics/tgif/pkg-plist
@@ -10,4 +10,15 @@ lib/X11/tgif/tgificon.xbm
lib/X11/tgif/tgificon.xpm
lib/X11/tgif/tangram.sym
lib/X11/tgif/keys.obj
+share/doc/tgif/Copyright
+share/doc/tgif/HISTORY
+share/doc/tgif/README
+share/doc/tgif/an-sr-flip-flop.obj
+share/doc/tgif/example.tex
+share/doc/tgif/fonts.obj
+share/doc/tgif/launch-demo-1.obj
+share/doc/tgif/launch-demo.obj
+share/doc/tgif/keys.obj
+share/doc/tgif/slide-demo.obj
+@dirrm share/doc/tgif
@dirrm lib/X11/tgif