# OpenBSD makefile for: indent # Version required: 1.9.1 # Date created: 1 Nov 1997 # Whom: ejovi # # $OpenBSD: Makefile,v 1.2 1998/03/15 03:44:32 marc Exp $ # DISTNAME= indent-1.9.1 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GNU} MAINTAINER= ports@OpenBSD.ORG do-install: @${INSTALL_PROGRAM} ${WRKSRC}/indent ${PREFIX}/bin/gindent @${INSTALL_MAN} ${WRKSRC}/indent.1 ${PREFIX}/man/man1/gindent.1 @if [ ! -f ${PREFIX}/info/dir ]; then \ if [ -f /usr/share/info/dir ]; then \ ${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \ else \ touch ${PREFIX}/info/dir ; \ fi ; \ fi @${INSTALL_DATA} ${WRKSRC}/indent.info ${PREFIX}/info @install-info ${PREFIX}/info/indent.info ${PREFIX}/info/dir .include