openbsd-ports/lang/librep/Makefile

56 lines
1.2 KiB
Makefile
Raw Normal View History

2009-12-22 06:05:47 -05:00
# $OpenBSD: Makefile,v 1.36 2009/12/22 11:05:47 ajacoutot Exp $
COMMENT= Emacs Lisp-like runtime library
SHARED_ONLY= Yes
2009-12-22 06:05:47 -05:00
VERSION= 0.90.4
DISTNAME= librep-${VERSION}
SHARED_LIBS += rep 13.0 # .13.0
2002-10-27 09:12:47 -05:00
CATEGORIES= lang
HOMEPAGE= http://librep.sourceforge.net/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=librep/}
EXTRACT_SUFX= .tar.bz2
WANTLIB= c m ncurses readline
MODULES= devel/gettext
LIB_DEPENDS= gdbm.>=2::databases/gdbm \
gmp::devel/gmp \
ffi::devel/libffi
GNU_ARCH= ${MACHINE_ARCH:S/amd64/x86_64/}-unknown-openbsd${OPSYS_VER}
SUBST_VARS= GNU_ARCH VERSION
USE_GMAKE= Yes
USE_LIBTOOL= Yes
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"
2009-12-22 06:05:47 -05:00
REP_LT= ${PREFIX}/lib/rep/${GNU_ARCH}/libtool
pre-configure:
${SUBST_CMD} ${WRKSRC}/src/rep-xgettext.jl
# The bundled libtool get's installed by default, override it.
post-install:
ln -s ${LIBTOOL} ${REP_LT}
2002-10-27 09:12:47 -05:00
.include <bsd.port.mk>