pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
wip/jp2a: Update to 1.0.7.
Module Name: pkgsrc-wip
Committed By: ng0 <ng0%NetBSD.org@localhost>
Pushed By: ng0
Date: Sat Dec 28 17:17:27 2019 +0000
Changeset: a4827c7cc273a5323aa118ad12480ca921b933a7
Modified Files:
jp2a/Makefile
jp2a/distinfo
Added Files:
jp2a/options.mk
Log Message:
wip/jp2a: Update to 1.0.7.
Move to options.mk usage.
Source has moved to Github, no usable Changelog provided.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=a4827c7cc273a5323aa118ad12480ca921b933a7
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
jp2a/Makefile | 38 +++++++++-----------------------------
jp2a/distinfo | 7 ++++---
jp2a/options.mk | 23 +++++++++++++++++++++++
3 files changed, 36 insertions(+), 32 deletions(-)
diffs:
diff --git a/jp2a/Makefile b/jp2a/Makefile
index b76630658b..c079dc990e 100644
--- a/jp2a/Makefile
+++ b/jp2a/Makefile
@@ -1,41 +1,21 @@
# $NetBSD: Makefile,v 1.9 2012/10/01 21:43:24 asau Exp $
-#
-DISTNAME= jp2a-1.0.6
-PKGREVISION= 4
+DISTNAME= jp2a-${GITHUB_TAG:S/v//}
CATEGORIES= graphics
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=jp2a/}
+MASTER_SITES= ${MASTER_SITE_GITHUB:=cslarsen/}
+GITHUB_TAG= v1.0.7
MAINTAINER= esg%sdf.lonestar.org@localhost
-HOMEPAGE= http://jp2a.sourceforge.net/
+HOMEPAGE= https://github.com/cslarsen/jp2a
COMMENT= JPEG to ASCII converter
+LICENSE= gnu-gpl-v2
+USE_TOOLS+= automake autoconf autoreconf
GNU_CONFIGURE= yes
-.include "../../mk/bsd.prefs.mk"
-
-PKG_OPTIONS_VAR= PKG_OPTIONS.jp2a
-PKG_SUPPORTED_OPTIONS= curl curses
-PKG_SUGGESTED_OPTIONS= curses
-
-.include "../../mk/bsd.options.mk"
-
-.if empty(PKG_OPTIONS:Mcurl)
-CONFIGURE_ARGS+= --disable-curl
-.endif
-
-.if empty(PKG_OPTIONS:Mcurses)
-CONFIGURE_ARGS+= --disable-termlib
-.endif
+pre-configure:
+ (cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} autoreconf -vi)
+.include "options.mk"
.include "../../mk/jpeg.buildlink3.mk"
-
-.if !empty(PKG_OPTIONS:Mcurl)
-.include "../../www/curl/buildlink3.mk"
-.endif
-
-.if !empty(PKG_OPTIONS:Mcurses)
-.include "../../mk/curses.buildlink3.mk"
-.endif
-
.include "../../mk/bsd.pkg.mk"
diff --git a/jp2a/distinfo b/jp2a/distinfo
index c64df13e2e..925add5ae7 100644
--- a/jp2a/distinfo
+++ b/jp2a/distinfo
@@ -1,5 +1,6 @@
$NetBSD: distinfo,v 1.1.1.1 2007/09/05 13:19:31 emil_s Exp $
-SHA1 (jp2a-1.0.6.tar.gz) = 8d08a7f9428632c02351452067828af215afe2cf
-RMD160 (jp2a-1.0.6.tar.gz) = 203b87a74f6c411c2ac3c21bafb37978aab6bcfb
-Size (jp2a-1.0.6.tar.gz) = 368100 bytes
+SHA1 (jp2a-1.0.7.tar.gz) = 6ce933828f035b6a721a3e66f6fa84d3a363d2ca
+RMD160 (jp2a-1.0.7.tar.gz) = a89ba674f7234620c30456ea3da6a6cc7a696ad9
+SHA512 (jp2a-1.0.7.tar.gz) = 28bde9ee2c1a67d548275c36c3f958e3760e94f2dc03ab7cefeccf8bc0ac19978c46fddefd82b460554d3fefb092386426253114766de48ef32444e7cf20b44a
+Size (jp2a-1.0.7.tar.gz) = 113008 bytes
diff --git a/jp2a/options.mk b/jp2a/options.mk
new file mode 100644
index 0000000000..7f794f22e3
--- /dev/null
+++ b/jp2a/options.mk
@@ -0,0 +1,23 @@
+# $NetBSD$
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.jp2a
+PKG_SUPPORTED_OPTIONS= curl curses
+PKG_SUGGESTED_OPTIONS= curses
+
+.include "../../mk/bsd.options.mk"
+
+.if empty(PKG_OPTIONS:Mcurl)
+CONFIGURE_ARGS+= --disable-curl
+.endif
+
+.if empty(PKG_OPTIONS:Mcurses)
+CONFIGURE_ARGS+= --disable-termlib
+.endif
+
+.if !empty(PKG_OPTIONS:Mcurl)
+.include "../../www/curl/buildlink3.mk"
+.endif
+
+.if !empty(PKG_OPTIONS:Mcurses)
+.include "../../mk/curses.buildlink3.mk"
+.endif
Home |
Main Index |
Thread Index |
Old Index