blob: 778816c10e3f3031692c0a0b1d961c66277bb5ec (
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
|
PORTNAME= gophernicus
DISTVERSION= 3.0.1
CATEGORIES= www
MAINTAINER= ports@FreeBSD.org
COMMENT= Modern full-featured and secure Gopher daemon
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_GITHUB= yes
MAKE_ARGS= CC="${CC}" \
CFLAGS="${CFLAGS}" \
INSTALL=${INSTALL} \
SBINDIR=${STAGEDIR}${PREFIX}/sbin
INSTALL_TARGET= install-files
# XXX: Drop after updating to 3.1
CFLAGS+= -fcommon
SUB_FILES= pkg-message
PLIST_FILES= sbin/gophernicus
PORTDOCS= README.Gophermap README.md changelog gophermap gophertag
OPTIONS_DEFINE= DOCS
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && \
${INSTALL_MAN} ${PORTDOCS} \
${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|