ports/85794: new port: cad/fig2sxd - Convert .xfig files to the OpenOffice draw format
Emanuel Haupt
ehaupt at critical.ch
Tue Sep 6 12:50:19 UTC 2005
>Number: 85794
>Category: ports
>Synopsis: new port: cad/fig2sxd - Convert .xfig files to the OpenOffice draw format
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Sep 06 12:50:17 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Emanuel Haupt
>Release: FreeBSD 4.11-RELEASE-p11 i386
>Organization:
>Environment:
System: FreeBSD admin.critical.ch 4.11-RELEASE-p11 FreeBSD 4.11-RELEASE-p11 #0: Thu Jun 30 09:36:40 CEST 2005 root at admin.critical.ch:/usr/obj/usr/src-release/src/sys/GENERIC i386
>Description:
new port: cad/fig2sxd - Convert .xfig files to the OpenOffice draw format
A command line utility to convert .xfig files to the OpenOffice Draw format.
>How-To-Repeat:
>Fix:
--- fig2sxd.shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# fig2sxd
# fig2sxd/Makefile
# fig2sxd/pkg-descr
# fig2sxd/distinfo
# fig2sxd/files
# fig2sxd/files/patch-Makefile
#
echo c - fig2sxd
mkdir -p fig2sxd > /dev/null 2>&1
echo x - fig2sxd/Makefile
sed 's/^X//' >fig2sxd/Makefile << 'END-of-fig2sxd/Makefile'
X# New ports collection makefile for: fig2sxd
X# Date created: 6 Sep 2005
X# Whom: Emanuel Haupt <ehaupt at critical.ch>
X#
X# $FreeBSD$
X#
X
XPORTNAME= fig2sxd
XPORTVERSION= 0.13
XCATEGORIES= cad
XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
XMASTER_SITE_SUBDIR= ${PORTNAME}
XDISTNAME= ${PORTNAME}_${PORTVERSION}.orig
X
XMAINTAINER= ehaupt at critical.ch
XCOMMENT= Convert .xfig files to the OpenOffice draw format
X
XUSE_GMAKE= yes
XUSE_GCC= 3.4+
X
XWRKSRC= ${WRKDIR}/${DISTNAME:C/_/-/}
X
XMAN1= fig2sxd.1
XPLIST_FILES= bin/fig2sxd
X
Xdo-install:
X ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
X ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1
X
X.include <bsd.port.mk>
END-of-fig2sxd/Makefile
echo x - fig2sxd/pkg-descr
sed 's/^X//' >fig2sxd/pkg-descr << 'END-of-fig2sxd/pkg-descr'
XA command line utility to convert .xfig files to the OpenOffice Draw format.
X
XWWW: http://fig2sxd.sourceforge.net/
X
X- ehaupt
Xehaupt at critical.ch
END-of-fig2sxd/pkg-descr
echo x - fig2sxd/distinfo
sed 's/^X//' >fig2sxd/distinfo << 'END-of-fig2sxd/distinfo'
XMD5 (fig2sxd_0.13.orig.tar.gz) = 3244a2708386fb3a78f31429b35565f0
XSIZE (fig2sxd_0.13.orig.tar.gz) = 20689
END-of-fig2sxd/distinfo
echo c - fig2sxd/files
mkdir -p fig2sxd/files > /dev/null 2>&1
echo x - fig2sxd/files/patch-Makefile
sed 's/^X//' >fig2sxd/files/patch-Makefile << 'END-of-fig2sxd/files/patch-Makefile'
X--- Makefile.orig Sun Jan 25 22:33:34 2004
X+++ Makefile Tue Sep 6 13:50:01 2005
X@@ -43,28 +43,28 @@
X
X DEPEND = .depend-
X DEPFILES = $(SOURCES1:%.cpp=$(DEPEND)%.dep)
X-CXX = g++
X+CXX ?= g++
X CXXF = -Wall -O2 -g
X-CXXFLAGS = -fno-rtti -fno-exceptions $(CXXF) $(INCLUDES)
X+CXXFLAGS ?= -fno-rtti -fno-exceptions $(CXXF) $(INCLUDES)
X LIBS = -lz
X
X $(TARGET1): $(OBJECTS1)
X- $(CXX) -o $@ $^ $(LIBS)
X+ $(CXX) $(CXXFLAGS) -o $@ $^ $(LIBS)
X
X $(OBJECTS1): %.o: $(SRCDIR)%.cpp $(DEPEND)%.dep
X $(CXX) $(CXXFLAGS) -o $@ -c $<
X
X $(DEPFILES): $(DEPEND)%.dep: $(SRCDIR)%.cpp
X- $(CXX) $(INCLUDES) -M $< > $@
X+ $(CXX) $(CXXFLAGS) $(INCLUDES) -M $< > $@
X
X -include $(DEPFILES)
X
X clean:
X rm -f $(TARGETS) $(OBJECTS1) $(DEPFILES)
X
X-all: install
X+all: $(TARGET1) fig2sxd.1
X
X-install: $(TARGET1) fig2sxd.1
X+install:
X install -d $(DESTDIR)/bin $(DESTDIR)/share/man/man1
X install -m755 $(TARGET1) $(DESTDIR)/bin
X install -m644 fig2sxd.1 $(DESTDIR)/share/man/man1
END-of-fig2sxd/files/patch-Makefile
exit
--- fig2sxd.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list