aboutsummaryrefslogtreecommitdiffstats
path: root/news/golded+/Makefile
blob: a100a0d6011fc7b831eb04ad173c3996c0c7ae8f (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
49
50
51
# New ports collection makefile for:    golded+
# Date created:                         20 October 2003
# Whom:                                 Max Khon
#
# $FreeBSD$
#

PORTNAME=   golded+
PORTVERSION=    1.1.5.a${SNAPDATE}
CATEGORIES= news mail
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=golded-plus
DISTNAME=   gps-${SNAPDATE}
SNAPDATE=   20031224

MAINTAINER= fjoe@FreeBSD.org
COMMENT=    GoldEd+ (FTN message editor)

USE_BZIP2=  yes
USE_GMAKE=  yes

WRKSRC=     ${WRKDIR}/${PORTNAME}

MAN1=       golded.1 goldnode.1 rddt.1
DOCS=       copying copying.lib license.txt notework.txt rusfaq.txt tips.txt

post-patch:
    @cp ${WRKSRC}/golded3/mygolded.__h ${WRKSRC}/golded3/mygolded.h

do-install:
    @${INSTALL_PROGRAM} ${WRKSRC}/bin/gedlnx ${PREFIX}/bin/golded
    @${INSTALL_PROGRAM} ${WRKSRC}/bin/gnlnx ${PREFIX}/bin/goldnode
    @${INSTALL_PROGRAM} ${WRKSRC}/bin/rddtlnx ${PREFIX}/bin/rddt
    @for i in ${MAN1}; do \
        ${INSTALL_MAN} ${WRKSRC}/docs/$$i ${PREFIX}/man/man1; \
    done
    @${MKDIR} ${EXAMPLESDIR}
    @for i in charset colorset config template; do \
        ${MKDIR} ${EXAMPLESDIR}/$$i; \
        ${FIND} ${WRKSRC}/cfgs/$$i -maxdepth 1 -type f | ${XARGS} -n 1 -J @ ${INSTALL_DATA} @ ${EXAMPLESDIR}/$$i; \
    done
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    @${INSTALL_DATA} ${WRKSRC}/manuals/gold_ref.txt ${DOCSDIR}
    @${INSTALL_DATA} ${WRKSRC}/manuals/gold_usr.txt ${DOCSDIR}
    @for i in ${DOCS}; do \
        ${INSTALL_DATA} ${WRKSRC}/docs/$$i ${DOCSDIR}; \
    done
.endif

.include <bsd.port.mk>