aboutsummaryrefslogtreecommitdiff
path: root/devel/distcc/Makefile
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-08-10 20:54:31 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-08-10 20:54:31 +0000
commit0b492338342594036c88b5612722cf6677173bc3 (patch)
treec213c16e80016799f8252f751e2e5213a43acbc5 /devel/distcc/Makefile
parent2d418ba45193ff3cee2afe0051faa3a3435cb785 (diff)
downloadports-0b492338342594036c88b5612722cf6677173bc3.tar.gz
ports-0b492338342594036c88b5612722cf6677173bc3.zip
Notes
Diffstat (limited to 'devel/distcc/Makefile')
-rw-r--r--devel/distcc/Makefile21
1 files changed, 17 insertions, 4 deletions
diff --git a/devel/distcc/Makefile b/devel/distcc/Makefile
index aa2e5ec116d8..fc814f2cc1ff 100644
--- a/devel/distcc/Makefile
+++ b/devel/distcc/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= distcc
-PORTVERSION= 0.6
+PORTVERSION= 0.7
CATEGORIES= devel
MASTER_SITES= http://distcc.samba.org/ftp/distcc/
@@ -14,26 +14,39 @@ MAINTAINER= frerich.raabe@gmx.de
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt
+PLIST_SUB+= DOCSDIR=${DOCSDIR:S,${PREFIX}/,,}
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV+= CFLAGS="-I${LOCALBASE}/include ${CFLAGS}" \
LDFLAGS="-L${LOCALBASE}/lib ${LDFLAGS}"
MAN1= distcc.1 distccd.1
-DOC_FILES= AUTHORS COPYING COPYING.FDL NEWS OLDNEWS README
+DOC_FILES= AUTHORS COPYING COPYING.FDL NEWS OLDNEWS README \
+ linuxdoc/distcc.info.gz linuxdoc/distcc.pdf \
+ linuxdoc/distcc.ps.gz
+HTML_DOC_FILES= distcc.html distcc-1.html distcc-2.html distcc-3.html \
+ distcc-4.html distcc-5.html distcc-6.html distcc-7.html
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/src/distcc ${PREFIX}/bin
@${INSTALL_PROGRAM} ${WRKSRC}/src/distccd ${PREFIX}/sbin
-post-install: install-doc install-man
+post-install: install-doc install-html-doc install-man
@${CAT} ${PKGMESSAGE}
install-doc:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in ${DOC_FILES}
- @${INSTALL_MAN} ${WRKSRC}/${file} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+.endfor
+.endif
+
+install-html-doc:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}/html
+.for file in ${HTML_DOC_FILES}
+ @${INSTALL_DATA} ${WRKSRC}/linuxdoc/html/${file} ${DOCSDIR}/html
.endfor
.endif