2008-06-05 00:54:43 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.4 2008/06/05 04:54:43 sturm Exp $
|
2007-04-13 04:29:17 -04:00
|
|
|
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
|
2007-09-15 17:14:00 -04:00
|
|
|
COMMENT= GRand Unified Bootloader
|
2007-04-13 04:29:17 -04:00
|
|
|
|
|
|
|
DISTNAME= grub-0.97
|
2008-06-05 00:54:43 -04:00
|
|
|
PKGNAME= ${DISTNAME}p1
|
2007-04-13 04:29:17 -04:00
|
|
|
CATEGORIES= sysutils
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.gnu.org/software/grub/
|
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB= c ncurses util
|
|
|
|
|
|
|
|
MASTER_SITES= ftp://alpha.gnu.org/gnu/grub/ \
|
|
|
|
ftp://ftp.funet.fi/pub/gnu/alpha/gnu/grub/ \
|
|
|
|
ftp://ftp.ibiblio.org/pub/mirrors/gnu/alpha/gnu/grub/
|
|
|
|
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
|
|
|
|
|
|
CFLAGS= -ftrampolines -fno-stack-protector
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/grub
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/README.OpenBSD ${PREFIX}/share/doc/grub
|
2007-06-05 14:25:22 -04:00
|
|
|
@perl -pi -e "s,%%TRUEPREFIX%%,${TRUEPREFIX}," \
|
2007-04-13 04:29:17 -04:00
|
|
|
${PREFIX}/share/doc/grub/README.OpenBSD
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/grub
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/menu.lst ${PREFIX}/share/examples/grub
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|