aboutsummaryrefslogtreecommitdiffstats
path: root/misc/gman/Makefile
blob: a43712413b29fc38c96efbf40755435f2a230238 (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
# ex:ts=8
# New ports collection makefile for:    gman
# Date created:         Mar 30, 3001
# Whom:             Ying-Chieh Liao <ijliao@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   gman
PORTVERSION=    0.9.3
CATEGORIES= misc
MASTER_SITES=   http://homex.coolconnect.com/user/xkwang/gman/

MAINTAINER= ports@FreeBSD.org

LIB_DEPENDS=    jpeg.9:${PORTSDIR}/graphics/jpeg
RUN_DEPENDS=    ghostview:${PORTSDIR}/print/ghostview

USE_GTK=    yes

MAN1=   gman.1x

post-patch:
    @${PERL} -pi -e "s,^CXX =,#CXX =,g ; s,^CXXFLAGS =,CXXFLAGS+=,g ; \
        s,gtk-config,${GTK_CONFIG},g ; s,= /usr,= ${PREFIX},g ; \
        s,/var/www,${LOCALBASE}/www,g" ${WRKSRC}/Makefile

.include <bsd.port.mk>