aboutsummaryrefslogtreecommitdiff
path: root/graphics/aaphoto/Makefile
blob: 92bf9d08d56ba4a9bc27abd3d798585250f07abb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
PORTNAME=	aaphoto
PORTVERSION=	0.43.1
DISTVERSIONPREFIX=	v
PORTREVISION=	15
CATEGORIES=	graphics

MAINTAINER=	mail@log69.com
COMMENT=	Auto Adjust Photo, automatic color correction of photos
WWW=		http://log69.com/aaphoto_en.html

LICENSE=	GPLv3

LIB_DEPENDS=	libjasper.so:graphics/jasper \
		libpng.so:graphics/png

USE_GITHUB=	yes
GH_ACCOUNT=	log69

GNU_CONFIGURE=	yes
USES=		jpeg

CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib

PLIST_FILES=	bin/aaphoto

.include <bsd.port.pre.mk>

.if (${ARCH} == amd64 || ${ARCH} == i386)
CFLAGS+=	-fopenmp -D__OPENMP__
.endif

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/aaphoto ${STAGEDIR}${PREFIX}/bin

.include <bsd.port.post.mk>