diff options
author | Steve Price <steve@FreeBSD.org> | 2000-07-10 01:35:57 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 2000-07-10 01:35:57 +0000 |
commit | 1e5b2beb61008d28512a11a77dd1c18c2afbcd9d (patch) | |
tree | e7ee365fc5a10d3bcded0b29a2f4093ac19a3e2a /graphics | |
parent | e17e4713301de1f456b259dcf30069c24c97f943 (diff) | |
download | ports-1e5b2beb61008d28512a11a77dd1c18c2afbcd9d.tar.gz ports-1e5b2beb61008d28512a11a77dd1c18c2afbcd9d.zip |
Notes
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/tgif-nls/Makefile | 7 | ||||
-rw-r--r-- | graphics/tgif-nls/files/patch-ab | 30 | ||||
-rw-r--r-- | graphics/tgif-nls/pkg-plist | 3 |
3 files changed, 34 insertions, 6 deletions
diff --git a/graphics/tgif-nls/Makefile b/graphics/tgif-nls/Makefile index b0baa65e88fe..b7cc69c8121f 100644 --- a/graphics/tgif-nls/Makefile +++ b/graphics/tgif-nls/Makefile @@ -14,18 +14,21 @@ PKGNAMESUFFIX= -nls MAINTAINER= one@netlab.is.tsukuba.ac.jp +BUILD_DEPENDS= msgfmt:${PORTSDIR}/devel/gettext LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext RUN_DEPENDS= giftopnm:${PORTSDIR}/graphics/netpbm \ pnmtopng:${PORTSDIR}/graphics/pnmtopng USE_IMAKE= yes -XMKMF= LOCALBASE=${LOCALBASE} xmkmf -a MAN1= tgif.1 + +.if !defined(NOPORTDOCS) TGIFDOC= ${PREFIX}/share/doc/tgif TGIFDEMO= ${PREFIX}/share/examples/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 +.endif post-extract: ${RM} -f ${WRKDIR}/${DISTNAME}/Tgif.tmpl @@ -41,11 +44,13 @@ pre-install: ) post-install: +.if !defined(NOPORTDOCS) ${MKDIR} ${TGIFDOC}; ${MKDIR} ${TGIFDEMO} (cd ${WRKSRC} ;\ ${INSTALL_DATA} ${DEMO_FILES} ${TGIFDEMO} ;\ ${INSTALL_DATA} ${READMES} ${TGIFDOC} ;\ ) +.endif ${LN} -fs tgif ${PREFIX}/bin/tgif-nls .include <bsd.port.mk> diff --git a/graphics/tgif-nls/files/patch-ab b/graphics/tgif-nls/files/patch-ab index 6b03c823895a..602db77353b5 100644 --- a/graphics/tgif-nls/files/patch-ab +++ b/graphics/tgif-nls/files/patch-ab @@ -1,6 +1,16 @@ ---- Tgif.tmpl.orig Thu Jan 20 12:56:09 2000 -+++ Tgif.tmpl Thu Jan 20 12:59:33 2000 -@@ -48,7 +48,7 @@ +--- Tgif.tmpl.orig Sat Jun 17 03:43:39 2000 ++++ Tgif.tmpl Sat Jun 17 03:44:15 2000 +@@ -41,6 +41,9 @@ + XIMPDEFINES = + #endif + ++#define IHaveSubdirs ++SUBDIRS = po ++ + PROGRAMS = tgif XCOMM prtgif frontend11.o testdrive + TGIFDIR = $(LIBDIR)/tgif + XCOMM CDEBUGFLAGS= -g -Wall +@@ -48,7 +51,7 @@ XCOMM BINDIR = /u/halfmoon/bin XCOMM MANPATH = /u/halfmoon/man XCOMM TGIFDIR = /u/halfmoon/lib/X11/tgif @@ -9,12 +19,12 @@ DIRDEFINES = -DTGIF_PATH=\"$(TGIFDIR)\" -DPSFILE_MOD=0664 \@@\ -DLOCALEDIR=\"$(LOCALEDIR)\" \@@\ -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" \@@\ -@@ -59,14 +59,16 @@ +@@ -59,14 +62,16 @@ -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" MISCDEFINES = -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT \@@\ -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -MOREDEFINES = -+MOREDEFINES = -DUSE_XT_INITIALIZE -D_ENABLE_NLS ++MOREDEFINES = -DUSE_XT_INITIALIZE -D_ENABLE_NLS -DA4PAPER XCOMM ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ XCOMM Please see Imakefile for more defines to be added to MOREDEFINES above @@ -28,3 +38,13 @@ SYS_LIBRARIES = -lm +EXTRA_INCLUDES += -I$(LOCALBASE)/include +EXTRA_LIBRARIES += -L$(LOCALBASE)/lib -lintl + +--- po/Po.tmpl.orig Sat Jun 17 02:35:00 2000 ++++ po/Po.tmpl Sat Jun 17 02:35:26 2000 +@@ -8,5 +8,5 @@ + MKINSTALLDIRS = install -d + + DESTDIR = +-SYSNLSDIR = /usr/share/locale ++SYSNLSDIR = $(PREFIX)/share/locale + NLSDIR = $(DESTDIR)$(SYSNLSDIR) diff --git a/graphics/tgif-nls/pkg-plist b/graphics/tgif-nls/pkg-plist index a92d8d8b1260..2392cd11454c 100644 --- a/graphics/tgif-nls/pkg-plist +++ b/graphics/tgif-nls/pkg-plist @@ -21,6 +21,9 @@ share/examples/tgif/keys.obj share/examples/tgif/launch-demo.obj share/examples/tgif/launch-demo-1.obj share/examples/tgif/slide-demo.obj +share/locale/fr/LC_MESSAGES/tgif.mo +share/locale/ja/LC_MESSAGES/tgif.mo +share/locale/ru/LC_MESSAGES/tgif.mo @dirrm share/doc/tgif @dirrm share/examples/tgif @dirrm lib/X11/tgif |