blob: d0531abd5c49d1633834fee4f1f553c186bfa5ed (
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
|
# Created by: Rod Person <rodperson@rodperson.com>
# $FreeBSD$
PORTNAME= fotoxx
PORTVERSION= 15.05
CATEGORIES= graphics
MASTER_SITES= GENTOO/distfiles \
http://fossies.org/linux/misc/legacy/ \
http://www.kornelix.com/uploads/1/3/0/3/13035936/
MAINTAINER= ports@FreeBSD.org
COMMENT= Application to organize and edit image collections
LICENSE= GPLv3
RUN_DEPENDS= xdg-open:${PORTSDIR}/devel/xdg-utils \
dcraw:${PORTSDIR}/graphics/dcraw \
exiftool:${PORTSDIR}/graphics/p5-Image-ExifTool \
ufraw-batch:${PORTSDIR}/graphics/ufraw
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USES= desktop-file-utils execinfo gmake pkgconfig
USE_GNOME= gtk30
ALL_TARGET= fotoxx
PORTDOCS= *
PORTDATA= *
PLIST_FILES= bin/fotoxx \
man/man1/fotoxx.1.gz \
share/appdata/fotoxx.appdata.xml \
share/applications/fotoxx.desktop
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e \
's|-ggdb|| ; \
s|-rdynamic|-Wl,-export-dynamic| ; \
s|share/man|man| ; \
s|-lpthread|-lexecinfo|' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e \
's|/usr/share/fotoxx|${DATADIR}|' ${WRKSRC}/desktop
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/fotoxx
.include <bsd.port.mk>
|