be7ae906e7
miniircd is a small and limited IRC server written in Python. Despite its size, it is a functional alternative to a full-blown ircd for private or internal use. Installation is simple; no configuration is required.
41 lines
1 KiB
Makefile
41 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.1 2019/08/02 10:20:53 leot Exp $
|
|
|
|
DISTNAME= miniircd-1.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
|
|
|
|
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"
|