33e3d901d4
modular xorg. - supply corresponding USE_XORG for all imake-using ports that need it - USE_IMAKE no longer implies USE_XLIB in absence of USE_XORG - retire USE_X_PREFIX which is not really used anywhere after the above change - a few minor nits like whitespace and SF macro Tested by: 2 tinderbox runs by pav Approved by: portmgr (pav)
39 lines
870 B
Makefile
39 lines
870 B
Makefile
# ports collection makefile for: lfview
|
|
# Date created: 24 February 1999
|
|
# Whom: 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
|
|
|
|
USE_IMAKE= yes
|
|
USE_XORG= x11 xext
|
|
USE_LDCONFIG= yes
|
|
NO_INSTALL_MANPAGES= yes
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} == "amd64"
|
|
CFLAGS+= -fPIC
|
|
MAKE_ENV= "SHLIBGLOBALSFLAGS=-fPIC"
|
|
.endif
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/lfview ${PREFIX}/bin
|
|
${INSTALL_DATA} ${WRKSRC}/plugins/liblfv_leaf.so.1 ${PREFIX}/lib
|
|
${LN} -s ${PREFIX}/lib/liblfv_leaf.so.1 ${PREFIX}/lib/liblfv_leaf.so
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${PREFIX}/share/doc/ja/lfview
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ja/lfview
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|