- Correctly assign RUN_DEPENDS so gmake(1) does not appear in rdeps

- Use HAS_CONFIGURE instead of GNU_CONFIGURE since provided script does
  not look like autotools generated
- Drop custom do-configure target, provide correct CONFIGURE_SCRIPT and
  CONFIGURE_ARGS values instead
- Do not say LOCALBASE when PREFIX is meant
- Canonicalize Makefile header, wrap excessively long lines
- Reformat port description
This commit is contained in:
Alexey Dokuchaev 2008-11-09 20:48:19 +00:00
parent e45c84fb94
commit f497386f85
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=222635
2 changed files with 26 additions and 24 deletions

View File

@ -1,6 +1,6 @@
# Ports collection makefile for: tla
# Date Created: August 17th, 2003
# Whom: seanc
# New ports collection makefile for: tla
# Date created: August 17th, 2003
# Whom: Sean Chittenden <seanc@FreeBSD.org>
#
# $FreeBSD$
#
@ -20,11 +20,18 @@ COMMENT= The original arch source control management CLI written in C
BUILD_DEPENDS= gpatch:${PORTSDIR}/devel/patch \
gdiff:${PORTSDIR}/textproc/diffutils \
gtar:${PORTSDIR}/archivers/gtar
RUN_DEPENDS= ${BUILD_DEPENDS}
RUN_DEPENDS:= ${BUILD_DEPENDS}
GNU_CONFIGURE= yes
HAS_CONFIGURE= yes
USE_GMAKE= yes
CONFIGURE_SCRIPT= ../configure
CONFIGURE_ARGS= --prefix=${PREFIX} \
--with-gnu-patch gpatch \
--with-gnu-diff gdiff \
--with-gnu-diff3 gdiff3 \
--with-gnu-tar gtar
ORIGWRKSRC= ${WRKDIR}/${DISTNAME}/src
PATCH_WRKSRC= ${ORIGWRKSRC}/..
WRKSRC= ${ORIGWRKSRC}/=build
@ -34,22 +41,17 @@ PLIST_FILES= bin/tla bin/tla-gpg-check
pre-patch:
${MKDIR} ${WRKSRC}
do-configure:
cd ${WRKSRC} ; ../configure --prefix ${LOCALBASE} \
--with-gnu-patch gpatch \
--with-gnu-diff gdiff \
--with-gnu-diff3 gdiff3 \
--with-gnu-tar gtar
test:
cd ${WRKSRC} ; ${GMAKE} test
pre-install:
.if !defined(NOPORTDOCS)
${RM} -rf ${ORIGWRKSRC}/docs-tla/PLUGIN ${ORIGWRKSRC}/docs-tla/{arch} \
${ORIGWRKSRC}/docs-tla/.arch-ids
cd ${ORIGWRKSRC}/docs-tla && ${FIND} . -type f -name '*.html' -exec ${ECHO_CMD} "%%DOCSDIR%%/{}" \; > ${PLIST}
cd ${ORIGWRKSRC}/docs-tla && ${FIND} -d . -mindepth 1 -maxdepth 1 -type d -exec ${ECHO_CMD} "@dirrm %%DOCSDIR%%/{}" \; >> ${PLIST}
${RM} -rf ${ORIGWRKSRC}/docs-tla/PLUGIN \
${ORIGWRKSRC}/docs-tla/{arch} ${ORIGWRKSRC}/docs-tla/.arch-ids
cd ${ORIGWRKSRC}/docs-tla && ${FIND} . -type f -name '*.html' \
-exec ${ECHO_CMD} "%%DOCSDIR%%/{}" \; > ${PLIST}
cd ${ORIGWRKSRC}/docs-tla && ${FIND} -d . -mindepth 1 -maxdepth 1 \
-type d -exec ${ECHO_CMD} "@dirrm %%DOCSDIR%%/{}" \; >> ${PLIST}
${ECHO} @dirrm %%DOCSDIR%% >> ${PLIST}
.endif
@ -60,7 +62,8 @@ do-install:
${INSTALL_SCRIPT} ${WRKDIR}/tla-gpg-check ${PREFIX}/bin
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
cd ${ORIGWRKSRC}/docs-tla && ${FIND} . -name '*.html' | ${CPIO} -pdm -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
cd ${ORIGWRKSRC}/docs-tla && ${FIND} . -name '*.html' | \
${CPIO} -pdm -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
${CHMOD} -R a=rX ${DOCSDIR}
.endif

View File

@ -1,9 +1,8 @@
Arch is a really nifty revision control system. It's "whole-tree
changeset based" which means, roughly, that it can handle (with atomic
commits) file and directory adds, deletes, and renames cleanly, and
that it does branching simply and easily. Arch is also "distributed"
which means, for example that you can make arch branches of your own
from remote projects, even if you don't have write access to the
revision control archives for those projects.
Arch is a really nifty revision control system. It's "whole-tree changeset
based" which means, roughly, that it can handle (with atomic commits) file
and directory adds, deletes, and renames cleanly, and that it does branching
simply and easily. Arch is also "distributed" which means, for example that
you can make arch branches of your own from remote projects, even if you do
not have write access to the revision control archives for those projects.
WWW: http://gnuarch.org/