blob: 801f8350259b3f4d9cef1855ba258e393a98d3aa (
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
|
# $NetBSD: Makefile,v 1.21 2020/12/04 20:45:28 nia Exp $
#
DISTNAME= pymsgauth-2.1.0
PKGREVISION= 14
CATEGORIES= mail
MASTER_SITES= ${HOMEPAGE}
MAINTAINER= schmonz@NetBSD.org
HOMEPAGE= http://pyropus.ca/software/pymsgauth/
COMMENT= Automatically process qsecretary confirmation requests
LICENSE= gnu-gpl-v2
FILTER3_PATCH+= pymsgauth-2.1.0-filter3-20180806.patch
PATCHFILES+= ${FILTER3_PATCH}
SITES.${FILTER3_PATCH}= https://schmonz.com/qmail/pymsgauthfilter/
PYMSGAUTH_PROGRAMS= pymsgauth-*
DOCS= BUGS CHANGELOG COPYING pymsgauth.html pymsgauth.txt
EXAMPLES= pymsgauthrc-example
SHAREDIR= share/pymsgauth
DOCDIR= share/doc/pymsgauth
EGDIR= share/examples/pymsgauth
NO_BUILD= yes
REPLACE_PYTHON= ${PYMSGAUTH_PROGRAMS} *.py
FILES_SUBST+= SHAREDIR=${SHAREDIR:Q}
INSTALLATION_DIRS= ${SHAREDIR} ${DOCDIR} ${EGDIR} bin
pre-install:
cd ${WRKSRC} && ${RM} -f *.orig *.orig_dist
do-install:
for f in ${REPLACE_PYTHON}; do \
${INSTALL_SCRIPT} ${WRKSRC}/$${f} ${DESTDIR}${PREFIX}/${SHAREDIR}; \
done
for f in ${DOCS}; do \
${INSTALL_DATA} ${WRKSRC}/$${f} ${DESTDIR}${PREFIX}/${DOCDIR}; \
done
for f in ${EXAMPLES}; do \
${INSTALL_DATA} ${WRKSRC}/$${f} ${DESTDIR}${PREFIX}/${EGDIR}; \
done
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"
|