aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/c-a-i-r/Makefile
blob: 05544e7d52260a3eebf0cb7aea3173e3d1c97bae (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
# New ports collection makefile for:    c-a-i-r
# Date created:             18 Oct 2008
# Whom:                 buganini@gmail.com
#
# $FreeBSD$
#

PORTNAME=   c-a-i-r
PORTVERSION=    2.16
CATEGORIES= graphics
MASTER_SITES=   SF
DISTNAME=   CAIR_MT_v2.16

MAINTAINER= buganini@gmail.com
COMMENT=    Content Aware Image Resizer is an implementation of seam carving

USE_ZIP=    yes
USE_GMAKE=  yes

WRKSRC=     ${WRKDIR}

PLIST_FILES=    bin/cair

.include <bsd.port.pre.mk>

.if ${ARCH} == amd64
EXTRA_PATCHES=  ${PATCHDIR}/amd64-CAIR.cpp
.endif

do-install:
    ${INSTALL_SCRIPT} ${WRKDIR}/cair ${PREFIX}/bin

.include <bsd.port.post.mk>