freebsd-ports/devel/arch/Makefile
2004-02-04 05:21:48 +00:00

45 lines
1.1 KiB
Makefile

# New ports collection makefile for: arch
# Date created: 6 February 2002
# Whom: Johann Visagie <wjv@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= arch
PORTVERSION= 1.0.p25
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://regexps.srparish.net/src/${PORTNAME}/ \
http://arch.quackerhead.com/~lord/releases/${PORTNAME}/
DISTNAME= ${PORTNAME}${PORTVERSION:S/.p/pre/}
MAINTAINER= wjv@FreeBSD.org
COMMENT= A distributed source code management / revision control system
USE_GMAKE= yes
HAS_CONFIGURE= yes
CONFIGURE_WRKSRC= ${WRKSRC}/src/=build
CONFIGURE_SCRIPT= ../configure
CONFIGURE_ARGS= --prefix ${PREFIX}
BUILD_WRKSRC= ${CONFIGURE_WRKSRC}
INSTALL_WRKSRC= ${CONFIGURE_WRKSRC}
pre-configure:
@ ${MKDIR} ${CONFIGURE_WRKSRC}
post-build:
.if defined(WITH_TESTS)
@ cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} \
${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} test
.endif
post-install:
.if !defined(NOPORTDOCS)
.for format in html ps texi
@ ${MKDIR} ${DOCSDIR}/${format}
@ ${INSTALL_DATA} ${WRKSRC}/docs/${format}/*.${format} \
${DOCSDIR}/${format}
.endfor
.endif
.include <bsd.port.mk>