2005-06-26 16:57:31 +02:00
|
|
|
# $NetBSD: Makefile,v 1.18 2005/06/26 14:57:31 recht Exp $
|
2003-12-03 00:22:50 +01:00
|
|
|
#
|
|
|
|
|
2005-06-26 16:57:31 +02:00
|
|
|
DISTNAME= tla-1.3.3
|
2003-12-03 00:22:50 +01:00
|
|
|
CATEGORIES= devel
|
2005-05-10 23:10:24 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=gnu-arch/} \
|
|
|
|
http://www.gnuarch.org/releases/ \
|
2005-03-22 00:49:48 +01:00
|
|
|
http://www.seyza.com/gnu-releases/
|
2003-12-03 00:22:50 +01:00
|
|
|
|
2004-01-28 12:22:24 +01:00
|
|
|
MAINTAINER= recht@NetBSD.org
|
|
|
|
HOMEPAGE= http://regexps.srparish.net/www/
|
2003-12-03 00:22:50 +01:00
|
|
|
COMMENT= Revision control system ideal for widely distributed development
|
|
|
|
|
|
|
|
DEPENDS+= patch-[0-9]*:../../devel/patch
|
2004-01-28 12:22:24 +01:00
|
|
|
DEPENDS+= diffutils-[0-9]*:../../devel/diffutils
|
|
|
|
DEPENDS+= gtar-base-[0-9]*:../../archivers/gtar-base
|
2003-12-03 00:22:50 +01:00
|
|
|
|
2004-05-18 13:58:04 +02:00
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
|
2004-01-20 13:07:06 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/src/=build
|
2005-05-22 22:07:36 +02:00
|
|
|
USE_TOOLS+= gmake
|
2003-12-03 00:22:50 +01:00
|
|
|
|
2004-04-19 01:52:02 +02:00
|
|
|
HAS_CONFIGURE= yes
|
2003-12-03 00:22:50 +01:00
|
|
|
CONFIGURE_SCRIPT= ../configure
|
2004-09-02 13:54:56 +02:00
|
|
|
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
|
2003-12-03 00:22:50 +01:00
|
|
|
|
2005-05-10 23:10:24 +02:00
|
|
|
DOCDIR= ${PREFIX}/share/doc/tla
|
2003-12-03 00:22:50 +01:00
|
|
|
|
|
|
|
post-extract:
|
|
|
|
${MKDIR} ${WRKSRC}
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
# Install arch documentation.
|
2005-05-10 23:10:24 +02:00
|
|
|
${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}
|
2003-12-03 00:22:50 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|