2012-12-05 08:44:35 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.46 2012/12/05 13:44:35 dcoppa Exp $
|
2004-07-12 10:13:51 -04:00
|
|
|
|
2007-09-15 16:09:40 -04:00
|
|
|
COMMENT= lightweight image viewer
|
2004-07-12 10:13:51 -04:00
|
|
|
|
2012-10-16 09:22:10 -04:00
|
|
|
DISTNAME= feh-2.7
|
2012-12-05 08:44:35 -05:00
|
|
|
REVISION= 0
|
2010-07-11 10:46:13 -04:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2004-07-12 10:13:51 -04:00
|
|
|
CATEGORIES= graphics
|
|
|
|
|
2011-05-02 17:22:58 -04:00
|
|
|
HOMEPAGE= http://feh.finalrewind.org/
|
2004-07-12 10:13:51 -04:00
|
|
|
|
2011-05-02 17:22:58 -04:00
|
|
|
MAINTAINER= David Coppa <dcoppa@openbsd.org>
|
2004-07-12 10:13:51 -04:00
|
|
|
|
|
|
|
# BSD
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2012-03-09 03:48:42 -05:00
|
|
|
WANTLIB= Imlib2 X11 Xinerama c curl exif giblib>=1 m png
|
2010-07-11 10:46:13 -04:00
|
|
|
|
|
|
|
MASTER_SITES= ${HOMEPAGE}
|
2004-07-12 10:13:51 -04:00
|
|
|
|
2011-05-02 17:22:58 -04:00
|
|
|
LIB_DEPENDS= devel/giblib \
|
2012-03-09 03:48:42 -05:00
|
|
|
graphics/libexif \
|
2011-05-02 17:22:58 -04:00
|
|
|
net/curl
|
2004-07-12 10:13:51 -04:00
|
|
|
|
2010-09-13 03:24:23 -04:00
|
|
|
# needed for jpegtran on NO_SHARED_LIBS archs
|
2010-11-17 03:05:12 -05:00
|
|
|
RUN_DEPENDS= graphics/jpeg
|
2010-09-13 03:24:23 -04:00
|
|
|
|
2010-07-11 10:46:13 -04:00
|
|
|
CFLAGS+= -I${LOCALBASE}/include \
|
|
|
|
-I${LOCALBASE}/include/libpng \
|
|
|
|
-I${X11BASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib -L${X11BASE}/lib
|
2011-05-02 17:22:58 -04:00
|
|
|
MAKE_FLAGS= LDFLAGS="${LDFLAGS}" man_dir="${DESTDIR}${PREFIX}/man" \
|
|
|
|
example_dir="${DESTDIR}${PREFIX}/share/examples/feh"
|
2010-07-11 10:46:13 -04:00
|
|
|
FAKE_FLAGS= PREFIX="${PREFIX}"
|
2004-07-12 10:13:51 -04:00
|
|
|
|
2010-07-11 10:46:13 -04:00
|
|
|
USE_GMAKE= Yes
|
2010-12-07 03:42:35 -05:00
|
|
|
|
2004-07-12 10:13:51 -04:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2011-05-02 17:22:58 -04:00
|
|
|
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
|
2011-05-02 17:22:58 -04:00
|
|
|
|
2004-07-12 10:13:51 -04:00
|
|
|
.include <bsd.port.mk>
|