summaryrefslogtreecommitdiff
path: root/devel/arch/Makefile
blob: 0fd1f1b16f5a0ebfc242201f1e6ccb61154e4d85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# $NetBSD: Makefile,v 1.10 2003/07/17 21:29:28 grant Exp $
#

DISTNAME=	arch1.0pre25
PKGNAME=	arch-1.0.0.25
WRKSRC=		${WRKDIR}/${DISTNAME}/src/=build
CATEGORIES=	devel
MASTER_SITES=	http://regexps.srparish.net/src/arch/

MAINTAINER=	schmonz@NetBSD.org
HOMEPAGE=	http://arch.fifthvision.net/bin/view/Arch/WebHome
COMMENT=	revision control system ideal for widely distributed development

USE_GMAKE=	# defined

HAS_CONFIGURE=		# defined
CONFIGURE_SCRIPT=	../configure
CONFIGURE_ARGS+=	--prefix ${PREFIX}

HTMLDIR=	${PREFIX}/share/doc/html/arch
EXAMPLESDIR=	${PREFIX}/share/examples/arch
LOCALDIR=	${PREFIX}/libexec/arch/local

post-extract:
	${MKDIR} ${WRKSRC}

post-install:
	# Install arch documentation.
	${INSTALL_DATA_DIR} ${HTMLDIR}
	${CP} -R ${WRKDIR}/${DISTNAME}/docs/html/* ${HTMLDIR}
	${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${HTMLDIR}
	${CHMOD} -R ugo-w ${HTMLDIR}

.include "../../mk/bsd.pkg.mk"