d0ccedf4e4
- specify license version
56 lines
1.2 KiB
Makefile
56 lines
1.2 KiB
Makefile
# $OpenBSD: Makefile,v 1.34 2009/10/09 13:04:43 jasper Exp $
|
|
|
|
COMMENT= Emacs Lisp-like runtime library
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
VERSION= 0.90.2
|
|
DISTNAME= librep-${VERSION}
|
|
SHARED_LIBS += rep 13.0 # .13.0
|
|
|
|
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"
|
|
|
|
REP_LT= ${PREFIX}/libexec/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}
|
|
|
|
.include <bsd.port.mk>
|