aboutsummaryrefslogtreecommitdiffstats
path: root/devel/distcc
diff options
context:
space:
mode:
authorpat <pat@FreeBSD.org>2002-07-01 07:50:05 +0800
committerpat <pat@FreeBSD.org>2002-07-01 07:50:05 +0800
commit01ce29df9e92c2a9f316914b5c5ee7c9ef449496 (patch)
tree4da3c9dedc8a52c8ceebbe324a4b2caa25523905 /devel/distcc
parent91d48b3234aaf8ab7fe6493699fccd2d522dd118 (diff)
downloadfreebsd-ports-gnome-01ce29df9e92c2a9f316914b5c5ee7c9ef449496.tar.gz
freebsd-ports-gnome-01ce29df9e92c2a9f316914b5c5ee7c9ef449496.tar.zst
freebsd-ports-gnome-01ce29df9e92c2a9f316914b5c5ee7c9ef449496.zip
Update to 0.5
PR: 39948 Submitted by: maintainer
Diffstat (limited to 'devel/distcc')
-rw-r--r--devel/distcc/Makefile26
-rw-r--r--devel/distcc/distinfo2
-rw-r--r--devel/distcc/files/patch-src::dparent.c11
-rw-r--r--devel/distcc/files/patch-src::serve.c11
-rw-r--r--devel/distcc/pkg-plist7
5 files changed, 30 insertions, 27 deletions
diff --git a/devel/distcc/Makefile b/devel/distcc/Makefile
index 5da4b0d506ae..07af3a387bdc 100644
--- a/devel/distcc/Makefile
+++ b/devel/distcc/Makefile
@@ -6,25 +6,43 @@
#
PORTNAME= distcc
-PORTVERSION= 0.4
+PORTVERSION= 0.5
CATEGORIES= devel
MASTER_SITES= http://ftp.samba.org/ftp/distcc/
MAINTAINER= frerich.raabe@gmx.de
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt
+BUILD_DEPENDS= ps2pdf:${PORTSDIR}/print/ghostscript-gnu
+USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include ${CPPFLAGS}" \
- LDFLAGS="-L${LOCALBASE}/lib ${LDFLAGS}"
+ LDFLAGS="-L${LOCALBASE}/lib ${LDFLAGS}"
-BUILD_WRKSRC= ${WRKSRC}/src
+MAN1= distcc.1 distccd.1
+
+DOC_FILES= distcc.pdf distcc.ps distcc.html \
+ distccd.pdf distccd.ps distccd.html
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/src/distcc ${PREFIX}/bin
@${INSTALL_PROGRAM} ${WRKSRC}/src/distccd ${PREFIX}/sbin
-post-install:
+post-install: install-doc install-man
@${CAT} ${PKGMESSAGE}
+install-doc:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for file in ${DOC_FILES}
+ @${INSTALL_MAN} ${WRKSRC}/man/${file} ${DOCSDIR}
+.endfor
+.endif
+
+install-man:
+.for file in ${MAN1}
+ ${INSTALL_MAN} ${WRKSRC}/man/${file} ${MANPREFIX}/man/man1
+.endfor
+
.include <bsd.port.mk>
diff --git a/devel/distcc/distinfo b/devel/distcc/distinfo
index df6c0db9db19..91b3c720444e 100644
--- a/devel/distcc/distinfo
+++ b/devel/distcc/distinfo
@@ -1 +1 @@
-MD5 (distcc-0.4.tar.gz) = 3b21a4bde9810eb8040b05e6924430f8
+MD5 (distcc-0.5.tar.gz) = e3c7054c2bd766b891b1ad9e779d3f7e
diff --git a/devel/distcc/files/patch-src::dparent.c b/devel/distcc/files/patch-src::dparent.c
deleted file mode 100644
index 3d748e228ca6..000000000000
--- a/devel/distcc/files/patch-src::dparent.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/dparent.c.orig Tue Jun 25 15:58:35 2002
-+++ src/dparent.c Tue Jun 25 15:58:48 2002
-@@ -126,7 +126,7 @@
-
- memset(&act_exited, 0, sizeof act_exited);
- act_exited.sa_handler = dcc_child_exited;
-- act_exited.sa_flags = SA_NOCLDSTOP;
-+ act_exited.sa_flags = SA_NOCLDSTOP|SA_RESTART;
-
- if (sigaction(SIGTERM, &act_catch, NULL)
- || sigaction(SIGHUP, &act_catch, NULL)
diff --git a/devel/distcc/files/patch-src::serve.c b/devel/distcc/files/patch-src::serve.c
deleted file mode 100644
index 316585d25449..000000000000
--- a/devel/distcc/files/patch-src::serve.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/serve.c.orig Tue Jun 25 15:42:07 2002
-+++ src/serve.c Tue Jun 25 15:42:30 2002
-@@ -189,7 +189,7 @@
- *
- * XXX: Perhaps this should be optional so that we can compare
- * performance each way? */
-- if (mknod(temp_i, S_IFIFO|S_IRUSR|S_IWUSR, 0) == -1) {
-+ if (mkfifo(temp_i, S_IFIFO|S_IRUSR|S_IWUSR) == -1) {
- rs_log_error("failed to make fifo %s: %s", temp_i,
- strerror(errno));
- goto failed;
diff --git a/devel/distcc/pkg-plist b/devel/distcc/pkg-plist
index eaa77a87291d..c6078da80343 100644
--- a/devel/distcc/pkg-plist
+++ b/devel/distcc/pkg-plist
@@ -1,2 +1,9 @@
bin/distcc
sbin/distccd
+%%PORTDOCS%%share/doc/distcc/distcc.pdf
+%%PORTDOCS%%share/doc/distcc/distcc.ps
+%%PORTDOCS%%share/doc/distcc/distcc.html
+%%PORTDOCS%%share/doc/distcc/distccd.pdf
+%%PORTDOCS%%share/doc/distcc/distccd.ps
+%%PORTDOCS%%share/doc/distcc/distccd.html
+%%PORTDOCS%%@dirrm share/doc/distcc