pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

surf2: Import surf2-2.0 as wip/surf2



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Mon May 15 09:38:21 2017 +0200
Changeset:	c4acd572dc816f9a508b4fc576a62abf8f451222

Modified Files:
	Makefile
Added Files:
	surf2/DESCR
	surf2/Makefile
	surf2/PLIST
	surf2/distinfo

Log Message:
surf2: Import surf2-2.0 as wip/surf2

surf is a simple web browser based on WebKit2/GTK+. It is able to
display websites and follow links. It supports the XEmbed protocol
which makes it possible to embed it in another application.
Furthermore, one can point surf to another URI by setting its
XProperties.

XXX: This is imported as surf2 and program and man page renamed accordingly
XXX: in order to avoid conflicts with wip/surf. When wip/webkit-gtk and this
XXX: package will be imported in pkgsrc probably it's better to rename it to
XXX: just surf given that upstream now maintains only the WebKit2/GTK+ version
XXX: and it seems that wip/webkit-gtk is in better shape than previous versions.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c4acd572dc816f9a508b4fc576a62abf8f451222

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile       |  1 +
 surf2/DESCR    |  5 +++++
 surf2/Makefile | 38 ++++++++++++++++++++++++++++++++++++++
 surf2/PLIST    |  3 +++
 surf2/distinfo |  6 ++++++
 5 files changed, 53 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 534c12bf31..2206ce2d74 100644
--- a/Makefile
+++ b/Makefile
@@ -4131,6 +4131,7 @@ SUBDIR+=	superlfv
 SUBDIR+=	supermodel
 SUBDIR+=	supertuxkart
 SUBDIR+=	surf
+SUBDIR+=	surf2
 SUBDIR+=	surf2-git
 SUBDIR+=	suse121_32_libbz2
 SUBDIR+=	suse121_32_libgcrypt
diff --git a/surf2/DESCR b/surf2/DESCR
new file mode 100644
index 0000000000..30d1e8913e
--- /dev/null
+++ b/surf2/DESCR
@@ -0,0 +1,5 @@
+surf is a simple web browser based on WebKit2/GTK+. It is able to
+display websites and follow links. It supports the XEmbed protocol
+which makes it possible to embed it in another application.
+Furthermore, one can point surf to another URI by setting its
+XProperties.
diff --git a/surf2/Makefile b/surf2/Makefile
new file mode 100644
index 0000000000..22908c2ed2
--- /dev/null
+++ b/surf2/Makefile
@@ -0,0 +1,38 @@
+# $NetBSD: Makefile,v 1.6 2015/07/13 11:10:36 leot1990 Exp $
+
+DISTNAME=	surf-2.0
+PKGNAME=	${DISTNAME:S/surf/surf2/}
+CATEGORIES=	www
+MASTER_SITES=	http://dl.suckless.org/surf/
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	http://surf.suckless.org/
+COMMENT=	Surf is a fast and minimalistic web browser based on WebKit2/GTK+
+LICENSE=	mit
+
+MAKE_JOBS_SAFE=	no
+
+USE_TOOLS+=		pkg-config
+USE_LANGUAGES=		c99
+
+SUBST_CLASSES+=		configmk
+SUBST_STAGE.configmk=	pre-configure
+SUBST_MESSAGE.configmk=	Fixing config.mk
+SUBST_FILES.configmk=	config.mk
+SUBST_SED.configmk+=	-e 's,/usr/local,${PREFIX},g'
+SUBST_SED.configmk+=	-e 's,share/man,${PKGMANDIR},g'
+SUBST_SED.configmk+=	-e 's,/usr/X11R6,${X11BASE},g'
+SUBST_SED.configmk+=	-e 's,^CFLAGS *= ,CFLAGS += ,'
+SUBST_SED.configmk+=	-e 's,^LDFLAGS *= ,LDFLAGS += ,'
+SUBST_SED.configmk+=	-e 's/cc/${CC:Q}/'
+
+INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1
+
+# Install binary and man page as surf2 to avoid conflict with wip/surf
+post-install:
+	${MV} ${DESTDIR}${PREFIX}/bin/surf ${DESTDIR}${PREFIX}/bin/surf2
+	${MV} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/surf.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/surf2.1
+
+.include "../../wip/webkit-gtk/buildlink3.mk"
+.include "../../x11/gtk3/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/surf2/PLIST b/surf2/PLIST
new file mode 100644
index 0000000000..2fd3f57e96
--- /dev/null
+++ b/surf2/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/05/13 10:28:14 pdtafti Exp $
+bin/surf2
+man/man1/surf2.1
diff --git a/surf2/distinfo b/surf2/distinfo
new file mode 100644
index 0000000000..ea1a314789
--- /dev/null
+++ b/surf2/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.4 2015/07/13 11:10:36 leot1990 Exp $
+
+SHA1 (surf-2.0.tar.gz) = 36a7ea1516428e7524c57dee20c451d6b4f8ff94
+RMD160 (surf-2.0.tar.gz) = 02c94f3009e9fe69b12087d5884186b07bf89790
+SHA512 (surf-2.0.tar.gz) = 75798bb189fa2c2c93827672089a86cf155aa7b5c7c1a0887a34817ca41763907e44a02f52947535d37a043f827d2c0fe75d16a3d172079f9cab8da341e4c0c5
+Size (surf-2.0.tar.gz) = 19056 bytes


Home | Main Index | Thread Index | Old Index