Clean up this port a bit.
This commit is contained in:
parent
bc704d7b7b
commit
77e8b5608c
@ -1,36 +1,35 @@
|
||||
# $OpenBSD: Makefile,v 1.21 2015/03/16 18:07:57 naddy Exp $
|
||||
# $OpenBSD: Makefile,v 1.22 2015/04/17 09:54:10 ajacoutot Exp $
|
||||
|
||||
COMMENT= documentation metadata library
|
||||
|
||||
GNOME_PROJECT= rarian
|
||||
GNOME_VERSION= 0.8.1
|
||||
EXTRACT_SUFX= .tar.bz2
|
||||
|
||||
SHARED_LIBS += rarian 0.0 # .0.0
|
||||
|
||||
CATEGORIES= textproc
|
||||
|
||||
REVISION= 12
|
||||
REVISION= 13
|
||||
|
||||
HOMEPAGE= http://rarian.freedesktop.org/
|
||||
|
||||
# LGPLv2.1/GPLv2
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
|
||||
EXTRACT_SUFX= .tar.bz2
|
||||
|
||||
WANTLIB= c m stdc++
|
||||
WANTLIB += c m stdc++
|
||||
|
||||
MODULES= x11/gnome
|
||||
|
||||
BUILD_DEPENDS= shells/bash \
|
||||
textproc/libxslt
|
||||
|
||||
RUN_DEPENDS= shells/bash \
|
||||
textproc/docbook \
|
||||
textproc/libxslt
|
||||
BUILD_DEPENDS= ${RUN_DEPENDS}
|
||||
|
||||
CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_ARGS+= --with-convert-dir=${PREFIX}/share/omf \
|
||||
--enable-installed \
|
||||
--enable-scrollkeeper-compat \
|
||||
--enable-omf-read \
|
||||
--disable-skdb-update
|
||||
CONFIGURE_ARGS= --disable-skdb-update
|
||||
|
||||
# The .in files in ${WRKSRC}/util/ don't have a newline at the end
|
||||
# of the file, which causes diff(1) to puke.
|
||||
@ -42,4 +41,7 @@ pre-configure:
|
||||
${WRKSRC}/librarian/rarian-man.c \
|
||||
${WRKSRC}/librarian/rarian-info.c
|
||||
|
||||
post-install:
|
||||
rm -rf ${WRKINST}/var/lib
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,11 +0,0 @@
|
||||
$OpenBSD: patch-util_Makefile_in,v 1.1.1.1 2008/12/16 10:01:38 jasper Exp $
|
||||
--- util/Makefile.in.orig Sat Nov 22 17:35:30 2008
|
||||
+++ util/Makefile.in Sat Nov 22 17:35:42 2008
|
||||
@@ -828,7 +828,6 @@ uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIP
|
||||
@ENABLE_INSTALL_TRUE@@ENABLE_SK_COMPAT_TRUE@ @cd $(DESTDIR)$(bindir); ln -s rarian-sk-rebuild scrollkeeper-rebuilddb
|
||||
@ENABLE_INSTALL_TRUE@@ENABLE_SK_COMPAT_TRUE@ @cd $(DESTDIR)$(bindir); ln -s rarian-sk-install scrollkeeper-uninstall
|
||||
@ENABLE_INSTALL_TRUE@@ENABLE_SK_COMPAT_TRUE@ @cd $(DESTDIR)$(bindir); ln -s rarian-sk-update scrollkeeper-update
|
||||
-@ENABLE_INSTALL_TRUE@@ENABLE_SK_COMPAT_TRUE@ @mkdir -p $(DESTDIR)/$(localstatedir)/lib/rarian
|
||||
@ENABLE_INSTALL_TRUE@@ENABLE_SKDB_UPDATE_TRUE@@ENABLE_SK_COMPAT_TRUE@ @echo "Translating current database"
|
||||
@ENABLE_INSTALL_TRUE@@ENABLE_SKDB_UPDATE_TRUE@@ENABLE_SK_COMPAT_TRUE@ @$(DESTDIR)$(bindir)/rarian-sk-update
|
||||
|
@ -1,7 +1,4 @@
|
||||
$OpenBSD: patch-util_rarian-sk-config_in,v 1.1.1.1 2008/12/16 10:01:38 jasper Exp $
|
||||
|
||||
Fix location to rarian's localstatedir.
|
||||
|
||||
$OpenBSD: patch-util_rarian-sk-config_in,v 1.2 2015/04/17 09:54:10 ajacoutot Exp $
|
||||
--- util/rarian-sk-config.in.orig Sat Nov 22 16:51:42 2008
|
||||
+++ util/rarian-sk-config.in Sat Nov 22 16:52:06 2008
|
||||
@@ -8,7 +8,7 @@ prefix=@prefix@
|
||||
|
@ -1,6 +1,6 @@
|
||||
$OpenBSD: patch-util_rarian-sk-migrate_cpp,v 1.1 2009/02/15 13:41:41 ajacoutot Exp $
|
||||
$OpenBSD: patch-util_rarian-sk-migrate_cpp,v 1.2 2015/04/17 09:54:10 ajacoutot Exp $
|
||||
|
||||
Fix a Segmentation fault when argc is not fulfilled.
|
||||
Fix segfault when argc is not fulfilled.
|
||||
|
||||
--- util/rarian-sk-migrate.cpp.orig Mon Sep 1 20:40:21 2008
|
||||
+++ util/rarian-sk-migrate.cpp Sun Feb 15 14:31:15 2009
|
||||
|
@ -1,7 +1,4 @@
|
||||
$OpenBSD: patch-util_rarian-sk-rebuild_in,v 1.1.1.1 2008/12/16 10:01:38 jasper Exp $
|
||||
|
||||
Fix location to rarian's localstatedir.
|
||||
|
||||
$OpenBSD: patch-util_rarian-sk-rebuild_in,v 1.2 2015/04/17 09:54:10 ajacoutot Exp $
|
||||
--- util/rarian-sk-rebuild.in.orig Sat Nov 22 16:51:42 2008
|
||||
+++ util/rarian-sk-rebuild.in Sat Nov 22 16:51:59 2008
|
||||
@@ -9,7 +9,7 @@ exec_prefix=@exec_prefix@
|
||||
|
@ -1,6 +1,5 @@
|
||||
$OpenBSD: patch-util_rarian-sk-update_in,v 1.3 2009/02/14 17:31:44 ajacoutot Exp $
|
||||
$OpenBSD: patch-util_rarian-sk-update_in,v 1.4 2015/04/17 09:54:10 ajacoutot Exp $
|
||||
|
||||
Fix location to rarian's localstatedir.
|
||||
Only GNU getopt supports long options.
|
||||
|
||||
--- util/rarian-sk-update.in.orig Mon Sep 1 20:40:21 2008
|
||||
|
@ -1,8 +1,6 @@
|
||||
@comment $OpenBSD: PLIST,v 1.13 2015/03/16 18:07:57 naddy Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.14 2015/04/17 09:54:10 ajacoutot Exp $
|
||||
@conflict scrollkeeper-*
|
||||
@pkgpath textproc/scrollkeeper
|
||||
@extraunexec rm -rf /var/db/rarian/*
|
||||
@extraunexec rm -rf /var/db/scrollkeeper/
|
||||
@bin bin/rarian-example
|
||||
bin/rarian-sk-config
|
||||
bin/rarian-sk-extract
|
||||
@ -53,4 +51,3 @@ share/librarian/manual/rar-lib.xhtml
|
||||
share/librarian/manual/rar-mdf.xhtml
|
||||
share/librarian/manual/rar-skcompat.xhtml
|
||||
share/librarian/rarian-sk-cl.xml
|
||||
@sample /var/db/rarian/
|
||||
|
Loading…
Reference in New Issue
Block a user