mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
42 lines
866 B
Makefile
42 lines
866 B
Makefile
# Created by: Andras Horvath <han@log69.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= aaphoto
|
|
PORTVERSION= 0.43.1
|
|
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 \
|
|
libjpeg.so:${PORTSDIR}/graphics/jpeg \
|
|
libpng.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 <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>
|