summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/Makefile1
-rw-r--r--devel/fastdep/Makefile34
-rw-r--r--devel/fastdep/distinfo1
-rw-r--r--devel/fastdep/files/patch-Makefile.options12
-rw-r--r--devel/fastdep/files/patch-Makefile.real11
-rw-r--r--devel/fastdep/pkg-comment1
-rw-r--r--devel/fastdep/pkg-descr5
-rw-r--r--devel/fastdep/pkg-plist3
8 files changed, 68 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index fbdaebd..6aeee7e 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -165,6 +165,7 @@
SUBDIR += fam
SUBDIR += fampp
SUBDIR += fastcrc
+ SUBDIR += fastdep
SUBDIR += fc++
SUBDIR += ffcall
SUBDIR += fhist
diff --git a/devel/fastdep/Makefile b/devel/fastdep/Makefile
new file mode 100644
index 0000000..95f7689
--- /dev/null
+++ b/devel/fastdep/Makefile
@@ -0,0 +1,34 @@
+# ex:ts=8
+# Ports collection makefile for: fastdep
+# Date created: Oct 30, 2002
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= fastdep
+PORTVERSION= 0.13
+CATEGORIES= devel
+MASTER_SITES= http://www.irule.be/bvh/c++/fastdep/
+
+MAINTAINER= ports@FreeBSD.org
+
+LIB_DEPENDS= gnugetopt:${PORTSDIR}/devel/libgnugetopt
+
+USE_REINPLACE= yes
+USE_GMAKE= yes
+ALL_TARGET= boot
+CFLAGS+= -I${LOCALBASE}/include
+
+post-patch:
+ @${REINPLACE_CMD} -e "s|make|gmake|" ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e "s|CXXFLAGS=|CXXFLAGS+=|" ${WRKSRC}/Makefile.common
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/fastdep ${PREFIX}/bin
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/devel/fastdep/distinfo b/devel/fastdep/distinfo
new file mode 100644
index 0000000..0be1b26
--- /dev/null
+++ b/devel/fastdep/distinfo
@@ -0,0 +1 @@
+MD5 (fastdep-0.13.tar.gz) = 0c1f0a3af6629e4ddba654ff7da9762a
diff --git a/devel/fastdep/files/patch-Makefile.options b/devel/fastdep/files/patch-Makefile.options
new file mode 100644
index 0000000..4e09878
--- /dev/null
+++ b/devel/fastdep/files/patch-Makefile.options
@@ -0,0 +1,12 @@
+--- Makefile.options.orig Wed Oct 30 20:44:36 2002
++++ Makefile.options Wed Oct 30 20:44:45 2002
+@@ -1,8 +1,7 @@
+-PREFIX=/opt
+ CATEGORY=devel/c
+ NAME=fastdep
+ BINARY=fastdep
+ # Possible values for CONFIGURATION
+ # release : optimized code with no debug symbols
+ # debug : non-optimized code with debug symbols
+-CONFIGURATION=debug
++CONFIGURATION=release
diff --git a/devel/fastdep/files/patch-Makefile.real b/devel/fastdep/files/patch-Makefile.real
new file mode 100644
index 0000000..3add4a3
--- /dev/null
+++ b/devel/fastdep/files/patch-Makefile.real
@@ -0,0 +1,11 @@
+--- Makefile.real.orig Wed Oct 30 20:46:26 2002
++++ Makefile.real Wed Oct 30 20:46:46 2002
+@@ -8,7 +8,7 @@
+ g++ $(CXXFLAGS) -o $(BINARY) @linkfiles
+ -rm -f linkfiles
+ else
+- g++ $(CXXFLAGS) -o $(BINARY) $(OBJECTS)
++ g++ $(CXXFLAGS) -o $(BINARY) $(OBJECTS) -L${LOCALBASE}/lib -lgnugetopt
+ endif
+
+ .cc.o: $(ALLMAKEFILES)
diff --git a/devel/fastdep/pkg-comment b/devel/fastdep/pkg-comment
new file mode 100644
index 0000000..fe9ba31
--- /dev/null
+++ b/devel/fastdep/pkg-comment
@@ -0,0 +1 @@
+Fast dependency generator for C/C++ files
diff --git a/devel/fastdep/pkg-descr b/devel/fastdep/pkg-descr
new file mode 100644
index 0000000..e40f6ac
--- /dev/null
+++ b/devel/fastdep/pkg-descr
@@ -0,0 +1,5 @@
+fastdep is a preprocessor which generates dependency information suitable for
+Makefile inclusion from C or C++ source files. Meant to run on slower hardware,
+it is several orders of magnitude faster than gcc.
+
+WWW: http://www.irule.be/bvh/c++/fastdep/
diff --git a/devel/fastdep/pkg-plist b/devel/fastdep/pkg-plist
new file mode 100644
index 0000000..0cdb982
--- /dev/null
+++ b/devel/fastdep/pkg-plist
@@ -0,0 +1,3 @@
+bin/fastdep
+%%PORTDOCS%%share/doc/fastdep/Using fastdep.txt
+%%PORTDOCS%%@dirrm share/doc/fastdep
OpenPOWER on IntegriCloud