summaryrefslogtreecommitdiff
path: root/devel/tla/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/tla/Makefile')
-rw-r--r--devel/tla/Makefile27
1 files changed, 10 insertions, 17 deletions
diff --git a/devel/tla/Makefile b/devel/tla/Makefile
index b744f74e98e..5c4349d57c3 100644
--- a/devel/tla/Makefile
+++ b/devel/tla/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2006/02/05 23:08:54 joerg Exp $
+# $NetBSD: Makefile,v 1.24 2006/06/17 21:36:01 rillig Exp $
#
DISTNAME= tla-1.3.3
@@ -18,29 +18,22 @@ DEPENDS+= gtar-base-[0-9]*:../../archivers/gtar-base
PKG_INSTALLATION_TYPES= overwrite pkgviews
-WRKSRC= ${WRKDIR}/${DISTNAME}/src/=build
USE_TOOLS+= gmake
HAS_CONFIGURE= yes
+OVERRIDE_GNU_CONFIG_SCRIPTS= yes
+CONFIGURE_DIRS= src/=build
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
+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
+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/
+ cd ${WRKSRC} && ${MKDIR} ${CONFIGURE_DIRS}
post-install:
# Install arch documentation.