aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/lfview/Makefile
blob: e680a26aa56dec71ebdc1e1a3884dd85cf556d6a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# ports collection makefile for:    lfview
# Date created:     24 February 1999
# Whom:         Yuu Yashiki
#
# $FreeBSD$
#

PORTNAME=   lfview
PORTVERSION=    1.1a
CATEGORIES= graphics
MASTER_SITES=   http://hoshina.denpa.org/
EXTRACT_SUFX=   .tgz

MAINTAINER= ports@FreeBSD.org
COMMENT=    Graphic viewer for Leaf products

USE_IMAKE=  yes
INSTALLS_SHLIB= 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>