openbsd-ports/databases/gdbm/Makefile

26 lines
614 B
Makefile

# $OpenBSD: Makefile,v 1.7 1999/10/06 20:47:02 rohee Exp $
DISTNAME= gdbm-1.8.0
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= gdbm
NEED_VERSION= 1.73
MAINTAINER= hannah@mamba.pond.sub.org
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --enable-static
pre-configure:
${RM} ${WRKSRC}/gdbm.info*
post-install:
@if [ -d ${PREFIX}/info -a ! -f ${PREFIX}/info/dir -a -f /usr/share/info/dir ]; then \
${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
fi
@install-info ${PREFIX}/info/gdbm.info ${PREFIX}/info/dir
.include <bsd.port.mk>