mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
9c333d9a51
Fixes a crash. ChangeLog: https://git.omarpolo.com/gmid/tag/?h=1.7.5 PR: 259186 Reported by: freebsd@omarpolo.com MFH: 2021Q4 (bugfix release)
35 lines
632 B
Makefile
35 lines
632 B
Makefile
PORTNAME= gmid
|
|
DISTVERSION= 1.7.5
|
|
CATEGORIES= net
|
|
MASTER_SITES= https://github.com/omar-polo/gmid/releases/download/${DISTVERSION}/
|
|
|
|
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_RC_SUBR= gmid
|
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
TEST_TARGET= regress
|
|
|
|
LDFLAGS+= -lcrypto -lssl
|
|
|
|
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>
|