[csw-devel] SF.net SVN: gar:[17096] csw/mgar/pkg
wahwah at users.sourceforge.net
wahwah at users.sourceforge.net
Tue Feb 21 01:14:22 CET 2012
Revision: 17096
http://gar.svn.sourceforge.net/gar/?rev=17096&view=rev
Author: wahwah
Date: 2012-02-21 00:14:22 +0000 (Tue, 21 Feb 2012)
Log Message:
-----------
antiword/trunk: Just for the fun of it.
Added Paths:
-----------
csw/mgar/pkg/antiword/
csw/mgar/pkg/antiword/Makefile
csw/mgar/pkg/antiword/branches/
csw/mgar/pkg/antiword/tags/
csw/mgar/pkg/antiword/trunk/
csw/mgar/pkg/antiword/trunk/Makefile
csw/mgar/pkg/antiword/trunk/checksums
csw/mgar/pkg/antiword/trunk/files/
csw/mgar/pkg/antiword/trunk/files/0001-Adjust-variables-in-Makefile.Solaris.patch
Added: csw/mgar/pkg/antiword/Makefile
===================================================================
--- csw/mgar/pkg/antiword/Makefile (rev 0)
+++ csw/mgar/pkg/antiword/Makefile 2012-02-21 00:14:22 UTC (rev 17096)
@@ -0,0 +1,2 @@
+%:
+ $(MAKE) -C trunk $*
Property changes on: csw/mgar/pkg/antiword/trunk
___________________________________________________________________
Added: svn:ignore
+ cookies
download
work
Added: svn:externals
+ gar https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2
Added: csw/mgar/pkg/antiword/trunk/Makefile
===================================================================
--- csw/mgar/pkg/antiword/trunk/Makefile (rev 0)
+++ csw/mgar/pkg/antiword/trunk/Makefile 2012-02-21 00:14:22 UTC (rev 17096)
@@ -0,0 +1,39 @@
+# $Id$
+# TODO (release-critical prefixed with !, non release-critical with *)
+#
+NAME = antiword
+VERSION = 0.37
+GARTYPE = v2
+CATEGORIES = apps
+
+DESCRIPTION = Brief description
+define BLURB
+ Long description
+endef
+
+MASTER_SITES = http://www.winfield.demon.nl/linux/
+DISTFILES = $(DISTNAME).tar.gz
+
+PATCHFILES = 0001-Adjust-variables-in-Makefile.Solaris.patch
+
+CONFIGURE_ARGS = $(DIRPATHS)
+
+CONFIGURE_SCRIPTS =
+BUILD_SCRIPTS = custom
+INSTALL_SCRIPTS = custom
+TEST_SCRIPTS =
+
+LICENSE = Docs/COPYING
+
+CHECKPKG_OVERRIDES_CSWantiword += file-with-bad-content|/usr/share|root/opt/csw/bin/antiword
+CHECKPKG_OVERRIDES_CSWantiword += file-with-bad-content|/usr/share|root/opt/csw/share/man/man1/antiword.1
+
+include gar/category.mk
+
+build-custom:
+ (cd $(WORKSRC) && /usr/bin/env -i $(BUILD_ENV) gmake -f Makefile.Solaris $(PARALLELMFLAGS))
+ @$(MAKECOOKIE)
+
+install-custom:
+ (cd $(WORKSRC) && /usr/bin/env -i $(INSTALL_ENV) gmake -f Makefile.Solaris DESTDIR=$(DESTDIR) $(PARALLELMFLAGS) install)
+ @$(MAKECOOKIE)
Property changes on: csw/mgar/pkg/antiword/trunk/Makefile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: csw/mgar/pkg/antiword/trunk/checksums
===================================================================
--- csw/mgar/pkg/antiword/trunk/checksums (rev 0)
+++ csw/mgar/pkg/antiword/trunk/checksums 2012-02-21 00:14:22 UTC (rev 17096)
@@ -0,0 +1 @@
+f868e2a269edcbc06bf77e89a55898d1 antiword-0.37.tar.gz
Added: csw/mgar/pkg/antiword/trunk/files/0001-Adjust-variables-in-Makefile.Solaris.patch
===================================================================
--- csw/mgar/pkg/antiword/trunk/files/0001-Adjust-variables-in-Makefile.Solaris.patch (rev 0)
+++ csw/mgar/pkg/antiword/trunk/files/0001-Adjust-variables-in-Makefile.Solaris.patch 2012-02-21 00:14:22 UTC (rev 17096)
@@ -0,0 +1,62 @@
+From 1d62f1c52525338a4724a62b233f9b1a45cc9e8b Mon Sep 17 00:00:00 2001
+From: Maciej Blizinski <maciej at opencsw.org>
+Date: Tue, 21 Feb 2012 01:11:20 +0100
+Subject: [PATCH] Adjust variables in Makefile.Solaris
+
+---
+ Makefile.Solaris | 24 +++++++++++++-----------
+ 1 files changed, 13 insertions(+), 11 deletions(-)
+
+diff --git a/Makefile.Solaris b/Makefile.Solaris
+index 429db06..4830c22 100644
+--- a/Makefile.Solaris
++++ b/Makefile.Solaris
+@@ -13,10 +13,10 @@ DB = NDEBUG
+ # Optimization: -O<n> or debugging: -g
+ OPT = -xO2
+
+-LDLIBS =
++LDLIBS +=
+
+-CFLAGS = $(OPT) -D$(DB)
+-LDFLAGS =
++CFLAGS += $(OPT) -D$(DB)
++LDFLAGS +=
+
+ OBJS =\
+ main_u.o asc85enc.o blocklist.o chartrans.o datalist.o depot.o\
+@@ -34,9 +34,9 @@ PROGS =\
+ LOCAL_INSTALL_DIR = $(HOME)/bin
+ LOCAL_RESOURCES_DIR = $(HOME)/.antiword
+
+-GLOBAL_INSTALL_DIR = /usr/local/bin
+-GLOBAL_RESOURCES_DIR = /usr/local/share/antiword
+-MAN_DIR = /usr/local/man/man1
++GLOBAL_INSTALL_DIR = /opt/csw/bin
++GLOBAL_RESOURCES_DIR = /opt/csw/share/antiword
++MAN_DIR = /opt/csw/share/man/man1
+
+ all: $(PROGS)
+
+@@ -48,11 +48,13 @@ local_install: all
+
+ # NOTE: you must be root to do this
+ install: all
+- $(INSTALL) -c -o bin -g bin -m 755 $(PROGS) $(GLOBAL_INSTALL_DIR)
+- $(INSTALL) -c -o bin -g bin -m 644 Docs/antiword.1 $(MAN_DIR)
+- $(INSTALL) -d -o bin -g bin -m 755 $(GLOBAL_RESOURCES_DIR)
+- $(INSTALL) -c -o bin -g bin -m 644 Resources/*.txt $(GLOBAL_RESOURCES_DIR)
+- $(INSTALL) -c -o bin -g bin -m 644 Resources/fontnames $(GLOBAL_RESOURCES_DIR)
++ $(INSTALL) -c -o bin -g bin -m 755 -d $(DESTDIR)$(GLOBAL_INSTALL_DIR)
++ $(INSTALL) -c -o bin -g bin -m 755 -d $(DESTDIR)$(MAN_DIR)
++ $(INSTALL) -c -o bin -g bin -m 755 $(PROGS) $(DESTDIR)$(GLOBAL_INSTALL_DIR)
++ $(INSTALL) -c -o bin -g bin -m 644 Docs/antiword.1 $(DESTDIR)$(MAN_DIR)
++ $(INSTALL) -d -o bin -g bin -m 755 -d $(DESTDIR)$(GLOBAL_RESOURCES_DIR)
++ $(INSTALL) -c -o bin -g bin -m 644 Resources/*.txt $(DESTDIR)$(GLOBAL_RESOURCES_DIR)
++ $(INSTALL) -c -o bin -g bin -m 644 Resources/fontnames $(DESTDIR)$(GLOBAL_RESOURCES_DIR)
+
+ clean:
+ rm -f $(OBJS)
+--
+1.7.9
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list