openbsd-ports/lang/librep/Makefile

55 lines
1.2 KiB
Makefile
Raw Normal View History

2011-11-15 14:32:14 -05:00
# $OpenBSD: Makefile,v 1.54 2011/11/15 19:32:14 jasper Exp $
COMMENT= Emacs Lisp-like runtime library
SHARED_ONLY= Yes
2011-11-15 14:32:14 -05:00
VERSION= 0.92.1
DISTNAME= librep-${VERSION}
2011-05-02 13:22:37 -04:00
SHARED_LIBS += rep 14.0 # .16.0
2002-10-27 09:12:47 -05:00
CATEGORIES= lang
HOMEPAGE= http://librep.sourceforge.net/
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://download.tuxfamily.org/librep/
2011-11-15 14:32:14 -05:00
EXTRACT_SUFX= .tar.xz
2010-10-24 17:11:45 -04:00
WANTLIB= c gdbm gmp ffi m ncurses readline
MODULES= devel/gettext
2010-11-17 03:05:12 -05:00
LIB_DEPENDS= databases/gdbm \
devel/gmp \
devel/libffi
USE_GMAKE= Yes
USE_LIBTOOL= Yes
2010-11-17 03:05:12 -05:00
USE_GROFF = 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"
pre-configure:
${SUBST_CMD} ${WRKSRC}/src/rep-xgettext.jl
# The bundled libtool gets installed by default, override it by installing
# the ports version directly.
post-install:
2011-05-02 13:22:37 -04:00
${INSTALL_SCRIPT} ${LIBTOOL} ${PREFIX}/lib/rep/
2002-10-27 09:12:47 -05:00
.include <bsd.port.mk>