26 lines
548 B
Makefile
26 lines
548 B
Makefile
# $OpenBSD: Makefile,v 1.3 1998/10/08 18:23:33 marc Exp $
|
|
#
|
|
|
|
DISTNAME= bison-1.25
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= d@openbsd.org
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
|
|
|
HAS_CONFIGURE= yes
|
|
GNU_CONFIGURE= yes
|
|
|
|
# bison installs bison.info*... remove our patch original before installing
|
|
#
|
|
pre-install:
|
|
@${RM} ${WRKSRC}/bison.info.orig
|
|
|
|
post-install:
|
|
@if [ ! -f ${PREFIX}/info/dir ]; then \
|
|
${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
|
|
fi
|
|
@install-info ${PREFIX}/info/bison.info ${PREFIX}/info/dir
|
|
|
|
.include <bsd.port.mk>
|