aboutsummaryrefslogtreecommitdiffstats
path: root/editors/fte/Makefile
blob: c89ceb79287c5f535132e6aba973bfa092e1f568 (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
# New ports collection makefile for:    fte
# Date created:             8 May 2000
# Whom:                 gelf
#
# $FreeBSD$
#

PORTNAME=       fte
PORTVERSION=        20051115
PORTREVISION=   2
CATEGORIES=     editors
MASTER_SITES=       SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
DISTFILES=      ${PORTNAME}-${PORTVERSION:S/./b/}-src.zip \
            ${PORTNAME}-${PORTVERSION:S/./b/}-common.zip
DIST_SUBDIR=    ${PORTNAME}

MAINTAINER=     acm@FreeBSD.org
COMMENT=        A full-featured text editor for X11

WRKSRC=         ${WRKDIR}/fte

USE_XORG=   x11 xpm
USE_ZIP=        yes
USE_PERL5_BUILD=    yes

post-patch:
    @${REINPLACE_CMD} -e 's,^PREFIX=,PREFIX?=,' \
        ${WRKSRC}/Makefile

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    @cd ${WRKSRC}/doc && \
        ${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${DOCSDIR}/{}" \;
.endif

.include <bsd.port.mk>