mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- Update 0.43.1.
- Disable openmp with clang. - Support staging. PR: ports/182772 Submitted by: Andras Horvath <mail@log69.com> (maintainer)
This commit is contained in:
parent
8fb9116223
commit
17d47988af
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=330922
4 changed files with 18 additions and 39 deletions
|
@ -2,50 +2,39 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= aaphoto
|
||||
PORTVERSION= 0.41
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 0.43.1
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= http://log69.com/downloads/
|
||||
DISTNAME= ${PORTNAME}_sources_v${PORTVERSION}
|
||||
|
||||
MAINTAINER= mail@log69.com
|
||||
COMMENT= Auto Adjust Photo, automatic color correction of photos
|
||||
|
||||
LIB_DEPENDS= jasper:${PORTSDIR}/graphics/jasper \
|
||||
jpeg:${PORTSDIR}/graphics/jpeg \
|
||||
png15:${PORTSDIR}/graphics/png
|
||||
|
||||
LICENSE= GPLv3
|
||||
|
||||
USE_AUTOTOOLS= autoheader
|
||||
LIB_DEPENDS= libjasper.so:${PORTSDIR}/graphics/jasper \
|
||||
libjpeg.so:${PORTSDIR}/graphics/jpeg \
|
||||
libpng15.so:${PORTSDIR}/graphics/png
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= log69
|
||||
GH_COMMIT= e566f9b
|
||||
GH_TAGNAME= v${PORTVERSION}
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USES= compiler
|
||||
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
||||
|
||||
PLIST_FILES= bin/aaphoto
|
||||
PORTDOCS= AUTHORS ChangeLog COPYING COPYRIGHT INSTALL LICENSE \
|
||||
NEWS README TODO
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if (${ARCH} == "amd64" || ${ARCH} == "i386") && ${OSVERSION} >= 700000
|
||||
.if (${ARCH} == "amd64" || ${ARCH} == "i386") && ${OSVERSION} >= 700000 && \
|
||||
${COMPILER_TYPE} == gcc
|
||||
CFLAGS+= -fopenmp -D__OPENMP__
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
.for FILE in aaphoto
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${FILE} ${PREFIX}/bin
|
||||
.endfor
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
.for i in ${PORTDOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/aaphoto ${STAGEDIR}${PREFIX}/bin
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (aaphoto_sources_v0.41.tar.gz) = f101ff954bcca194550f35acdcaac8e4b36df072a1c5406e73f2d3bab30d38cb
|
||||
SIZE (aaphoto_sources_v0.41.tar.gz) = 138407
|
||||
SHA256 (aaphoto-0.43.1.tar.gz) = 75c9ae7232411cf1ff83ebbe5acb9c817b5490cef08ce14cc2bd03097e7936e0
|
||||
SIZE (aaphoto-0.43.1.tar.gz) = 135277
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
top_srcdir = @top_srcdir@
|
||||
-AM_CFLAGS = -Wall -O2 -D__OPENMP__ -fopenmp
|
||||
-AM_LDFLAGS = -ljasper -ljpeg -lpng -lm -lgomp
|
||||
+AM_CFLAGS = -Wall -O2
|
||||
+AM_CFLAGS = -Wall
|
||||
+AM_LDFLAGS = -ljasper -ljpeg -lpng -lm
|
||||
aaphoto_SOURCES = aaphoto.c
|
||||
INCLUDES =
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
--- aaphoto.c.orig 2011-01-26 16:39:58.000000000 +0100
|
||||
+++ aaphoto.c 2012-04-23 19:07:00.000000000 +0200
|
||||
@@ -243,6 +243,7 @@
|
||||
#ifndef __BMP_ONLY__
|
||||
#include <jasper/jasper.h>
|
||||
#include <png.h>
|
||||
+#include <zlib.h>
|
||||
#include <jpeglib.h>
|
||||
#endif
|
||||
|
Loading…
Add table
Reference in a new issue