mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
1b13452762
tricky for others to work on the ports tree, this will also bring more visible to portroach of those which are outdated
46 lines
973 B
Makefile
46 lines
973 B
Makefile
COMMENT= lightweight image viewer
|
|
|
|
DISTNAME= feh-3.10.3
|
|
EXTRACT_SUFX= .tar.bz2
|
|
CATEGORIES= graphics
|
|
FIX_EXTRACT_PERMISSIONS=Yes
|
|
REVISION= 0
|
|
|
|
HOMEPAGE= https://feh.finalrewind.org/
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
WANTLIB= Imlib2 X11 Xinerama c curl exif m png
|
|
|
|
SITES= ${HOMEPAGE}
|
|
|
|
LIB_DEPENDS= graphics/imlib2 \
|
|
graphics/libexif \
|
|
net/curl
|
|
|
|
RUN_DEPENDS+= devel/desktop-file-utils \
|
|
x11/gtk+4,-guic
|
|
TEST_DEPENDS= devel/p5-Test-Command
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include \
|
|
-I${X11BASE}/include \
|
|
-std=gnu99
|
|
LDFLAGS+= -L${LOCALBASE}/lib -L${X11BASE}/lib
|
|
MAKE_FLAGS= LDFLAGS="${LDFLAGS}" \
|
|
man_dir="${DESTDIR}${PREFIX}/man" \
|
|
example_dir="${DESTDIR}${PREFIX}/share/examples/feh" \
|
|
exif=1 verscmp=0
|
|
FAKE_FLAGS= PREFIX="${PREFIX}"
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
pre-configure:
|
|
${SUBST_CMD} ${WRKSRC}/examples/themes ${WRKSRC}/man/feh.pre \
|
|
${WRKSRC}/src/{events,keyevents,options}.c
|
|
|
|
post-install:
|
|
rm -f ${PREFIX}/share/examples/feh/themes${PATCHORIG}
|
|
|
|
.include <bsd.port.mk>
|