aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/qiv/Makefile
blob: 5acdda823324670f8da0794c51e4faf2c885a5e9 (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
# New ports collection makefile for:   qiv
# Version required:    1.0
# Date created:        25 December 1998
# Whom:                Bill Fumerola <billf@chc-chimes.com>
#
# $Id: Makefile,v 1.1.1.1 1998/12/27 03:26:57 billf Exp $
#

DISTNAME=   qiv-1.0
CATEGORIES= graphics
MASTER_SITES=   http://www.klografx.de/software/files/ \
        ftp://ftp.klografx.de/pub/ \
        http://www.idnet.de/~AdamK/
EXTRACT_SUFX=   .tgz

MAINTAINER= billf@FreeBSD.org

LIB_DEPENDS=    gtk11.1:${PORTSDIR}/x11-toolkits/gtk11
BUILD_DEPENDS=  imlib-config:${PORTSDIR}/graphics/imlib

USE_X_PREFIX=   yes
MAN1=       qiv.1

post-patch:

    @ ${MV} ${WRKSRC}/qiv.1 ${WRKSRC}/qiv.1.pre_sed
    @ ${SED} -e 's#\/usr\/bin#${PREFIX}/bin#g' \
    ${WRKSRC}/qiv.1.pre_sed > ${WRKSRC}/qiv.1

do-install:

    ${INSTALL_PROGRAM} ${WRKSRC}/qiv ${PREFIX}/bin/
    ${INSTALL_MAN} ${WRKSRC}/qiv.1 ${PREFIX}/man/man1/

.include <bsd.port.mk>