# Created by: Andras Horvath # $FreeBSD$ PORTNAME= aaphoto PORTVERSION= 0.43.1 PORTREVISION= 2 CATEGORIES= graphics MAINTAINER= mail@log69.com COMMENT= Auto Adjust Photo, automatic color correction of photos LICENSE= GPLv3 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:openmp CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib PLIST_FILES= bin/aaphoto .include .if (${ARCH} == "amd64" || ${ARCH} == "i386") && ${OSVERSION} >= 700000 && \ ${COMPILER_TYPE} == gcc CFLAGS+= -fopenmp -D__OPENMP__ .endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/aaphoto ${STAGEDIR}${PREFIX}/bin .include