aboutsummaryrefslogtreecommitdiffstats
path: root/print/gv/Makefile
blob: a6698662ea57be4f4dc5c685f6b364046cd614c4 (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
38
39
40
41
42
43
44
45
46
47
48
# ex:ts=8
# Ports collection makefile for:  gv
# Date created:           16 Apr 1996
# Whom:               tg@freebsd.org
#
# $FreeBSD$
#

PORTNAME=   gv
PORTVERSION=    3.6.9
CATEGORIES= print
MASTER_SITES=   ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= bf1783@gmail.com
COMMENT=    A PostScript and PDF previewer

LIB_DEPENDS=    Xaw3d:${PORTSDIR}/x11-toolkits/Xaw3d

USE_XORG=   xpm ice sm xext xmu x11
USE_GHOSTSCRIPT=    yes
USE_GMAKE=  yes
USE_ICONV=  yes
GNU_CONFIGURE=  yes
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" \
        LDFLAGS="${LDFLAGS}" \
        LIBS="-liconv"
CONFIGURE_ARGS+=    --libdir=${PREFIX}/lib/X11 \
            --enable-setenv-code \
            --enable-SIGCHLD-fallback

MAN1=       gv.1 gv-update-userconfig.1
INFO=       gv
PLIST_FILES=    bin/gv \
        bin/gv-update-userconfig \
        ${DATADIR_REL}/gv_class.ad \
        ${DATADIR_REL}/gv_copyright.dat \
        ${DATADIR_REL}/gv_spartan.dat \
        ${DATADIR_REL}/gv_system.ad \
        ${DATADIR_REL}/gv_user.ad \
        ${DATADIR_REL}/gv_user_res.dat \
        ${DATADIR_REL}/gv_widgetless.dat \
        lib/X11/app-defaults/GV
PLIST_DIRS= ${DATADIR_REL}

.include <bsd.port.mk>