aboutsummaryrefslogtreecommitdiff
path: root/net/gmid/Makefile
blob: 912c0736d11a8fadfc3db93bdf150f1e4eb57d89 (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
26
27
28
29
30
31
32
33
PORTNAME=	gmid
DISTVERSION=	v1.6.1
CATEGORIES=	net

MAINTAINER=	freebsd@omarpolo.com
COMMENT=	Simple and secure Gemini server

LICENSE=	ISCL
LICENSE_FILE=	${WRKSRC}/LICENSE

LIB_DEPENDS=	libevent.so:devel/libevent \
		libtls.so:security/libressl

USES=		localbase pkgconfig ssl
USE_GITHUB=	yes
GH_ACCOUNT=	omar-polo
USE_RC_SUBR=	gmid

HAS_CONFIGURE=	yes

TEST_TARGET=	regress

USERS=		_gmid
GROUPS=		_gmid

post-build:
	${STRIP_CMD} ${WRKSRC}/gmid

post-install:
	${INSTALL_DATA} ${FILESDIR}/gmid.conf.sample \
		${STAGEDIR}${PREFIX}/etc/

.include <bsd.port.mk>