mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
cf118ccf87
Reported by: lwhsu
33 lines
698 B
Makefile
33 lines
698 B
Makefile
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>
|