2009-12-25 14:20:24 -05:00
|
|
|
# New ports collection makefile for: aaphoto
|
|
|
|
# Date created: 2009-12-24
|
|
|
|
# Whom: Andras Horvath <han@log69.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= aaphoto
|
2011-02-02 03:36:11 -05:00
|
|
|
PORTVERSION= 0.41
|
2012-06-01 01:26:28 -04:00
|
|
|
PORTREVISION= 1
|
2009-12-25 14:20:24 -05:00
|
|
|
CATEGORIES= graphics
|
|
|
|
MASTER_SITES= http://log69.com/downloads/
|
|
|
|
DISTNAME= ${PORTNAME}_sources_v${PORTVERSION}
|
|
|
|
|
|
|
|
MAINTAINER= han@log69.com
|
|
|
|
COMMENT= Auto Adjust Photo, automatic color correction of photos
|
|
|
|
|
|
|
|
LIB_DEPENDS= jasper:${PORTSDIR}/graphics/jasper \
|
2010-03-20 15:12:48 -04:00
|
|
|
jpeg:${PORTSDIR}/graphics/jpeg \
|
2012-06-01 01:26:28 -04:00
|
|
|
png15:${PORTSDIR}/graphics/png
|
2009-12-25 14:20:24 -05:00
|
|
|
|
2010-07-20 10:35:18 -04:00
|
|
|
LICENSE= GPLv3
|
|
|
|
|
2010-12-04 02:34:27 -05:00
|
|
|
USE_AUTOTOOLS= autoheader
|
2009-12-25 14:20:24 -05:00
|
|
|
GNU_CONFIGURE= yes
|
2011-09-23 18:26:39 -04:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2009-12-25 14:20:24 -05:00
|
|
|
|
2010-03-20 15:12:48 -04:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
2009-12-25 14:20:24 -05:00
|
|
|
|
|
|
|
PLIST_FILES= bin/aaphoto
|
2010-05-17 13:23:12 -04:00
|
|
|
PORTDOCS= AUTHORS ChangeLog COPYING COPYRIGHT INSTALL LICENSE \
|
|
|
|
NEWS README TODO
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2010-07-28 03:08:31 -04:00
|
|
|
.if (${ARCH} == "amd64" || ${ARCH} == "i386") && ${OSVERSION} >= 700000
|
2010-05-23 09:21:24 -04:00
|
|
|
CFLAGS+= -fopenmp -D__OPENMP__
|
2010-05-17 13:23:12 -04:00
|
|
|
.endif
|
2009-12-25 14:20:24 -05:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
.for FILE in aaphoto
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${FILE} ${PREFIX}/bin
|
|
|
|
.endfor
|
|
|
|
|
2010-05-17 13:23:12 -04:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
.for i in ${PORTDOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|