openbsd-ports/textproc/rarian/Makefile
ajacoutot 8e9be54b46 - add a patch from OpenSolaris to fix a hard crash in rarian-sk-migrate
- add /var/db/scrollkeeper/ removal to @extraunexec; it is not needed
anymore and people with earlier install can get rid of it
2009-02-15 13:41:41 +00:00

50 lines
1.2 KiB
Makefile
Executable File

# $OpenBSD: Makefile,v 1.7 2009/02/15 13:41:41 ajacoutot Exp $
COMMENT= documentation metadata library
GNOME_PROJECT= rarian
GNOME_VERSION= 0.8.1
PKGNAME= ${DISTNAME}p5
SHARED_LIBS += rarian 0.0 # .0.0
CATEGORIES= textproc
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>