summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2003-01-02 17:37:36 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2003-01-02 17:37:36 +0000
commit5594cddd276f78e6b5d557e09b44a20571b557ef (patch)
tree7ef3389e0ceb85af65b412d2cf5f666ba72f944a /devel
parentUpdate to 0.9.7 release (diff)
upgrade to 0.14
PR: 45849 Submitted by: Ports Fury
Diffstat (limited to 'devel')
-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 279215ad8011..29c6ee270788 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 0be1b2662dab..40be8fc32735 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 a1fa404fd325..000000000000
--- 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 0cdb982a8e9e..031a0348ccb0 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%%