freebsd-ports/graphics/aaphoto/Makefile
Tijl Coosemans 17d47988af - Update 0.43.1.
- Disable openmp with clang.
- Support staging.

PR:		ports/182772
Submitted by:	Andras Horvath <mail@log69.com> (maintainer)
2013-10-19 18:21:40 +00:00

40 lines
845 B
Makefile

# Created by: Andras Horvath <han@log69.com>
# $FreeBSD$
PORTNAME= aaphoto
PORTVERSION= 0.43.1
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
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
PLIST_FILES= bin/aaphoto
.include <bsd.port.pre.mk>
.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 <bsd.port.post.mk>