[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / devel / tla

File: [cvs.NetBSD.org] / pkgsrc / devel / tla / Makefile (download)

Revision 1.33, Tue Oct 9 19:19:09 2007 UTC (15 years, 3 months ago) by martti
Branch: MAIN
CVS Tags: pkgsrc-2008Q1-base, pkgsrc-2008Q1, pkgsrc-2007Q4-base, pkgsrc-2007Q4, pkgsrc-2007Q3-base, pkgsrc-2007Q3
Changes since 1.32: +2 -2 lines

Remove trailing spaces.

# $NetBSD: Makefile,v 1.33 2007/10/09 19:19:09 martti Exp $
#

DISTNAME=	tla-1.3.5
CATEGORIES=	devel scm
MASTER_SITES=	${MASTER_SITE_GNU:=gnu-arch/}

MAINTAINER=	recht@NetBSD.org
HOMEPAGE=	http://regexps.srparish.net/
COMMENT=	Revision control system ideal for widely distributed development

DEPENDS+=	patch-[0-9]*:../../devel/patch
DEPENDS+=	diffutils-[0-9]*:../../devel/diffutils
DEPENDS+=	gtar-base-[0-9]*:../../archivers/gtar-base

PKG_INSTALLATION_TYPES=	overwrite pkgviews

CHECK_PORTABILITY_SKIP+=	\
	src/tla/tests/changeset-tests/chmod_random \
	src/tla/tests/changeset-tests/run-spaces-test.sh \
	src/tla/tests/changeset-tests/run-test.sh


REPLACE_BASH+=	src/tla/tests/changeset-tests/chmod_random
USE_TOOLS+=	bash

USE_TOOLS+=	gmake

HAS_CONFIGURE=		yes
OVERRIDE_GNU_CONFIG_SCRIPTS=	yes
OVERRIDE_DIRDEPTH=	3
CONFIGURE_DIRS=		src/=build
CONFIGURE_SCRIPT=	../configure
CONFIGURE_ARGS+=	--prefix=${PREFIX}
CONFIGURE_ARGS+=	--with-gnu-diff=${PREFIX}/bin/${GNU_PROGRAM_PREFIX}diff
CONFIGURE_ARGS+=	--with-gnu-diff3=${PREFIX}/bin/${GNU_PROGRAM_PREFIX}diff3
CONFIGURE_ARGS+=	--with-gnu-patch=${PREFIX}/bin/${GNU_PROGRAM_PREFIX}patch
CONFIGURE_ARGS+=	--with-gnu-tar=${PREFIX}/bin/${GNU_PROGRAM_PREFIX}tar

DOCDIR=			${PREFIX}/share/doc/tla

post-extract:
	cd ${WRKSRC} && ${MKDIR} ${CONFIGURE_DIRS}

post-install:
	# Install arch documentation.
	${INSTALL_DATA_DIR} ${DOCDIR}
	cd ${WRKDIR}/${DISTNAME}/src/docs-tla &&		\
		${FIND} . \( -name \*.css -or -name \*.html	\
			-or -name \*.txt \) -print		\
		| ${PAX} -rwppm ${DOCDIR}
	${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCDIR}
	${FIND} ${DOCDIR} -type d -print | ${XARGS} ${CHMOD} ${PKGDIRMODE}
	${FIND} ${DOCDIR} -type f -print | ${XARGS} ${CHMOD} ${SHAREMODE}

.include "../../mk/bsd.pkg.mk"