2005-01-15 09:44:10 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.4 2005/01/15 14:44:10 espie Exp $
|
2004-06-10 03:50:43 -04:00
|
|
|
|
|
|
|
COMMENT= "original Arch source control management CLI written in C"
|
|
|
|
|
|
|
|
DISTNAME= tla-1.2
|
2005-01-15 09:44:10 -05:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
2004-06-10 03:50:43 -04:00
|
|
|
CATEGORIES= devel
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.gnuarch.org/
|
|
|
|
|
|
|
|
MAINTAINER= Laurent Cheylus <foxy@free.fr>
|
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-11-23 19:11:03 -05:00
|
|
|
WANTLIB= c m
|
2004-06-10 03:50:43 -04:00
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=gnu-arch/} \
|
|
|
|
http://regexps.srparish.net/src/tla/
|
|
|
|
|
2005-01-15 09:42:42 -05:00
|
|
|
RUN_DEPENDS= :gdiff-*:textproc/gdiff \
|
|
|
|
:gtar-*:archivers/gtar
|
2004-06-10 03:50:43 -04:00
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
|
|
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
|
|
|
|
WRKDIST= ${WRKDIR}/${DISTNAME}/src
|
|
|
|
WRKBUILD= ${WRKSRC}/=build
|
|
|
|
|
|
|
|
REGRESS_TARGET= test
|
|
|
|
|
|
|
|
DOCDIR= ${PREFIX}/share/doc/tla
|
|
|
|
|
|
|
|
do-configure:
|
|
|
|
cd ${WRKBUILD}; \
|
|
|
|
../configure --prefix=${PREFIX} --destdir=${DESTDIR} \
|
|
|
|
--with-gnu-diff ${LOCALBASE}/bin/gdiff \
|
|
|
|
--with-gnu-diff3 ${LOCALBASE}/bin/gdiff3 \
|
|
|
|
--with-gnu-tar ${LOCALBASE}/bin/gtar \
|
|
|
|
--with-cc ${CC}
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${DOCDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs-tla/html/*.html ${DOCDIR}
|
|
|
|
${STRIP} ${PREFIX}/bin/tla
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|