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
|
2010-09-14 08:27:54 -04:00
|
|
|
PORTVERSION= 0.39
|
2010-09-15 14:35:24 -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 \
|
2009-12-25 14:20:24 -05:00
|
|
|
png:${PORTSDIR}/graphics/png
|
|
|
|
|
2010-07-20 10:35:18 -04:00
|
|
|
LICENSE= GPLv3
|
|
|
|
|
2010-10-16 07:52:47 -04:00
|
|
|
USE_AUTOTOOLS= autoheader:268
|
2009-12-25 14:20:24 -05:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
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>
|