1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Update to 0.14

PR:		94105
This commit is contained in:
Emanuel Haupt 2006-03-15 10:39:38 +00:00
parent 699b8e1207
commit da0023e69a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=157204
3 changed files with 9 additions and 41 deletions

View File

@ -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

View File

@ -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

View File

@ -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