diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2005-07-16 12:48:46 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2005-07-16 12:48:46 +0000 |
commit | 13defa1742c35d3d2b09ea8cd84ce5ec5b4d075e (patch) | |
tree | 6b4b894b98c8a2140e9cb5d59e9a9c2697e5b77c /devel/tla/Makefile | |
parent | b0a0cd7ebb3d8572ac1a5205d7e04506dd443b25 (diff) | |
download | ports-13defa1742c35d3d2b09ea8cd84ce5ec5b4d075e.tar.gz ports-13defa1742c35d3d2b09ea8cd84ce5ec5b4d075e.zip |
Notes
Diffstat (limited to 'devel/tla/Makefile')
-rw-r--r-- | devel/tla/Makefile | 35 |
1 files changed, 23 insertions, 12 deletions
diff --git a/devel/tla/Makefile b/devel/tla/Makefile index b6d10a8f3432..d8fc5e5c8565 100644 --- a/devel/tla/Makefile +++ b/devel/tla/Makefile @@ -6,7 +6,7 @@ # PORTNAME= tla -PORTVERSION= 1.2.1 +PORTVERSION= 1.3.3 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GNU} \ http://regexps.srparish.net/src/${PORTNAME}/ \ @@ -17,15 +17,18 @@ 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 + gdiff:${PORTSDIR}/textproc/diffutils \ + gtar:${PORTSDIR}/archivers/gtar RUN_DEPENDS= ${BUILD_DEPENDS} GNU_CONFIGURE= yes USE_GMAKE= yes ORIGWRKSRC= ${WRKDIR}/${DISTNAME}/src -PATCH_WRKSRC= ${ORIGWRKSRC} +PATCH_WRKSRC= ${ORIGWRKSRC}/.. WRKSRC= ${ORIGWRKSRC}/=build +PLIST= ${WRKDIR}/plist +PLIST_FILES= bin/tla bin/tla-gpg-check bin/awiki pre-patch: ${MKDIR} ${WRKSRC} @@ -34,23 +37,31 @@ do-configure: cd ${WRKSRC} ; ../configure --prefix ${LOCALBASE} \ --with-gnu-patch gpatch \ --with-gnu-diff gdiff \ - --with-gnu-diff3 gdiff3 + --with-gnu-diff3 gdiff3 \ + --with-gnu-tar gtar test: cd ${WRKSRC} ; ${GMAKE} test -post-install: +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} + ${ECHO} @dirrm %%DOCSDIR%% >> ${PLIST} +.endif + +do-install: + ${INSTALL_PROGRAM} ${ORIGWRKSRC}/=build/tla/tla/tla ${PREFIX}/bin + ${INSTALL_PROGRAM} ${ORIGWRKSRC}/=build/awiki/awiki/awiki ${PREFIX}/bin ${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} + ${MKDIR} ${DOCSDIR} + cd ${ORIGWRKSRC}/docs-tla && ${FIND} . -name '*.html' | ${CPIO} -pdm -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} + ${CHMOD} -R a=rX ${DOCSDIR} .endif .include <bsd.port.mk> |