aboutsummaryrefslogtreecommitdiff
path: root/net/motsognir/Makefile
blob: a49fbac0b3a9d43aafb888115c06942cd19b6410 (plain) (blame)
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
PORTNAME=	motsognir
PORTVERSION=	1.0.13
CATEGORIES=	net
MASTER_SITES=	SF/${PORTNAME}/v${PORTVERSION}

MAINTAINER=	kaltheat@gmail.com
COMMENT=	Full-featured gopher server without dependencies

LICENSE=	MIT

USES=		tar:xz
USE_RC_SUBR=	motsognir

SUB_FILES=	pkg-message

PLIST_FILES=	bin/motsognir \
		"@sample etc/motsognir.conf.sample" \
		man/man8/motsognir.8.gz

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/motsognir ${STAGEDIR}${PREFIX}/bin/motsognir
	${INSTALL_DATA} ${WRKSRC}/motsognir.conf ${STAGEDIR}${PREFIX}/etc/motsognir.conf.sample
	${INSTALL_MAN} ${WRKSRC}/motsognir.8.gz ${STAGEDIR}${MANPREFIX}/man/man8/motsognir.8.gz

.include <bsd.port.mk>