2004-06-29 01:13:06 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.16 2004/06/29 05:13:06 brad Exp $
|
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}
|
|
|
|
|
2003-05-15 01:26:58 -04:00
|
|
|
VERSION= 0.16.2
|
2000-08-20 02:04:21 -04:00
|
|
|
DISTNAME= librep-${VERSION}
|
|
|
|
CATEGORIES= lang
|
2002-10-27 09:12:47 -05:00
|
|
|
|
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
|
|
|
|
2002-11-28 11:34:29 -05:00
|
|
|
MAINTAINER= Margarida Sequeira <margarida@openbsd.org>
|
2000-08-20 02:04:21 -04:00
|
|
|
|
2003-05-15 01:26:58 -04:00
|
|
|
# GPL
|
2000-08-20 02:04:21 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2004-06-24 20:16:35 -04:00
|
|
|
GNU_ARCH= ${MACHINE_ARCH:S/amd64/x86_64/}-unknown-openbsd${OPSYS_VER}
|
|
|
|
SUBST_VARS= GNU_ARCH VERSION
|
2000-08-20 02:04:21 -04:00
|
|
|
|
2004-06-29 01:13:06 -04:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
|
|
|
USE_GCC3?= No
|
|
|
|
|
|
|
|
.if ${MACHINE_ARCH:Mpowerpc} && ${USE_GCC3:L} == "no"
|
2003-05-15 01:26:58 -04:00
|
|
|
PATCH_LIST= gcc-* patch-*
|
|
|
|
.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"
|
|
|
|
|
2002-10-27 09:12:47 -05:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2000-08-20 02:04:21 -04:00
|
|
|
.include <bsd.port.mk>
|