pkgsrc/graphics/gimp2-wideangle/Makefile
wiz 833922aab2 Revbump for
a) tiff update to 4.0 (shlib major change)
b) glib2 update 2.30.2 (adds libffi dependency to buildlink3.mk)

Enjoy.
2012-02-06 12:39:49 +00:00

35 lines
993 B
Makefile

# $NetBSD: Makefile,v 1.34 2012/02/06 12:40:24 wiz Exp $
#
DISTNAME= wideangle
PKGNAME= gimp2-wideangle-1.0
PKGREVISION= 23
CATEGORIES= graphics
MASTER_SITES= http://members.ozemail.com.au/~hodsond/
EXTRACT_SUFX= .c
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://members.ozemail.com.au/~hodsond/wideangle.html
COMMENT= GIMP plugin for wideangle lens distortions
PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= pkg-config
DIST_SUBDIR= ${PKGNAME_NOREV}
WRKSRC= ${WRKDIR}
LINK_PTHREAD= ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}
LINK_PTHREAD+= -lm # Tack on, explicit for binutils 2.22 linker
do-build:
(cd ${WRKSRC} && LIBS=${LINK_PTHREAD:Q} gimptool-2.0 --build wideangle.c)
do-install:
plugindir=`gimptool-2.0 --gimpplugindir` && \
${INSTALL_DATA_DIR} ${DESTDIR}$${plugindir}/plug-ins && \
${INSTALL_PROGRAM} ${WRKSRC}/wideangle ${DESTDIR}$${plugindir}/plug-ins
.include "../../graphics/gimp/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"