mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
a635fc0a08
PR: 40578 Submitted by: MAINTAINER
46 lines
1007 B
Makefile
46 lines
1007 B
Makefile
# New ports collection makefile for: distcc
|
|
# Date created: 25 June 2002
|
|
# Whom: Frerich Raabe <frerich.raabe@gmx.de>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= distcc
|
|
PORTVERSION= 0.6
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://distcc.samba.org/ftp/distcc/
|
|
|
|
MAINTAINER= frerich.raabe@gmx.de
|
|
|
|
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt
|
|
|
|
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
|
|
|
|
do-install:
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/src/distcc ${PREFIX}/bin
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/src/distccd ${PREFIX}/sbin
|
|
|
|
post-install: install-doc install-man
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
install-doc:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
.for file in ${DOC_FILES}
|
|
@${INSTALL_MAN} ${WRKSRC}/${file} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
install-man:
|
|
.for file in ${MAN1}
|
|
${INSTALL_MAN} ${WRKSRC}/man/${file} ${MANPREFIX}/man/man1
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|