diff options
author | jmmv <jmmv@pkgsrc.org> | 2005-10-10 12:15:47 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2005-10-10 12:15:47 +0000 |
commit | cc9f6caf2efce2f9c8377dc7bc8c30f3c362aad6 (patch) | |
tree | 4a7650b62da67f5e596de2dd052b7fb0a6fd7ff9 /devel/distcc/Makefile.common | |
parent | 2c08e0d917c4edd460fc4cd6a88105c148d9013f (diff) | |
download | pkgsrc-cc9f6caf2efce2f9c8377dc7bc8c30f3c362aad6.tar.gz |
Looks like I forgot to add this file in the previous commit... pointed out
by martti@.
Diffstat (limited to 'devel/distcc/Makefile.common')
-rw-r--r-- | devel/distcc/Makefile.common | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/devel/distcc/Makefile.common b/devel/distcc/Makefile.common new file mode 100644 index 00000000000..9920a9e346b --- /dev/null +++ b/devel/distcc/Makefile.common @@ -0,0 +1,39 @@ +# $NetBSD: Makefile.common,v 1.1 2005/10/10 12:15:47 jmmv Exp $ +# + +### XXX: See the other 'XXX' comment below when updating this package. +DISTCC_VERSION= 2.18.3 + +DISTNAME= distcc-${DISTCC_VERSION} +CATEGORIES= devel +MASTER_SITES= http://distcc.samba.org/ftp/distcc/ +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= martti@NetBSD.org +HOMEPAGE= http://distcc.samba.org/ + +DISTINFO_FILE= ${.CURDIR}/../../devel/distcc/distinfo +PATCHDIR= ${.CURDIR}/../../devel/distcc/patches + +GNU_CONFIGURE= yes +USE_PKGINSTALL= yes +USE_TOOLS+= gmake + +CONFIGURE_ARGS+= --enable-rfc2553 +CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} + +SUBST_CLASSES+= doc +SUBST_STAGE.doc= post-patch +SUBST_FILES.doc= src/distcc.c src/hosts.c +SUBST_SED.doc= -e "s|%s/distcc/hosts|%s/hosts|g" +SUBST_MESSAGE.doc= "Fixing paths." + +.if empty(PKGNAME:Mdistcc-[0-9]*) +### XXX: Remove 'nb1' from the line below during the next update. +DEPENDS+= distcc>=${DISTCC_VERSION}nb1:../../devel/distcc + +PRINT_PLIST_AWK+= /^@dirrm share\/distcc$$/ \ + { print "@comment in distcc: " $$0; next } +.endif + +.include "../../devel/popt/buildlink3.mk" |