Input from, and OK, bket@. solene@ was OK with a slightly earlier version, pre-simplification. Thanks!
34 lines
808 B
Makefile
34 lines
808 B
Makefile
# $OpenBSD: Makefile,v 1.19 2020/02/06 18:06:10 edd Exp $
|
|
|
|
COMMENT= modern gopher server
|
|
|
|
GH_ACCOUNT= gophernicus
|
|
GH_PROJECT= gophernicus
|
|
GH_TAGNAME= v3.0.1
|
|
|
|
CATEGORIES= net
|
|
|
|
HOMEPAGE= gopher://gophernicus.org/
|
|
|
|
MAINTAINER = Brian Callahan <bcallah@openbsd.org>
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
WANTLIB += c
|
|
|
|
MAKE_FLAGS= CC="${CC}" CFLAGS="${CFLAGS}"
|
|
NO_TEST= Yes
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/gophernicus ${PREFIX}/libexec/in.gophernicus
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gophernicus
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gophernicus
|
|
cd ${WRKSRC} && ${INSTALL_DATA} LICENSE README INSTALL.md \
|
|
TODO README.Gophermap gophertag \
|
|
${PREFIX}/share/doc/gophernicus/
|
|
cd ${WRKSRC} && ${INSTALL_DATA} gophermap \
|
|
${PREFIX}/share/examples/gophernicus/
|
|
|
|
.include <bsd.port.mk>
|