aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/fig2sxd
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2006-03-15 18:39:38 +0800
committerehaupt <ehaupt@FreeBSD.org>2006-03-15 18:39:38 +0800
commit5478807658693468610417eff024a17731cce3fa (patch)
tree1858060af2d01e4be8a9672f0b5ec2e575db0847 /graphics/fig2sxd
parent249251e30b90160e2ca0907ca27cf1fa67827672 (diff)
downloadfreebsd-ports-gnome-5478807658693468610417eff024a17731cce3fa.tar.gz
freebsd-ports-gnome-5478807658693468610417eff024a17731cce3fa.tar.zst
freebsd-ports-gnome-5478807658693468610417eff024a17731cce3fa.zip
Update to 0.14
PR: 94105
Diffstat (limited to 'graphics/fig2sxd')
-rw-r--r--graphics/fig2sxd/Makefile7
-rw-r--r--graphics/fig2sxd/distinfo6
-rw-r--r--graphics/fig2sxd/files/patch-Makefile37
3 files changed, 9 insertions, 41 deletions
diff --git a/graphics/fig2sxd/Makefile b/graphics/fig2sxd/Makefile
index 5af9394a5d21..fb2340be2a07 100644
--- a/graphics/fig2sxd/Makefile
+++ b/graphics/fig2sxd/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= fig2sxd
-PORTVERSION= 0.13
+PORTVERSION= 0.14
CATEGORIES= graphics converters
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -23,6 +23,11 @@ WRKSRC= ${WRKDIR}/${DISTNAME:C/_/-/}
MAN1= fig2sxd.1
PLIST_FILES= bin/fig2sxd
+post-patch:
+ @${REINPLACE_CMD} -e \
+ '/^CXX/d; s|^\(all:\).*|\1 $$(TARGET1) fig2sxd.1|' \
+ ${WRKSRC}/${MAKEFILE}
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1
diff --git a/graphics/fig2sxd/distinfo b/graphics/fig2sxd/distinfo
index ea715fc7831c..c8fe00cb7f75 100644
--- a/graphics/fig2sxd/distinfo
+++ b/graphics/fig2sxd/distinfo
@@ -1,3 +1,3 @@
-MD5 (fig2sxd_0.13.orig.tar.gz) = 3244a2708386fb3a78f31429b35565f0
-SHA256 (fig2sxd_0.13.orig.tar.gz) = f1efc4e307be38f237a7a7ca30cdcb8c2c32151c77cfa183ac5eef260d120c84
-SIZE (fig2sxd_0.13.orig.tar.gz) = 20689
+MD5 (fig2sxd_0.14.orig.tar.gz) = 51686ccc400aa60b94173955f9e945ad
+SHA256 (fig2sxd_0.14.orig.tar.gz) = 8139f51cda5ed5e965d058d5bc371586c944ae191b3f055f44cdb9d71b9128e6
+SIZE (fig2sxd_0.14.orig.tar.gz) = 22261
diff --git a/graphics/fig2sxd/files/patch-Makefile b/graphics/fig2sxd/files/patch-Makefile
deleted file mode 100644
index 987bf167da73..000000000000
--- a/graphics/fig2sxd/files/patch-Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
---- Makefile.orig Sun Jan 25 22:33:34 2004
-+++ Makefile Tue Sep 6 13:50:01 2005
-@@ -43,28 +43,28 @@
-
- DEPEND = .depend-
- DEPFILES = $(SOURCES1:%.cpp=$(DEPEND)%.dep)
--CXX = g++
-+CXX ?= g++
- CXXF = -Wall -O2 -g
--CXXFLAGS = -fno-rtti -fno-exceptions $(CXXF) $(INCLUDES)
-+CXXFLAGS ?= -fno-rtti -fno-exceptions $(CXXF) $(INCLUDES)
- LIBS = -lz
-
- $(TARGET1): $(OBJECTS1)
-- $(CXX) -o $@ $^ $(LIBS)
-+ $(CXX) $(CXXFLAGS) -o $@ $^ $(LIBS)
-
- $(OBJECTS1): %.o: $(SRCDIR)%.cpp $(DEPEND)%.dep
- $(CXX) $(CXXFLAGS) -o $@ -c $<
-
- $(DEPFILES): $(DEPEND)%.dep: $(SRCDIR)%.cpp
-- $(CXX) $(INCLUDES) -M $< > $@
-+ $(CXX) $(CXXFLAGS) $(INCLUDES) -M $< > $@
-
- -include $(DEPFILES)
-
- clean:
- rm -f $(TARGETS) $(OBJECTS1) $(DEPFILES)
-
--all: install
-+all: $(TARGET1) fig2sxd.1
-
--install: $(TARGET1) fig2sxd.1
-+install:
- install -d $(DESTDIR)/bin $(DESTDIR)/share/man/man1
- install -m755 $(TARGET1) $(DESTDIR)/bin
- install -m644 fig2sxd.1 $(DESTDIR)/share/man/man1