blob: c1b4ae56bfb8514741c001b3abb6024bd8a50195 (
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
|
# $NetBSD: Makefile,v 1.5 2022/06/30 11:18:06 nia Exp $
DISTNAME= miniircd-2.0
PKGREVISION= 3
CATEGORIES= chat python
MASTER_SITES= ${MASTER_SITE_GITHUB:=jrosdahl/}
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= leot@NetBSD.org
HOMEPAGE= https://github.com/jrosdahl/miniircd/
COMMENT= Simple Internet Relay Chat (IRC) server written in Python
LICENSE= gnu-gpl-v2
NO_BUILD= yes
BUILD_DEFS+= MINIIRCD_USER MINIIRCD_GROUP
FILES_SUBST+= PYTHONBIN=${PYTHONBIN}
FILES_SUBST+= MINIIRCD_USER=${MINIIRCD_USER} MINIIRCD_GROUP=${MINIIRCD_GROUP}
.include "../../mk/bsd.prefs.mk"
MINIIRCD_USER?= miniircd
MINIIRCD_GROUP?= nobody
PKG_GROUPS= ${MINIIRCD_GROUP}
PKG_USERS= ${MINIIRCD_USER}:${MINIIRCD_GROUP}
RCD_SCRIPTS= miniircd
REPLACE_PYTHON+= miniircd
REPLACE_PYTHON+= test.py
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27 # since 2.0
INSTALLATION_DIRS= sbin share/doc/miniircd
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/miniircd ${DESTDIR}${PREFIX}/sbin/miniircd
${INSTALL_DATA} ${WRKSRC}/README.md ${DESTDIR}${PREFIX}/share/doc/miniircd/README
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"
|