aboutsummaryrefslogtreecommitdiff
path: root/devel/fastdep
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-10-30 12:52:39 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-10-30 12:52:39 +0000
commitaca8006da4cb6ae0ce231862e7591f01d163a893 (patch)
tree3c31478c12f7799984b8991ef6742034cd0e5e15 /devel/fastdep
parenta76838b7701eff85df8d757223c9875251cbe643 (diff)
Notes
Diffstat (limited to 'devel/fastdep')
-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
7 files changed, 67 insertions, 0 deletions
diff --git a/devel/fastdep/Makefile b/devel/fastdep/Makefile
new file mode 100644
index 000000000000..95f7689d0cc0
--- /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 000000000000..0be1b2662dab
--- /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 000000000000..4e0987800123
--- /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 000000000000..3add4a391e10
--- /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 000000000000..fe9ba3159284
--- /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 000000000000..e40f6ac87505
--- /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 000000000000..0cdb982a8e9e
--- /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