blob: 6be6c8717423dfd436844a12958fe2255460da99 (
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
44
45
46
47
|
# $NetBSD: Makefile,v 1.10 2005/05/24 20:28:39 rillig Exp $
#
DISTNAME= shlock-20020114
CATEGORIES= pkgtools sysutils
MASTER_SITES= # empty
DISTFILES= # empty
MAINTAINER= tech-pkg@NetBSD.org
#HOMEPAGE=
COMMENT= Shell utility to perform dot-locking
WRKSRC= ${WRKDIR}
EXTRACT_ONLY= #empty
NO_CHECKSUM= #defined
MANCOMPRESSED_IF_MANZ= yes
PLIST_SRC= ${WRKDIR}/PLIST
BUILD_DEFS+= MANINSTALL
MAKE_ENV+= BINDIR=${LOCALBASE}/bin MANDIR=${LOCALBASE}/man
MAKE_ENV+= BINOWN=${BINOWN} BINGRP=${BINGRP}
MAKE_ENV+= MANOWN=${BINOWN} MANGRP=${BINGRP}
.include "../../mk/bsd.prefs.mk"
PKGSRC_LOCKTYPE= none # avoid "bootstrapping problem"
.if ${OPSYS} == "SunOS"
MANINSTALL=
.endif
post-extract:
@for FILE in Makefile shlock.c shlock.1; do \
${CP} ${FILESDIR}/$$FILE ${WRKSRC}; \
done
pre-install:
@${RM} -f ${PLIST_SRC}
@${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
@if [ -n "${MANINSTALL:Mcatinstall}" ]; then \
${ECHO} man/cat1/shlock.0 >> ${PLIST_SRC}; \
fi
@if [ -n "${MANINSTALL:Mmaninstall}" ]; then \
${ECHO} man/man1/shlock.1 >> ${PLIST_SRC}; \
fi
.include "../../mk/bsd.pkg.mk"
|