28 lines
601 B
Makefile
28 lines
601 B
Makefile
# $OpenBSD: Makefile,v 1.6 1999/03/10 17:57:03 espie Exp $
|
|
#
|
|
|
|
DISTNAME= bison-1.25
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= d@openbsd.org
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
|
MASTER_SITE_SUBDIR= bison
|
|
|
|
SEPARATE_BUILD=concurrent
|
|
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>
|