6bc02d8dfe
Changes since version 2.1.0: # 3.0.1 (July 5, 2007) Fix a bug involving image row cache that cause bad CA correction when the number of pixel moved is large. # 3.0.0 (July 3, 2007) Add CA fix in X and Y axis.
36 lines
969 B
Makefile
36 lines
969 B
Makefile
# $NetBSD: Makefile,v 1.9 2007/10/11 14:24:59 dsainty Exp $
|
|
#
|
|
|
|
DISTNAME= gimp-fix-ca-3.0.1
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://registry.gimp.org/file/fix-ca.c?action=download&id=9884&file=
|
|
EXTRACT_SUFX= .c
|
|
|
|
MAINTAINER= dsainty@NetBSD.org
|
|
HOMEPAGE= http://kcd.sourceforge.net/fix-ca.php
|
|
COMMENT= GIMP plugin to correct chromatic aberration (CA)
|
|
|
|
FETCH_BEFORE_ARGS+= -o ${DISTNAME}${EXTRACT_SUFX}
|
|
WRKSRC= ${WRKDIR}
|
|
NO_CONFIGURE= yes
|
|
INSTALLATION_DIRS= lib/gimp/2.0/plug-ins
|
|
|
|
USE_TOOLS+= pkg-config
|
|
|
|
LINK_PTHREAD= ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}
|
|
|
|
pre-build:
|
|
ln -sf ${LOCALBASE}/bin/gimptool-2.0 \
|
|
${BUILDLINK_DIR}/bin/gimptool
|
|
|
|
do-build:
|
|
cd "${WRKDIR}" && \
|
|
LIBS=${LINK_PTHREAD:Q} gimptool --build ${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME} \
|
|
${PREFIX}/lib/gimp/2.0/plug-ins/fix-ca
|
|
|
|
.include "../../graphics/gimp/buildlink3.mk"
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|