1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/devel/tla/Makefile
Sean Chittenden 12c7a2a2aa Update tla (C arch client) to use GNU's patch (gpatch).
Submitted by:	Curtis.Dunham@alltel.com
Obtained from:	arch-users mailing list
2003-08-26 21:38:09 +00:00

46 lines
1.0 KiB
Makefile

# Ports collection makefile for: tla
# Date Created: August 17th, 2003
# Whom: seanc
#
# $FreeBSD$
#
PORTNAME= tla
PORTVERSION= 1.1.pre5
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://regexps.srparish.net/src/tla/
DISTNAME= tla-1.1pre5
MAINTAINER= seanc@FreeBSD.org
COMMENT= The original arch source control management CLI written in C
RUN_DEPENDS= gpatch:${PORTSDIR}/devel/patch
GNU_CONFIGURE= yes
USE_GMAKE= yes
ORIGWRKSRC= ${WRKDIR}/${DISTNAME}/src
WRKSRC= ${ORIGWRKSRC}/=build
pre-configure:
${MKDIR} ${WRKSRC}
do-configure:
cd ${WRKSRC} ; ../configure --prefix ${LOCALBASE} --with-gnu-patch gpatch
test:
cd ${WRKSRC} ; ${GMAKE} test
.if !defined(NOPORTDOCS)
post-install:
${MKDIR} ${DOCSDIR}; \
for f in `find ${ORIGWRKSRC}/docs-tla/html -type f -name '*.html' -exec ${BASENAME} {} \;`; do \
${INSTALL_DATA} ${ORIGWRKSRC}/docs-tla/html/$$f ${DOCSDIR}/; \
printf "share/doc/${PORTNAME}/%s\n" $$f >> ${TMPPLIST}; \
done; \
${ECHO} @dirrm share/doc/${PORTNAME} >> ${TMPPLIST}
.endif
.include <bsd.port.mk>