blob: 8614724d62df2b3336f004e33aee89c4671f90ab (
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.18 2006/12/19 13:28:20 rillig Exp $
#
DISTNAME= shlock-20020114
CATEGORIES= pkgtools sysutils
MASTER_SITES= # empty
DISTFILES= # empty
MAINTAINER= pkgsrc-users@NetBSD.org
#HOMEPAGE=
COMMENT= Shell utility to perform dot-locking
WRKSRC= ${WRKDIR}
EXTRACT_ONLY= #empty
NO_CHECKSUM= yes
MANCOMPRESSED_IF_MANZ= yes
PLIST_SRC= ${WRKDIR}/PLIST
BUILD_DEFS+= MANINSTALL
MAKE_ENV+= ${BSD_MAKE_ENV}
.include "../../mk/bsd.prefs.mk"
PKGSRC_LOCKTYPE= none # avoid "bootstrapping problem"
.if !empty(OPSYS:MSunOS) || !empty(OPSYS:MDarwin) || \
!empty(OPSYS:MDragonFly) || !empty(OPSYS:MFreeBSD) || \
!empty(OPSYS:MLinux)
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"
|