freebsd-ports/devel/tla/Makefile
Sean Chittenden 7084e5686f Update to 1.2.1. Port now builds libneon with ssl support[1].
PR:		ports/68775 [1]
Submitted by:	Radim Kolar <hsn@netmag.cz>
2004-08-31 20:57:13 +00:00

56 lines
1.4 KiB
Makefile

# Ports collection makefile for: tla
# Date Created: August 17th, 2003
# Whom: seanc
#
# $FreeBSD$
#
PORTNAME= tla
PORTVERSION= 1.2.1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU} \
http://regexps.srparish.net/src/${PORTNAME}/ \
http://arch.quackerhead.com/~lord/releases/${PORTNAME}/
MASTER_SITE_SUBDIR= gnu-arch
MAINTAINER= seanc@FreeBSD.org
COMMENT= The original arch source control management CLI written in C
BUILD_DEPENDS= gpatch:${PORTSDIR}/devel/patch \
gdiff:${PORTSDIR}/textproc/diffutils
RUN_DEPENDS= ${BUILD_DEPENDS}
GNU_CONFIGURE= yes
USE_GMAKE= yes
ORIGWRKSRC= ${WRKDIR}/${DISTNAME}/src
PATCH_WRKSRC= ${ORIGWRKSRC}
WRKSRC= ${ORIGWRKSRC}/=build
pre-patch:
${MKDIR} ${WRKSRC}
do-configure:
cd ${WRKSRC} ; ../configure --prefix ${LOCALBASE} \
--with-gnu-patch gpatch \
--with-gnu-diff gdiff \
--with-gnu-diff3 gdiff3
test:
cd ${WRKSRC} ; ${GMAKE} test
post-install:
${SED} 's,^#!.*$$,#!${AWK} -f,' ${ORIGWRKSRC}/tla/=gpg-check.awk \
> ${WRKDIR}/tla-gpg-check
${INSTALL_SCRIPT} ${WRKDIR}/tla-gpg-check ${PREFIX}/bin
.if !defined(NOPORTDOCS)
${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>