- Use release archive to remove need of running autoreconf

- Disable doxygen
- Use localbase USES macro

PR:		250254
Submitted by:	daniel.engberg.lists@pyret.net
This commit is contained in:
Emanuel Haupt 2020-10-11 08:57:07 +00:00
parent e213026411
commit 0920e40a4b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=552037
2 changed files with 8 additions and 12 deletions

View file

@ -2,9 +2,10 @@
# $FreeBSD$
PORTNAME= jp2a
PORTVERSION= 1.1.0
DISTVERSIONPREFIX= v
DISTVERSION= 1.1.0
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= https://github.com/Talinx/${PORTNAME}/releases/download/v${DISTVERSION}/
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Converts JPG images to ASCII
@ -12,19 +13,14 @@ COMMENT= Converts JPG images to ASCII
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= autoconf-archive>0:devel/autoconf-archive
LIB_DEPENDS= libcurl.so:ftp/curl \
libpng16.so:graphics/png
USES= autoreconf jpeg ncurses pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= Talinx
USES= jpeg localbase ncurses pkgconfig tar:bz2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-curl-config=${LOCALBASE}/bin/curl-config \
--with-jpeg-prefix=${LOCALBASE}
CONFIGURE_ARGS= --disable-doxygen-doc
CONFIGURE_ENV+= bashcompdir=${STAGEDIR}${PREFIX}/etc/bash_completion.d
MAKE_ENV+= bashcompdir=${STAGEDIR}${PREFIX}/etc/bash_completion.d

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1602335764
SHA256 (Talinx-jp2a-v1.1.0_GH0.tar.gz) = feedb8e49b34a24dd518b53d70c06ab2ce2fa6c2d3adb92caa9db61631dd9856
SIZE (Talinx-jp2a-v1.1.0_GH0.tar.gz) = 528992
TIMESTAMP = 1602351687
SHA256 (jp2a-1.1.0.tar.bz2) = 6017b83f10bae352c7786868a977a02080a4e84fb99e6fbad18086fcfedffdf4
SIZE (jp2a-1.1.0.tar.bz2) = 506247