2002-09-24 03:35:13 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.10 2002/09/24 07:35:13 pvalchev Exp $
|
2001-02-21 12:56:26 -05:00
|
|
|
# Original from: John Harper <jsh@users.sourceforge.net>
|
2000-08-20 02:04:21 -04:00
|
|
|
|
2001-05-05 21:27:52 -04:00
|
|
|
COMMENT= "Emacs Lisp-like runtime library"
|
|
|
|
|
2002-09-24 03:35:13 -04:00
|
|
|
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
|
|
|
|
|
2001-04-22 19:20:40 -04:00
|
|
|
.if ${MACHINE_ARCH} == "powerpc"
|
|
|
|
BROKEN= A bug in GCC on powerpc
|
|
|
|
.endif
|
|
|
|
|
2001-02-21 12:56:26 -05:00
|
|
|
VERSION= 0.13.4
|
2000-08-20 02:04:21 -04:00
|
|
|
DISTNAME= librep-${VERSION}
|
|
|
|
CATEGORIES= lang
|
2001-10-24 23:04:18 -04:00
|
|
|
NEED_VERSION= 1.474
|
2002-05-13 19:31:24 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=librep/}
|
2000-08-20 02:04:21 -04:00
|
|
|
|
|
|
|
HOMEPAGE= http://librep.sourceforge.net/
|
|
|
|
|
2001-10-24 23:04:18 -04:00
|
|
|
MODULES= gettext
|
|
|
|
LIB_DEPENDS= gdbm.2::databases/gdbm
|
2000-08-20 02:04:21 -04:00
|
|
|
|
2001-02-24 23:43:59 -05:00
|
|
|
MAINTAINER= Robbie Gates <robbie@g7.org>
|
2000-08-20 02:04:21 -04:00
|
|
|
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
SUBST_VARS= OPSYS_VER VERSION
|
|
|
|
|
2002-01-30 16:17:26 -05:00
|
|
|
.if ${MACHINE_ARCH:Msparc64}
|
|
|
|
CFLAGS+= -O0
|
|
|
|
.endif
|
|
|
|
|
2000-08-20 02:04:21 -04:00
|
|
|
USE_GMAKE= Yes
|
|
|
|
CONFIGURE_STYLE= gnu
|
2001-02-21 12:56:26 -05:00
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} --enable-static
|
2001-06-18 11:21:31 -04:00
|
|
|
CONFIGURE_ARGS+= --without-gmp
|
2000-08-20 02:04:21 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|