blob: 86573d5c1ad9f825bff7b6735e557753ff2d1386 (
plain)
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
37
38
|
# Created by: Andras Horvath <han@log69.com>
# $FreeBSD$
PORTNAME= aaphoto
PORTVERSION= 0.43.1
DISTVERSIONPREFIX= v
PORTREVISION= 3
CATEGORIES= graphics
MAINTAINER= mail@log69.com
COMMENT= Auto Adjust Photo, automatic color correction of photos
LICENSE= GPLv3
LIB_DEPENDS= libjasper.so:${PORTSDIR}/graphics/jasper \
libpng.so:${PORTSDIR}/graphics/png
USE_GITHUB= yes
GH_ACCOUNT= log69
GNU_CONFIGURE= yes
USES= compiler:openmp jpeg
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
PLIST_FILES= bin/aaphoto
.include <bsd.port.pre.mk>
.if (${ARCH} == "amd64" || ${ARCH} == "i386") && ${COMPILER_TYPE} == gcc
CFLAGS+= -fopenmp -D__OPENMP__
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/aaphoto ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.post.mk>
|