aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2003-01-03 01:37:36 +0800
committerijliao <ijliao@FreeBSD.org>2003-01-03 01:37:36 +0800
commite5aeaa244709637f13038d6bb975000423fb46ca (patch)
treeb29fd2934ee5269cb4fd02fb49d5962d78cad53e
parentd2071f0cfcd16d2eb32ed22e7140780ca9d1eba8 (diff)
downloadfreebsd-ports-graphics-e5aeaa244709637f13038d6bb975000423fb46ca.tar.gz
freebsd-ports-graphics-e5aeaa244709637f13038d6bb975000423fb46ca.tar.zst
freebsd-ports-graphics-e5aeaa244709637f13038d6bb975000423fb46ca.zip
upgrade to 0.14
PR: 45849 Submitted by: Ports Fury
-rw-r--r--devel/fastdep/Makefile19
-rw-r--r--devel/fastdep/distinfo2
-rw-r--r--devel/fastdep/files/patch-Makefile.real16
-rw-r--r--devel/fastdep/pkg-plist13
4 files changed, 23 insertions, 27 deletions
diff --git a/devel/fastdep/Makefile b/devel/fastdep/Makefile
index 279215ad801..29c6ee27078 100644
--- a/devel/fastdep/Makefile
+++ b/devel/fastdep/Makefile
@@ -7,8 +7,7 @@
#
PORTNAME= fastdep
-PORTVERSION= 0.13
-PORTREVISION= 1
+PORTVERSION= 0.14
CATEGORIES= devel
MASTER_SITES= http://www.irule.be/bvh/c++/fastdep/
@@ -18,19 +17,23 @@ LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
USE_REINPLACE= yes
USE_GMAKE= yes
-MAKE_ENV= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}"
-ALL_TARGET= boot
+HAS_CONFIGURE= yes
+MAKE_ENV= CXX="${CXX} -I${LOCALBASE}/include" \
+ CXXFLAGS="${CXXFLAGS}"
post-patch:
- @${REINPLACE_CMD} -e 's|make |\$$\{MAKE\} |g' ${WRKSRC}/Makefile
- @${REINPLACE_CMD} -e 's|CXXFLAGS=|CXXFLAGS+=|g ; \
- s|-O2||g' ${WRKSRC}/Makefile.common
+.for file in Makefile config/link.mk build/dependencies.mk
+ @${REINPLACE_CMD} -e 's|g++|\$$\(CXX\)|g ; \
+ s|[\$$][(]CFLAGS[)]||g ; \
+ s|\. -l|\$$\{LOCALBASE\}/lib -l|g' ${WRKSRC}/${file}
+.endfor
+ @${REINPLACE_CMD} -e 's|PREFIX=|PREFIX?=|g' ${WRKSRC}/Makefile.options
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/fastdep ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/*.* ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/devel/fastdep/distinfo b/devel/fastdep/distinfo
index 0be1b2662da..40be8fc3273 100644
--- a/devel/fastdep/distinfo
+++ b/devel/fastdep/distinfo
@@ -1 +1 @@
-MD5 (fastdep-0.13.tar.gz) = 0c1f0a3af6629e4ddba654ff7da9762a
+MD5 (fastdep-0.14.tar.gz) = edc27aa66e6b0d62eb82c0f5453057b4
diff --git a/devel/fastdep/files/patch-Makefile.real b/devel/fastdep/files/patch-Makefile.real
deleted file mode 100644
index a1fa404fd32..00000000000
--- a/devel/fastdep/files/patch-Makefile.real
+++ /dev/null
@@ -1,16 +0,0 @@
---- Makefile.real.orig Thu Jun 20 06:19:59 2002
-+++ Makefile.real Sat Nov 9 12:13:07 2002
-@@ -8,11 +8,11 @@
- g++ $(CXXFLAGS) -o $(BINARY) @linkfiles
- -rm -f linkfiles
- else
-- g++ $(CXXFLAGS) -o $(BINARY) $(OBJECTS)
-+ $(CXX) $(CXXFLAGS) -o $(BINARY) $(OBJECTS) -L${LOCALBASE}/lib -lgnugetopt
- endif
-
- .cc.o: $(ALLMAKEFILES)
-- g++ $(CXXFLAGS) -c $< -o $@
-+ $(CXX) $(CXXFLAGS) -I${LOCALBASE}/include -c $< -o $@
-
- $(DEPENDS): $(SOURCES) $(MAKEFILE)
- ifeq ($(HOST_SYSTEM),cygwin)
diff --git a/devel/fastdep/pkg-plist b/devel/fastdep/pkg-plist
index 0cdb982a8e9..031a0348ccb 100644
--- a/devel/fastdep/pkg-plist
+++ b/devel/fastdep/pkg-plist
@@ -1,3 +1,12 @@
bin/fastdep
-%%PORTDOCS%%share/doc/fastdep/Using fastdep.txt
-%%PORTDOCS%%@dirrm share/doc/fastdep
+%%PORTDOCS%%%%DOCSDIR%%/book1.htm
+%%PORTDOCS%%%%DOCSDIR%%/c100.htm
+%%PORTDOCS%%%%DOCSDIR%%/c23.htm
+%%PORTDOCS%%%%DOCSDIR%%/c34.htm
+%%PORTDOCS%%%%DOCSDIR%%/c49.htm
+%%PORTDOCS%%%%DOCSDIR%%/c63.htm
+%%PORTDOCS%%%%DOCSDIR%%/c90.htm
+%%PORTDOCS%%%%DOCSDIR%%/fastdep.docbook
+%%PORTDOCS%%%%DOCSDIR%%/fastdep.html
+%%PORTDOCS%%%%DOCSDIR%%/fastdep.pdf
+%%PORTDOCS%%@dirrm %%DOCSDIR%%