aboutsummaryrefslogtreecommitdiffstats
path: root/editors/manedit/Makefile
blob: 40724553a2dd53c0ba0c095828608f44436954b9 (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
# New ports collection makefile for:    manedit
# Date created:             9 February 2001
# Whom:                 Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   manedit
PORTVERSION=    0.8.1
PORTREVISION=   2
CATEGORIES= editors
MASTER_SITES=   http://distro.ibiblio.org/pub/linux/distributions/amigolinux/download/Applications/Editors/manedit-0.8.1/

MAINTAINER= garga@FreeBSD.org
COMMENT=    A UNIX manual page editor and viewer

WRKSRC=     ${WRKDIR}/${DISTNAME}/${PORTNAME}

USE_BZIP2=  yes
MAKE_JOBS_SAFE= yes
USE_GNOME=  gtk12
MAKEFILE=   Makefile.FreeBSD

MAN1=       manedit.1

pre-configure:
    @${CP} ${FILESDIR}/mntent* ${WRKSRC}

post-patch:
    @${REINPLACE_CMD} -E 's,(viewerfio.c),\1 mntent_compat.c,; \
                  s,(viewerfio.h),\1 mntent.h,' \
        ${WRKSRC}/Makefile.srclist

.include <bsd.port.mk>