was in wrong dir/ pointed out by angelos
This commit is contained in:
parent
8bdca76e15
commit
a42ce6edf7
31
devel/gindent/Makefile
Normal file
31
devel/gindent/Makefile
Normal 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
1
devel/gindent/files/md5
Normal file
@ -0,0 +1 @@
|
||||
MD5 (indent-1.9.1.tar.gz) = 21b5f78c7ade93fa7d33f79ff48d3982
|
18
devel/gindent/patches/patch-aa
Normal file
18
devel/gindent/patches/patch-aa
Normal 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
|
1
devel/gindent/pkg/COMMENT
Normal file
1
devel/gindent/pkg/COMMENT
Normal file
@ -0,0 +1 @@
|
||||
GNU indent.
|
2
devel/gindent/pkg/DESCR
Normal file
2
devel/gindent/pkg/DESCR
Normal 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
6
devel/gindent/pkg/PLIST
Normal 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
|
Loading…
Reference in New Issue
Block a user