pkgsrc-WIP-changes archive

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

catpoint-git: Import catpoint-git-1.0 as wip/catpoint-git



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Sun May 3 17:16:35 2020 +0200
Changeset:	f119db2f0698fab699aa393fd018f4072342f815

Modified Files:
	Makefile
Added Files:
	catpoint-git/DESCR
	catpoint-git/Makefile
	catpoint-git/PLIST

Log Message:
catpoint-git: Import catpoint-git-1.0 as wip/catpoint-git

Catpoint is a simple viewer of text files written in curses.

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

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

diffstat:
 Makefile              |  1 +
 catpoint-git/DESCR    |  1 +
 catpoint-git/Makefile | 35 +++++++++++++++++++++++++++++++++++
 catpoint-git/PLIST    |  2 ++
 4 files changed, 39 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index e16e6bc8e0..9b4b983069 100644
--- a/Makefile
+++ b/Makefile
@@ -360,6 +360,7 @@ SUBDIR+=	cartago
 SUBDIR+=	casady-fonts
 SUBDIR+=	castget
 SUBDIR+=	catfish
+SUBDIR+=	catpoint-git
 SUBDIR+=	cb2bib
 SUBDIR+=	cblas
 SUBDIR+=	ccnet-server
diff --git a/catpoint-git/DESCR b/catpoint-git/DESCR
new file mode 100644
index 0000000000..5d559b2823
--- /dev/null
+++ b/catpoint-git/DESCR
@@ -0,0 +1 @@
+Catpoint is a simple viewer of text files written in curses.
diff --git a/catpoint-git/Makefile b/catpoint-git/Makefile
new file mode 100644
index 0000000000..3099a46d2e
--- /dev/null
+++ b/catpoint-git/Makefile
@@ -0,0 +1,35 @@
+# $NetBSD$
+
+DISTNAME=	catpoint-1.0
+CATEGORIES=	misc
+MASTER_SITES=	ftp://bitreich.org/releases/catpoint/
+EXTRACT_SUFX=	.tgz
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	gopher://bitreich.org/1/scm/catpoint
+COMMENT=	Simple point utilities to hold text presentations
+LICENSE=	gnu-gpl-v3
+
+GIT_REPOSITORIES=	catpoint
+GIT_REPO.catpoint=	git://bitreich.org/catpoint/
+WRKSRC=			${WRKDIR}/catpoint
+
+MAKE_FLAGS+=	INCS=-I${BUILDLINK_INCDIRS.curses:Q}
+MAKE_FLAGS+=	LIBS=${BUILDLINK_LDADD.curses:Q}
+
+SUBST_CLASSES+=		makefile
+SUBST_STAGE.makefile=	pre-configure
+SUBST_MESSAGE.makefile=	Adjusting config.mk
+SUBST_FILES.makefile=	config.mk
+SUBST_SED.makefile=	-e 's,/usr/local,${PREFIX},g'
+SUBST_SED.makefile+=	-e 's,share/man,${PKGMANDIR},g'
+SUBST_SED.makefile+=	-e 's,^CFLAGS *= ,CFLAGS += ,'
+SUBST_SED.makefile+=	-e 's,^LDFLAGS *= ,LDFLAGS += ,'
+SUBST_SED.makefile+=	-e '/^CFLAGS/ s,-Os,,'
+SUBST_SED.makefile+=	-e '/CFLAGS/ s,$$,$${INCS},'
+
+USE_LANGUAGES=	c99
+
+.include "../../wip/mk/git-package.mk"
+.include "../../mk/curses.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/catpoint-git/PLIST b/catpoint-git/PLIST
new file mode 100644
index 0000000000..bb7eaa52db
--- /dev/null
+++ b/catpoint-git/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+bin/catpoint


Home | Main Index | Thread Index | Old Index