blob: 04bbe37b7639b4abf3c0cf14bcfd98e2ed57c523 (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# Created by: Rod Person <rodperson@rodperson.com>
PORTNAME= fotoxx
PORTVERSION= 22.12
CATEGORIES= graphics
MASTER_SITES= https://kornelix.net/downloads/downloads/
MAINTAINER= danfe@FreeBSD.org
COMMENT= Application to organize and edit image collections
LICENSE= GPLv3+
LIB_DEPENDS= libchamplain-gtk-0.12.so:graphics/libchamplain \
libclutter-gtk-1.0.so:graphics/clutter-gtk3 \
liblcms2.so:graphics/lcms2 \
libpng.so:graphics/png \
libtiff.so:graphics/tiff
RUN_DEPENDS= xdg-open:devel/xdg-utils \
exiftool:graphics/p5-Image-ExifTool \
ufraw-batch:graphics/ufraw
USES= desktop-file-utils gmake gnome jpeg pkgconfig
USE_GNOME= cairo glib20 gdkpixbuf2 gtk30
ALL_TARGET= fotoxx
WRKSRC= ${WRKDIR}/${PORTNAME}
PORTDOCS= *
PORTDATA= *
PLIST_FILES= bin/fotoxx \
share/man/man1/fotoxx.1.gz \
share/applications/fotoxx.desktop
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e \
's,= thread,= cartoon::thread,' ${WRKSRC}/f.effects.cc
@${REINPLACE_CMD} -e \
'/#include <sys\/prctl\.h>/d' ${WRKSRC}/f.meta.cc
@${REINPLACE_CMD} -e \
's,pidof,pgrep -d\\\\ ,' ${WRKSRC}/fotoxx.cc
@${REINPLACE_CMD} -e \
'/#include/s,wait\.h,sys/&,' ${WRKSRC}/fotoxx.h
@${REINPLACE_CMD} -e \
's|/usr/share/fotoxx|${DATADIR}|' ${WRKSRC}/fotoxx.desktop
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/fotoxx
.include <bsd.port.mk>
|