freebsd-ports/graphics/lfview/Makefile
Ed Maste 10f6ce50f1 graphics/lfview: enable PIC on i386 for lld
By default lld enforces PIC use where required.

Approved by:	portmgr (lld blanket)
Sponsored by:	The FreeBSD Foundation
2018-09-18 19:58:32 +00:00

35 lines
780 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
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>