Fix wantlib and license marker, use $SUBST_CMD, regen PLIST.
- from Giovanni Bechis, thanks!
This commit is contained in:
parent
d56762eaee
commit
6df7806e29
@ -1,16 +1,16 @@
|
||||
# $OpenBSD: Makefile,v 1.2 2008/01/26 12:49:12 jasper Exp $
|
||||
# $OpenBSD: Makefile,v 1.3 2008/11/21 20:09:21 sthen Exp $
|
||||
|
||||
COMMENT= GTK+2 front-end for command line archiving tools
|
||||
|
||||
DISTNAME= xarchive-0.2.8-6
|
||||
PKGNAME= ${DISTNAME}p0
|
||||
PKGNAME= ${DISTNAME}p1
|
||||
CATEGORIES= x11
|
||||
|
||||
HOMEPAGE= http://xarchive.sourceforge.net/
|
||||
|
||||
MAINTAINER= Giovanni Bechis <g.bechis@snb.it>
|
||||
|
||||
# GPL
|
||||
# GPLv2
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
@ -21,7 +21,7 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xarchive/}
|
||||
WANTLIB= X11 Xau Xcursor Xdmcp Xext Xfixes Xi Xinerama Xrandr \
|
||||
Xrender c expat fontconfig freetype m z atk-1.0 \
|
||||
glib-2.0 gmodule-2.0 gobject-2.0 glitz png pango-1.0 \
|
||||
pangoft2-1.0 pangocairo-1.0 cairo Xcomposite Xdamage
|
||||
pangoft2-1.0 pangocairo-1.0 pixman-1 cairo Xcomposite Xdamage
|
||||
|
||||
MODULES= devel/gettext
|
||||
LIB_DEPENDS= gdk_pixbuf-2.0.>=1000,gdk-x11-2.0.>=1000,gtk-x11-2.0.>=1000::x11/gtk+2
|
||||
@ -35,8 +35,7 @@ CONFIGURE_ENV= BASH_PROG=/bin/sh
|
||||
pre-configure:
|
||||
@perl -pi -e 's,AWK_PROGS="mawk gawk awk",AWK_PROGS="awk gawk mawk",g' \
|
||||
${WRKSRC}/wrappers/*.src
|
||||
@perl -pi -e 's,!!PREFIX!!,${PREFIX},g' \
|
||||
${WRKSRC}/doc/xarchive.1 \
|
||||
${SUBST_CMD} ${WRKSRC}/doc/xarchive.1 \
|
||||
${WRKSRC}/doc/xarchive.1.txt.src
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,4 +1,4 @@
|
||||
$OpenBSD: patch-doc_xarchive_1,v 1.1.1.1 2007/07/16 21:35:42 ajacoutot Exp $
|
||||
$OpenBSD: patch-doc_xarchive_1,v 1.2 2008/11/21 20:09:21 sthen Exp $
|
||||
--- doc/xarchive.1.orig Mon Feb 27 18:30:13 2006
|
||||
+++ doc/xarchive.1 Mon Jul 16 23:05:49 2007
|
||||
@@ -261,13 +261,10 @@ it's wrappers:
|
||||
@ -9,11 +9,11 @@ $OpenBSD: patch-doc_xarchive_1,v 1.1.1.1 2007/07/16 21:35:42 ajacoutot Exp $
|
||||
-.TP 0.2i
|
||||
-\(bu
|
||||
-(or, depending on installation /usr/lib/xarchive/wrappers/)
|
||||
+!!PREFIX!!/lib/xarchive/wrappers/
|
||||
+${PREFIX}/lib/xarchive/wrappers/
|
||||
.PP
|
||||
The first wrappers found are the first ones used. Thus, if you copy a wrapper
|
||||
-from the system wide directory (/usr/local/lib/xarchive/wrappers/) to your own
|
||||
+from the system wide directory (!!PREFIX!!/lib/xarchive/wrappers/) to your own
|
||||
+from the system wide directory (${PREFIX}/lib/xarchive/wrappers/) to your own
|
||||
private wrapper directory (~/.xarchive/wrappers/) and modify it, your modified
|
||||
version will be used.
|
||||
.PP
|
||||
@ -22,7 +22,7 @@ $OpenBSD: patch-doc_xarchive_1,v 1.1.1.1 2007/07/16 21:35:42 ajacoutot Exp $
|
||||
Anything else for wrapper failure
|
||||
.PP
|
||||
-See the wrappers included in /usr/local/lib/xarchive/wrappers (or /usr/lib/xarchive/wrappers) for examples.
|
||||
+See the wrappers included in !!PREFIX!!/lib/xarchive/wrappers for examples.
|
||||
+See the wrappers included in ${PREFIX}/lib/xarchive/wrappers for examples.
|
||||
.SH BUGS
|
||||
Use bug tracker on the sourceforge project page:
|
||||
.PP
|
||||
|
@ -1,4 +1,4 @@
|
||||
$OpenBSD: patch-doc_xarchive_1_txt_src,v 1.1.1.1 2007/07/16 21:35:42 ajacoutot Exp $
|
||||
$OpenBSD: patch-doc_xarchive_1_txt_src,v 1.2 2008/11/21 20:09:21 sthen Exp $
|
||||
--- doc/xarchive.1.txt.src.orig Mon Jul 16 23:24:26 2007
|
||||
+++ doc/xarchive.1.txt.src Mon Jul 16 23:25:12 2007
|
||||
@@ -278,12 +278,10 @@ it's wrappers:
|
||||
@ -6,13 +6,13 @@ $OpenBSD: patch-doc_xarchive_1_txt_src,v 1.1.1.1 2007/07/16 21:35:42 ajacoutot E
|
||||
- ~/.xarchive/wrappers/
|
||||
|
||||
-- /usr/local/lib/xarchive/wrappers/
|
||||
+- !!PREFIX!!/lib/xarchive/wrappers/
|
||||
+- ${PREFIX}/lib/xarchive/wrappers/
|
||||
|
||||
-- (or, depending on installation /usr/lib/xarchive/wrappers/)
|
||||
-
|
||||
The first wrappers found are the first ones used. Thus, if you copy a wrapper
|
||||
-from the system wide directory (/usr/local/lib/xarchive/wrappers/) to your own
|
||||
+from the system wide directory (!!PREFIX!!/lib/xarchive/wrappers/) to your own
|
||||
+from the system wide directory (${PREFIX}/lib/xarchive/wrappers/) to your own
|
||||
private wrapper directory (~/.xarchive/wrappers/) and modify it, your modified
|
||||
version will be used.
|
||||
|
||||
@ -21,7 +21,7 @@ $OpenBSD: patch-doc_xarchive_1_txt_src,v 1.1.1.1 2007/07/16 21:35:42 ajacoutot E
|
||||
- Anything else for wrapper failure
|
||||
|
||||
-See the wrappers included in /usr/local/lib/xarchive/wrappers (or /usr/lib/xarchive/wrappers) for examples.
|
||||
+See the wrappers included in !!PREFIX!!/lib/xarchive/wrappers for examples.
|
||||
+See the wrappers included in ${PREFIX}/lib/xarchive/wrappers for examples.
|
||||
|
||||
BUGS
|
||||
----
|
||||
|
@ -1,5 +1,5 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2007/07/16 21:35:42 ajacoutot Exp $
|
||||
bin/xarchive
|
||||
@comment $OpenBSD: PLIST,v 1.2 2008/11/21 20:09:21 sthen Exp $
|
||||
@bin bin/xarchive
|
||||
lib/xarchive/
|
||||
lib/xarchive/wrappers/
|
||||
lib/xarchive/wrappers/7za-wrap.sh
|
||||
@ -11,7 +11,6 @@ lib/xarchive/wrappers/rpm-wrap.sh
|
||||
lib/xarchive/wrappers/tar-wrap.sh
|
||||
lib/xarchive/wrappers/zip-wrap.sh
|
||||
@man man/man1/xarchive.1
|
||||
share/applications/
|
||||
share/applications/xarchive.desktop
|
||||
share/doc/xarchive/
|
||||
share/doc/xarchive/xarchive.1.txt
|
||||
|
Loading…
x
Reference in New Issue
Block a user