blob: 2e72e147a8721c6f4290037e81e18b8956c55317 (
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
35
36
37
38
39
40
41
42
43
|
# $NetBSD: Makefile,v 1.8 2003/03/29 12:40:30 jmmv Exp $
#
DISTNAME= arch-1.0pre16
PKGNAME= arch-1.0.0.16
WRKSRC= ${WRKDIR}/${DISTNAME}/src/=build
CATEGORIES= devel
MASTER_SITES= ftp://regexps.com/pub/src/arch/ \
ftp://regexps.com/pub/src/arch/old/
MAINTAINER= schmonz@netbsd.org
HOMEPAGE= http://www.regexps.com/
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}
# Install arch examples.
${INSTALL_DATA_DIR} ${EXAMPLESDIR}
${CP} -R ${WRKDIR}/${DISTNAME}/docs/examples/* ${EXAMPLESDIR}
${RM} -rf ${EXAMPLESDIR}/browser/.arch-ids
${RM} -rf ${EXAMPLESDIR}/notifier/.arch-ids
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR}
${CHMOD} -R ugo-w ${EXAMPLESDIR}
.include "../../mk/bsd.pkg.mk"
|