mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
a33191366c
Please note that lots of invocation of MAKE_CMD here are wrong as they do not properly respect MAKE_ENV and friends With hat: portmgr
56 lines
1.4 KiB
Makefile
56 lines
1.4 KiB
Makefile
# Created by: Sean Chittenden <seanc@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= tla
|
|
PORTVERSION= 1.3.5
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= GNU/gnu-arch \
|
|
http://www.atai.org/gnuarch/releases/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= The original arch source control management CLI written in C
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
BUILD_DEPENDS= gpatch:${PORTSDIR}/devel/patch \
|
|
gdiff:${PORTSDIR}/textproc/diffutils \
|
|
gtar:${PORTSDIR}/archivers/gtar
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
|
|
|
USES= gmake
|
|
HAS_CONFIGURE= yes
|
|
MAKE_JOBS_UNSAFE= 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
|
|
|
|
pre-patch:
|
|
${MKDIR} ${WRKSRC}
|
|
|
|
test:
|
|
cd ${WRKSRC} ; ${MAKE_CMD} test
|
|
|
|
pre-install:
|
|
${RM} -rf ${ORIGWRKSRC}/docs-tla/PLUGIN \
|
|
${ORIGWRKSRC}/docs-tla/{arch} ${ORIGWRKSRC}/docs-tla/.arch-ids
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${ORIGWRKSRC}/=build/tla/tla/tla ${STAGEDIR}${PREFIX}/bin
|
|
${SED} 's,^#!.*$$,#!${AWK} -f,' ${ORIGWRKSRC}/tla/=gpg-check.awk \
|
|
> ${WRKDIR}/tla-gpg-check
|
|
${INSTALL_SCRIPT} ${WRKDIR}/tla-gpg-check ${STAGEDIR}${PREFIX}/bin
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
cd ${ORIGWRKSRC}/docs-tla && ${FIND} . -name '*.html' | \
|
|
${CPIO} -pdm -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|