openbsd-ports/graphics/feh/Makefile

49 lines
1.1 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.46 2012/12/05 13:44:35 dcoppa Exp $
COMMENT= lightweight image viewer
2012-10-16 09:22:10 -04:00
DISTNAME= feh-2.7
REVISION= 0
EXTRACT_SUFX= .tar.bz2
CATEGORIES= graphics
HOMEPAGE= http://feh.finalrewind.org/
MAINTAINER= David Coppa <dcoppa@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= Imlib2 X11 Xinerama c curl exif giblib>=1 m png
MASTER_SITES= ${HOMEPAGE}
LIB_DEPENDS= devel/giblib \
graphics/libexif \
net/curl
# needed for jpegtran on NO_SHARED_LIBS archs
2010-11-17 03:05:12 -05:00
RUN_DEPENDS= graphics/jpeg
CFLAGS+= -I${LOCALBASE}/include \
-I${LOCALBASE}/include/libpng \
-I${X11BASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -L${X11BASE}/lib
MAKE_FLAGS= LDFLAGS="${LDFLAGS}" man_dir="${DESTDIR}${PREFIX}/man" \
example_dir="${DESTDIR}${PREFIX}/share/examples/feh"
FAKE_FLAGS= PREFIX="${PREFIX}"
USE_GMAKE= Yes
NO_REGRESS= Yes
post-configure:
2011-10-11 03:49:07 -04:00
${SUBST_CMD} ${WRKSRC}/examples/themes ${WRKSRC}/man/feh.pre \
${WRKSRC}/src/events.c ${WRKSRC}/src/keyevents.c \
${WRKSRC}/src/options.c
.include <bsd.port.mk>