was in wrong dir/ pointed out by angelos

This commit is contained in:
joey 1997-12-02 00:18:41 +00:00
parent 8bdca76e15
commit a42ce6edf7
6 changed files with 59 additions and 0 deletions

31
devel/gindent/Makefile Normal file
View File

@ -0,0 +1,31 @@
# OpenBSD makefile for: indent
# Version required: 1.9.1
# Date created: 1 Nov 1997
# Whom: ejovi
#
# $OpenBSD: Makefile,v 1.1.1.1 1997/12/02 00:18:41 joey Exp $
#
DISTNAME= indent-1.9.1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MAINTAINER= joey@OpenBSD.ORG
MAN1= indent.1
post-install:
@mv ${PREFIX}/bin/indent ${PREFIX}/bin/indent
@strip ${PREFIX}/bin/indent
@test -d ${PREFIX}/info || ${MKDIR} ${PREFIX}/info \
&& chmod a+rx ${PREFIX}/info
@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-info ${PREFIX}/info/indent.info ${PREFIX}/info/dir
.include <bsd.port.mk>

1
devel/gindent/files/md5 Normal file
View File

@ -0,0 +1 @@
MD5 (indent-1.9.1.tar.gz) = 21b5f78c7ade93fa7d33f79ff48d3982

View File

@ -0,0 +1,18 @@
--- makefile.in.orig Thu Aug 28 17:48:56 1997
+++ makefile.in Thu Aug 28 17:50:29 1997
@@ -51,6 +51,7 @@
exec_prefix = ${prefix}
bindir = $(exec_prefix)/bin
infodir = ${prefix}/info
+mandir = ${prefix}/man
#### End of system configuration section. ####
@@ -126,6 +127,7 @@
install: all
${INSTALL_PROGRAM} indent ${bindir}/indent
${INSTALL_DATA} ${srcdir}/indent.info ${infodir}/indent.info
+ ${INSTALL_DATA} ${srcdir}/indent.1 ${mandir}/man1/indent.1
# Cleaning up

View File

@ -0,0 +1 @@
GNU indent.

2
devel/gindent/pkg/DESCR Normal file
View File

@ -0,0 +1,2 @@
The `indent' program changes the appearance of a C program by
inserting or deleting whitespace.

6
devel/gindent/pkg/PLIST Normal file
View File

@ -0,0 +1,6 @@
bin/indent
man/man1/indent.1.gz
info/indent.info
@unexec install-info --delete %D/info/indent.info %D/info/dir
@exec [ -f %D/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir > %D/info/dir
@exec install-info %D/info/indent.info %D/info/dir