aboutsummaryrefslogtreecommitdiff
path: root/devel/distcc/Makefile
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-06-30 23:50:05 +0000
committerPatrick Li <pat@FreeBSD.org>2002-06-30 23:50:05 +0000
commite1b62693c8b318b3105303b5bc84cc37191aa1f6 (patch)
tree475edfd253468b4334034a6b09a5864f32c05521 /devel/distcc/Makefile
parent9f08d92cf085b79f075e217a99c0a98eb80f5286 (diff)
downloadports-e1b62693c8b318b3105303b5bc84cc37191aa1f6.tar.gz
ports-e1b62693c8b318b3105303b5bc84cc37191aa1f6.zip
Update to 0.5
PR: 39948 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=62241
Diffstat (limited to 'devel/distcc/Makefile')
-rw-r--r--devel/distcc/Makefile26
1 files changed, 22 insertions, 4 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>