freebsd-ports/graphics/lfview/Makefile
Niclas Zeising be6c15b5c6 Add USES=xorg USES=gl, ports categories g
Add USES=xorg and USES=gl to ports in categories starting with 'g'.
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
2019-11-05 22:16:14 +00:00

34 lines
785 B
Makefile

# Created by: Yuu Yashiki
# $FreeBSD$
PORTNAME= lfview
PORTVERSION= 1.1a
PORTREVISION= 3
CATEGORIES= graphics
MASTER_SITES= http://hoshina.denpa.org/
MAINTAINER= ports@FreeBSD.org
COMMENT= Graphic viewer for Leaf products
USES= imake tar:tgz xorg
USE_XORG= x11 xext
USE_LDCONFIG= yes
OPTIONS_DEFINE= DOCS
DOCSDIR= ${PREFIX}/share/doc/ja/lfview
.include <bsd.port.options.mk>
CFLAGS+= -fPIC
MAKE_ENV+= SHLIBGLOBALSFLAGS=-fPIC
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/lfview ${STAGEDIR}${PREFIX}/bin
${INSTALL_LIB} ${WRKSRC}/plugins/liblfv_leaf.so.1 ${STAGEDIR}${PREFIX}/lib
${LN} -sf liblfv_leaf.so.1 ${STAGEDIR}${PREFIX}/lib/liblfv_leaf.so
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>