blob: cc2d6762ea8ac9d3c4b56433d8685df5beb1562a (
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
48
|
# $NetBSD: Makefile,v 1.19 2008/05/29 16:33:10 tnn 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
PKG_DESTDIR_SUPPORT= user-destdir
EXTRACT_ONLY= #empty
NO_CHECKSUM= yes
MANCOMPRESSED_IF_MANZ= yes
PLIST_SRC= ${WRKDIR}/PLIST
BUILD_DEFS+= MANINSTALL
MAKE_ENV+= ${BSD_MAKE_ENV}
INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/cat1
.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:
${CP} -R ${FILESDIR} ${WRKSRC}
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"
|