Lines 2-8
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= sxiv |
4 |
PORTNAME= sxiv |
5 |
PORTVERSION= 1.3.2 |
5 |
PORTVERSION= 24 |
6 |
DISTVERSIONPREFIX= v |
6 |
DISTVERSIONPREFIX= v |
7 |
CATEGORIES= graphics |
7 |
CATEGORIES= graphics |
8 |
|
8 |
|
Lines 12-23
Link Here
|
12 |
LICENSE= GPLv2 |
12 |
LICENSE= GPLv2 |
13 |
|
13 |
|
14 |
LIB_DEPENDS= libImlib2.so:graphics/imlib2 \ |
14 |
LIB_DEPENDS= libImlib2.so:graphics/imlib2 \ |
15 |
libexif.so:graphics/libexif |
15 |
libexif.so:graphics/libexif \ |
|
|
16 |
libgif.so:graphics/giflib |
16 |
|
17 |
|
17 |
USE_GITHUB= yes |
18 |
USE_GITHUB= yes |
18 |
GH_ACCOUNT= muennich |
19 |
GH_ACCOUNT= muennich |
19 |
USES= pkgconfig gmake |
20 |
USES= pkgconfig gmake |
20 |
USE_XORG= x11 |
21 |
USE_XORG= x11 xft |
21 |
|
22 |
|
22 |
PLIST_FILES= bin/sxiv \ |
23 |
PLIST_FILES= bin/sxiv \ |
23 |
man/man1/sxiv.1.gz \ |
24 |
man/man1/sxiv.1.gz \ |
Lines 24-29
Link Here
|
24 |
share/sxiv/exec/image-info \ |
25 |
share/sxiv/exec/image-info \ |
25 |
share/sxiv/exec/key-handler |
26 |
share/sxiv/exec/key-handler |
26 |
|
27 |
|
|
|
28 |
post-patch: |
29 |
@${REINPLACE_CMD} \ |
30 |
-e '/^MANPREFIX/s|share/man|man|' \ |
31 |
-e '/^CC/d' \ |
32 |
-e '/^DEF_CFLAGS/s|$$| -I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2|' \ |
33 |
-e '/^AUTORELOAD/s|inotify|nop|' \ |
34 |
-e '/^LDLIBS/s|\\$$|-L${LOCALBASE}/lib \\|' \ |
35 |
${WRKSRC}/Makefile |
36 |
|
27 |
post-install: |
37 |
post-install: |
28 |
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/sxiv |
38 |
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/sxiv |
29 |
|
39 |
|