5d376a3b0a
From upstream git
41 lines
862 B
Makefile
41 lines
862 B
Makefile
# $OpenBSD: Makefile,v 1.19 2011/01/05 13:13:05 dcoppa Exp $
|
|
|
|
COMMENT= lightweight image viewer
|
|
|
|
DISTNAME= feh-1.10.1
|
|
REVISION= 0
|
|
EXTRACT_SUFX= .tar.bz2
|
|
CATEGORIES= graphics
|
|
|
|
HOMEPAGE= https://derf.homelinux.org/~derf/projects/feh/
|
|
|
|
MAINTAINER= Victor Sahlstedt <salan@legonet.org>
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB= Imlib2 X11 Xinerama c giblib>=1 m png
|
|
|
|
MASTER_SITES= ${HOMEPAGE}
|
|
|
|
LIB_DEPENDS= devel/giblib
|
|
|
|
# needed for jpegtran on NO_SHARED_LIBS archs
|
|
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"
|
|
FAKE_FLAGS= PREFIX="${PREFIX}"
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
.include <bsd.port.mk>
|