# $OpenBSD: Makefile,v 1.52 2011/05/02 17:22:37 jasper Exp $ COMMENT= Emacs Lisp-like runtime library SHARED_ONLY= Yes VERSION= 0.92.0 DISTNAME= librep-${VERSION} SHARED_LIBS += rep 14.0 # .16.0 CATEGORIES= lang HOMEPAGE= http://librep.sourceforge.net/ MAINTAINER= Jasper Lievisse Adriaanse # GPLv2 PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes MASTER_SITES= http://download.tuxfamily.org/librep/ EXTRACT_SUFX= .tar.bz2 WANTLIB= c gdbm gmp ffi m ncurses readline MODULES= devel/gettext LIB_DEPENDS= databases/gdbm \ devel/gmp \ devel/libffi GNU_ARCH= ${MACHINE_ARCH:S/amd64/x86_64/}-unknown-openbsd${OSREV} SUBST_VARS= GNU_ARCH VERSION USE_GMAKE= Yes USE_LIBTOOL= Yes 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: ${INSTALL_SCRIPT} ${LIBTOOL} ${PREFIX}/lib/rep/ .include