mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
090059a210
The affected ports are the ones with gettext as a run-dependency according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT in Makefile (29 of them). PR: ports/124340 Submitted by: edwin@ Approved by: portmgr (pav)
64 lines
1.5 KiB
Makefile
64 lines
1.5 KiB
Makefile
# New ports collection makefile for: UFRaw
|
|
# Date created: Sun 10 Apr 2005 14:44:15 BST
|
|
# Whom: markm@FreeBSD.org
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= ufraw
|
|
PORTVERSION= 0.13
|
|
PORTREVISION= 3
|
|
CATEGORIES= graphics gnome
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= infofarmer@FreeBSD.org
|
|
COMMENT= Read and manipulate raw images from digital cameras
|
|
|
|
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
|
|
tiff.4:${PORTSDIR}/graphics/tiff \
|
|
png.5:${PORTSDIR}/graphics/png \
|
|
gtkimageview.0:${PORTSDIR}/x11-toolkits/gtkimageview \
|
|
lcms.1:${PORTSDIR}/graphics/lcms
|
|
|
|
GCONF_SCHEMAS= ${PORTNAME}.schemas
|
|
GNU_CONFIGURE= yes
|
|
USE_GETTEXT= yes
|
|
USE_GMAKE= yes
|
|
USE_GNOME= gtk20 glib20 gnomehack intltool intlhack libartlgpl2 pkgconfig
|
|
|
|
LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
|
CPPFLAGS= -I${LOCALBASE}/include
|
|
CONFIGURE_ENV= LDFLAGS="${LDFLAGS}" CPPFLAGS="${CPPFLAGS}"
|
|
CONFIGURE_ARGS= --enable-mime
|
|
|
|
PC_FALSE+= cinepaint
|
|
.ifndef WITHOUT_EXIV2
|
|
LIB_DEPENDS+= exiv2:${PORTSDIR}/graphics/exiv2
|
|
.else
|
|
PC_FALSE+= exiv2
|
|
.endif
|
|
.ifndef WITHOUT_GIMP
|
|
LIB_DEPENDS+= gimp-2.0.0:${PORTSDIR}/graphics/gimp-app
|
|
PLIST_SUB+= GIMP=""
|
|
.else
|
|
PC_FALSE+= gimp
|
|
PLIST_SUB+= GIMP="@comment "
|
|
.endif
|
|
|
|
MAN1= ufraw.1
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 504105
|
|
BROKEN= Needs memmem(3)
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e '18s|^$$|#include <sys/types.h>|' ${WRKSRC}/dcraw.h
|
|
@${REINPLACE_CMD} -e '/@schemasdir/s|datadir|sysconfdir|' ${WRKSRC}/Makefile.in
|
|
.for i in ${PC_FALSE}
|
|
@${REINPLACE_CMD} -e '/PKG_CONFIG.*$i/s|$$PKG_CONFIG|${FALSE}|' ${WRKSRC}/configure
|
|
.endfor
|
|
|
|
.include <bsd.port.post.mk>
|