summaryrefslogtreecommitdiffstats
path: root/devel/fastdep
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2003-01-02 17:37:36 +0000
committerijliao <ijliao@FreeBSD.org>2003-01-02 17:37:36 +0000
commite5aeaa244709637f13038d6bb975000423fb46ca (patch)
treeb29fd2934ee5269cb4fd02fb49d5962d78cad53e /devel/fastdep
parentd2071f0cfcd16d2eb32ed22e7140780ca9d1eba8 (diff)
downloadFreeBSD-ports-e5aeaa244709637f13038d6bb975000423fb46ca.zip
FreeBSD-ports-e5aeaa244709637f13038d6bb975000423fb46ca.tar.gz
upgrade to 0.14
PR: 45849 Submitted by: Ports Fury
Diffstat (limited to 'devel/fastdep')
-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 279215a..29c6ee2 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 0be1b26..40be8fc 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 a1fa404..0000000
--- 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 0cdb982..031a034 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%%
OpenPOWER on IntegriCloud