47 lines
986 B
Makefile
47 lines
986 B
Makefile
# $OpenBSD: Makefile,v 1.7 2013/03/11 10:50:31 espie Exp $
|
|
|
|
COMMENT= original Arch source control management CLI written in C
|
|
|
|
DISTNAME= tla-1.2
|
|
REVISION = 0
|
|
CATEGORIES= devel
|
|
|
|
HOMEPAGE= http://www.gnuarch.org/
|
|
|
|
MAINTAINER= Laurent Cheylus <foxy@free.fr>
|
|
|
|
# GPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
WANTLIB= c m
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=gnu-arch/} \
|
|
http://regexps.srparish.net/src/tla/
|
|
|
|
RUN_DEPENDS= textproc/gdiff \
|
|
archivers/gtar
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
WRKDIST= ${WRKDIR}/${DISTNAME}/src
|
|
WRKBUILD= ${WRKSRC}/=build
|
|
|
|
TEST_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>
|