mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
92bd52ca14
- Stage support - Fix build on head amd64 (MAKE_ENV was overriden) - Add missing OPTIONS_DEFINE PR: ports/185514 Submitted by: KATO Tsuguru
38 lines
830 B
Makefile
38 lines
830 B
Makefile
# Created by: Yuu Yashiki
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= lfview
|
|
PORTVERSION= 1.1a
|
|
PORTREVISION= 2
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://hoshina.denpa.org/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Graphic viewer for Leaf products
|
|
|
|
USES= imake
|
|
USE_XORG= x11 xext
|
|
USE_LDCONFIG= yes
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
DOCSDIR= ${PREFIX}/share/doc/ja/lfview
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${ARCH} != i386
|
|
CFLAGS+= -fPIC
|
|
MAKE_ENV+= SHLIBGLOBALSFLAGS=-fPIC
|
|
.endif
|
|
|
|
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
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|