blob: b744f74e98ef89d19ceb3adf57b06bd2a336b0f1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# $NetBSD: Makefile,v 1.23 2006/02/05 23:08:54 joerg Exp $
#
DISTNAME= tla-1.3.3
PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=gnu-arch/} \
http://www.gnuarch.org/releases/ \
http://www.seyza.com/gnu-releases/
MAINTAINER= recht@NetBSD.org
HOMEPAGE= http://regexps.srparish.net/www/
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
WRKSRC= ${WRKDIR}/${DISTNAME}/src/=build
USE_TOOLS+= gmake
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= ../configure
CONFIGURE_ARGS+= --prefix=${PREFIX:Q}
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:
${MKDIR} ${WRKSRC}
pre-configure:
@${CP} ${PKGSRCDIR}/mk/gnu-config/config.guess ${WRKSRC}/../build-tools/gnu/
@${CP} ${PKGSRCDIR}/mk/gnu-config/config.sub ${WRKSRC}/../build-tools/gnu/
@${CP} ${PKGSRCDIR}/mk/gnu-config/config.guess ${WRKSRC}/../expat/conftools/
@${CP} ${PKGSRCDIR}/mk/gnu-config/config.sub ${WRKSRC}/../expat/conftools/
@${CP} ${PKGSRCDIR}/mk/gnu-config/config.guess ${WRKSRC}/../libneon/
@${CP} ${PKGSRCDIR}/mk/gnu-config/config.sub ${WRKSRC}/../libneon/
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"
|