blob: 60d0ce4957276cae4e5c3e53d3f05d703662e1e9 (
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
49
50
51
52
53
54
55
56
|
# $NetBSD: Makefile,v 1.5 2005/03/03 22:43:49 agc Exp $
#
DISTNAME= gpg2dot-1.4
CATEGORIES= security
MASTER_SITES= # empty
DISTFILES= # empty
MAINTAINER= lukem@NetBSD.org
HOMEPAGE= ftp://ftp.NetBSD.org/pub/NetBSD/packages/pkgsrc/Packages.txt
COMMENT= Converts your GnuPG keyring to a graph of associations
USE_LANGUAGES= # empty
USE_PERL5= YES
EXTRACT_ONLY= # empty
NO_CHECKSUM= yes
NO_CONFIGURE= yes
DISTVER= ${DISTNAME:S/gpg2dot-//}
WRKSRC= ${WRKDIR}
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
# This doesn't create readable manual pages. "mandoc" should be added
# to zoularis.
NROFF= nroff -man
.else
NROFF= nroff -mandoc
.endif
do-extract:
${CP} ${FILESDIR}/gpg2dot.pl ${WRKSRC}/gpg2dot.pl
# ${CP} ${FILESDIR}/gpg2dot.1 ${WRKSRC}/gpg2dot.1.in
do-build:
.for FILE in gpg2dot
${SED} -e 's|@PREFIX@|${PREFIX}|g' \
-e 's|@DISTVER@|${DISTVER}|g' \
< ${WRKSRC}/${FILE}.pl \
> ${WRKSRC}/${FILE}
.endfor
#.for FILE in gpg2dot
# ${SED} -e '' \
# < ${WRKSRC}/${FILE}.1.in \
# > ${WRKSRC}/${FILE}.1
# ${NROFF} ${WRKSRC}/${FILE}.1 >${WRKSRC}/${FILE}.0
#.endfor
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/gpg2dot ${PREFIX}/bin/gpg2dot
# ${INSTALL_MAN} ${WRKSRC}/gpg2dot.0 ${PREFIX}/man/cat1
# ${INSTALL_MAN} ${WRKSRC}/gpg2dot.1 ${PREFIX}/man/man1
.include "../../mk/bsd.pkg.mk"
|