2018-09-04 12:46:09 +00:00

32 lines
839 B
Makefile

# $OpenBSD: Makefile,v 1.17 2018/09/04 12:46:17 espie Exp $
COMMENT= modern gopher server
DISTNAME= gophernicus-2.5
CATEGORIES= net
REVISION= 0
HOMEPAGE= gopher://gophernicus.org/
MAINTAINER = Brian Callahan <bcallah@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM= Yes
WANTLIB += c
MASTER_SITES= http://gophernicus.org/software/gophernicus/
MAKE_FLAGS= CC="${CC}" CFLAGS="${CFLAGS}"
NO_TEST= Yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/in.gophernicus ${PREFIX}/libexec
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gophernicus
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gophernicus
cd ${WRKSRC} && ${INSTALL_DATA} LICENSE README INSTALL \
TODO ChangeLog README.Gophermap gophertag \
${PREFIX}/share/doc/gophernicus/
cd ${WRKSRC} && ${INSTALL_DATA} gophermap \
${PREFIX}/share/examples/gophernicus/
.include <bsd.port.mk>