openbsd-ports/textproc/rarian/Makefile
ajacoutot c54e12bbe0 Sanitize some @unexec/@extraunexec calls to rm: move them up in the
PLIST and delete everything under the @sample'd directory instead of the
directory itself to prevent a warning from pkg_delete(1) trying to
remove a non existing directory and to help preventing left-over files
and directories.
2011-05-11 07:45:52 +00:00

51 lines
1.2 KiB
Makefile
Executable File

# $OpenBSD: Makefile,v 1.14 2011/05/11 07:45:52 ajacoutot Exp $
COMMENT= documentation metadata library
GNOME_PROJECT= rarian
GNOME_VERSION= 0.8.1
SHARED_LIBS += rarian 0.0 # .0.0
CATEGORIES= textproc
REVISION= 9
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>