2006-01-03 17:19:26 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.22 2006/01/03 22:19:26 alek Exp $
|
2000-08-20 02:04:21 -04:00
|
|
|
|
2001-05-05 21:27:52 -04:00
|
|
|
COMMENT= "Emacs Lisp-like runtime library"
|
|
|
|
|
2006-01-03 17:19:26 -05:00
|
|
|
SHARED_ONLY= Yes
|
2002-09-24 03:35:13 -04:00
|
|
|
|
2003-05-15 01:26:58 -04:00
|
|
|
VERSION= 0.16.2
|
2000-08-20 02:04:21 -04:00
|
|
|
DISTNAME= librep-${VERSION}
|
2006-01-03 17:19:26 -05:00
|
|
|
PKGNAME= ${DISTNAME}p1
|
|
|
|
SHARED_LIBS= rep 12.0
|
2000-08-20 02:04:21 -04:00
|
|
|
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/
|
|
|
|
|
2004-08-10 05:14:47 -04:00
|
|
|
MODULES= devel/gettext
|
2001-10-24 23:04:18 -04:00
|
|
|
LIB_DEPENDS= gdbm.2::databases/gdbm
|
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
|
2005-02-22 08:53:16 -05:00
|
|
|
WANTLIB= c m ncurses readline
|
2000-08-20 02:04:21 -04:00
|
|
|
|
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
|
|
|
|
|
|
|
USE_GMAKE= Yes
|
2006-01-03 17:19:26 -05:00
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
MAKE_FLAGS= rep_LIBTOOL=${LIBTOOL}
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
|
|
CONFIGURE_ARGS+=${CONFIGURE_SHARED} --enable-static
|
|
|
|
CONFIGURE_ARGS+=--without-gmp
|
2005-01-17 14:08:01 -05:00
|
|
|
# Don't try to run aclocal
|
|
|
|
CONFIGURE_ARGS+=--with-aclocaldir='$${datadir}/aclocal'
|
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>
|