openbsd-ports/textproc/rarian/Makefile
2010-11-20 19:56:47 +00:00

51 lines
1.2 KiB
Makefile
Executable File

# $OpenBSD: Makefile,v 1.13 2010/11/20 19:56:51 espie Exp $
COMMENT= documentation metadata library
GNOME_PROJECT= rarian
GNOME_VERSION= 0.8.1
SHARED_LIBS += rarian 0.0 # .0.0
CATEGORIES= textproc
REVISION= 8
HOMEPAGE= http://rarian.freedesktop.org/
# LGPLv2.1/GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c m stdc++
MODULES= x11/gnome
RUN_DEPENDS= shells/bash \
textproc/docbook \
textproc/libxslt
BUILD_DEPENDS= ${RUN_DEPENDS}
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
--localstatedir=/var \
--with-convert-dir=${PREFIX}/share/omf \
--enable-installed \
--enable-scrollkeeper-compat \
--enable-omf-read \
--disable-skdb-update
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
# The .in files in ${WRKSRC}/util/ don't have a newline at the end
# of the file, which causes diff(1) to puke.
post-extract:
@echo "" >> ${WRKSRC}/util/rarian-sk-*.in
pre-configure:
${SUBST_CMD} ${WRKSRC}/librarian/rarian-main.c \
${WRKSRC}/librarian/rarian-man.c \
${WRKSRC}/librarian/rarian-info.c
.include <bsd.port.mk>