a9a7d23214
"go[pher] ahead" kn
40 lines
980 B
Makefile
40 lines
980 B
Makefile
# $OpenBSD: Makefile,v 1.8 2018/12/25 20:59:58 jung Exp $
|
|
|
|
COMMENT = Gopher protocol daemon
|
|
|
|
DISTNAME = geomyidae-v0.34
|
|
PKGNAME = ${DISTNAME:S/-v/-/}
|
|
EXTRACT_SUFX = .tgz
|
|
|
|
CATEGORIES = net
|
|
|
|
HOMEPAGE = http://git.r-36.net/scm/geomyidae
|
|
|
|
MAINTAINER = Joerg Jung <jung@openbsd.org>
|
|
|
|
# MIT/X
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
# uses pledge()
|
|
WANTLIB = c
|
|
|
|
MASTER_SITES = ftp://bitreich.org/releases/geomyidae/
|
|
|
|
MAKE_FLAGS = CC="${CC}" CFLAGS="${CFLAGS} -Wall"
|
|
MAKE_ENV = LDFLAGS="${LDFLAGS}"
|
|
|
|
NO_TEST = Yes
|
|
|
|
post-install:
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/geomyidae ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKBUILD}/geomyidae.8 ${PREFIX}/man/man8
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/geomyidae
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/geomyidae
|
|
cd ${WRKSRC} && ${INSTALL_DATA} CGI README \
|
|
${PREFIX}/share/doc/geomyidae
|
|
cd ${WRKSRC} && ${INSTALL_DATA} index.gph \
|
|
${PREFIX}/share/examples/geomyidae
|
|
touch ${PREFIX}/share/examples/geomyidae/log
|
|
|
|
.include <bsd.port.mk>
|