1999-04-01 01:20:02 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.5 1999/04/01 06:20:07 brad Exp $
|
1997-12-01 19:18:41 -05:00
|
|
|
|
1998-03-14 22:44:32 -05:00
|
|
|
DISTNAME= indent-1.9.1
|
|
|
|
CATEGORIES= devel
|
1997-12-01 19:18:41 -05:00
|
|
|
|
1998-03-14 22:44:32 -05:00
|
|
|
MAINTAINER= ports@OpenBSD.ORG
|
|
|
|
|
1998-10-08 14:21:00 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
1999-03-06 19:14:40 -05:00
|
|
|
MASTER_SITE_SUBDIR= indent
|
1998-10-08 14:21:00 -04:00
|
|
|
|
1998-03-14 22:44:32 -05:00
|
|
|
do-install:
|
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/indent ${PREFIX}/bin/gindent
|
|
|
|
@${INSTALL_MAN} ${WRKSRC}/indent.1 ${PREFIX}/man/man1/gindent.1
|
1997-12-01 19:18:41 -05:00
|
|
|
@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
|
1998-03-14 22:44:32 -05:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/indent.info ${PREFIX}/info
|
1997-12-01 19:18:41 -05:00
|
|
|
@install-info ${PREFIX}/info/indent.info ${PREFIX}/info/dir
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|