2010-09-29 13:14:13 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.46 2010/09/29 17:14:13 jasper Exp $
|
2000-08-20 02:04:21 -04:00
|
|
|
|
2007-09-15 20:27:05 -04:00
|
|
|
COMMENT= Emacs Lisp-like runtime library
|
2001-05-05 21:27:52 -04:00
|
|
|
|
2006-01-03 17:19:26 -05:00
|
|
|
SHARED_ONLY= Yes
|
2002-09-24 03:35:13 -04:00
|
|
|
|
2010-09-27 10:43:38 -04:00
|
|
|
VERSION= 0.91.0
|
2000-08-20 02:04:21 -04:00
|
|
|
DISTNAME= librep-${VERSION}
|
2010-09-29 13:14:13 -04:00
|
|
|
REVISION= 0
|
2009-10-09 09:04:43 -04:00
|
|
|
SHARED_LIBS += rep 13.0 # .13.0
|
2002-10-27 09:12:47 -05:00
|
|
|
|
2009-10-09 09:04:43 -04:00
|
|
|
CATEGORIES= lang
|
2000-08-20 02:04:21 -04:00
|
|
|
|
|
|
|
HOMEPAGE= http://librep.sourceforge.net/
|
|
|
|
|
2010-09-27 10:43:38 -04:00
|
|
|
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>
|
|
|
|
|
2009-10-09 09:04:43 -04:00
|
|
|
# GPLv2
|
2000-08-20 02:04:21 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2009-10-09 09:04:43 -04:00
|
|
|
|
2010-09-27 10:43:38 -04:00
|
|
|
MASTER_SITES= http://download.tuxfamily.org/sawfish/librep/
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2009-10-09 09:04:43 -04:00
|
|
|
|
2005-02-22 08:53:16 -05:00
|
|
|
WANTLIB= c m ncurses readline
|
2000-08-20 02:04:21 -04:00
|
|
|
|
2009-10-09 09:04:43 -04:00
|
|
|
MODULES= devel/gettext
|
|
|
|
LIB_DEPENDS= gdbm.>=2::databases/gdbm \
|
|
|
|
gmp::devel/gmp \
|
|
|
|
ffi::devel/libffi
|
|
|
|
|
2010-07-18 14:49:01 -04:00
|
|
|
GNU_ARCH= ${MACHINE_ARCH:S/amd64/x86_64/}-unknown-openbsd${OSREV}
|
2009-10-09 09:04:43 -04:00
|
|
|
SUBST_VARS= GNU_ARCH VERSION
|
|
|
|
|
|
|
|
USE_GMAKE= Yes
|
2010-09-23 07:56:25 -04:00
|
|
|
USE_LIBTOOL= Yes
|
2009-10-09 09:04:43 -04:00
|
|
|
|
|
|
|
MAKE_FLAGS= rep_LIBTOOL=${LIBTOOL}
|
|
|
|
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
|
|
|
|
--enable-static \
|
|
|
|
--with-aclocaldir=${PREFIX}/share/aclocal
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib -liconv -lintl"
|
|
|
|
|
2010-09-23 07:56:25 -04:00
|
|
|
REP_LT= ${PREFIX}/lib/rep/${GNU_ARCH}/
|
2009-10-09 09:04:43 -04:00
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
${SUBST_CMD} ${WRKSRC}/src/rep-xgettext.jl
|
|
|
|
|
2010-09-23 08:23:54 -04:00
|
|
|
# The bundled libtool gets installed by default, override it by installing
|
2010-09-23 07:56:25 -04:00
|
|
|
# the ports version directly.
|
2009-10-09 09:04:43 -04:00
|
|
|
post-install:
|
2010-09-23 07:56:25 -04:00
|
|
|
${INSTALL_SCRIPT} ${LIBTOOL} ${REP_LT}
|
2002-10-27 09:12:47 -05:00
|
|
|
|
2000-08-20 02:04:21 -04:00
|
|
|
.include <bsd.port.mk>
|