Initial check-in of the FreeBSD port files.

GoldED snapshot 2003-05-12
This commit is contained in:
a1s 2003-06-06 09:38:48 +00:00
parent fdb527747e
commit 37e5560578
4 changed files with 219 additions and 0 deletions

71
FreeBSD/port/Makefile Normal file
View File

@ -0,0 +1,71 @@
# New ports collection makefile for: GoldED+
# Date created: 4 June 2003
# Whom: alexander smishlajev
#
# $FreeBSD$
#
PORTNAME= golded
PORTVERSION= 1.1.4.7.$(PORTSNAPSHOT)
CATEGORIES= news
MASTER_SITES= http://mik.nu/golded-plus/development/
DISTNAME= gps$(PORTSNAPSHOT)
MAINTAINER= alex@tycobka.lv
COMMENT= Full-featured mail/news reader for Fidonet and Internet
PORTSNAPSHOT= 30512
USE_BZIP2= yes
MAN1= golded.1 goldnode.1 rddt.1
MANCOMPRESSED= no
USE_GMAKE= yes
NO_WRKSUBDIR= yes
USE_REINPLACE= yes
DOCS= copying copying.lib license.txt notework.txt rusfaq.txt tips.txt
DOCDIR= $(PREFIX)/share/golded
do-configure:
@${SED} \
-e 's,^\(#define __GVER_VENDOR_NAME__\).*,\1 "Alexander S. Aganichev",' \
-e 's,\(#define __GVER_VENDOR_FIDO__\).*,\1 "2:5020/201.58",' \
-e 's,\(#define __GVER_VENDOR_EMAIL__\).*,\1 "asa@users.sf.net",' \
-e 's,\(#define __GVER_RELEASENAME__\).*,\1 "FreeBSD port",' \
<${WRKSRC}/golded3/mygolded.__h >${WRKSRC}/golded3/mygolded.h
.if defined(USE_KOI8)
@${REINPLACE_CMD} -e 's,#-DKOI8,-DKOI8,' ${WRKSRC}/GNUmakef.def
.endif
# snapshot distribution uses CRLF line endings but gcc requires LF
# remove CR characters from all sources
# XXX is it possible to match \r? how?
pre-build:
@${FIND} ${WRKSRC} -name '*.cpp' -or -name '*.c' -or -name '*.h' \
-or -name '*.1' -or -name '*.txt' \
-or -name '*.cfg' -or -name '*.tpl' \
-or -name '*.chs' -or -name '*.esc' \
| ${XARGS} ${REINPLACE_CMD} -e 's,[[:cntrl:]]$$,,'
@${FIND} ${WRKSRC} -name '*.bak' -delete
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 dir in charset colorset config template; do \
${MKDIR} ${DOCDIR}/$$dir; \
for file in `${LS} ${WRKSRC}/cfgs/$$dir|${GREP} -v CVS`; do\
${INSTALL_DATA} ${WRKSRC}/cfgs/$$dir/$$file ${DOCDIR}/$$dir; \
done; \
done
for f in $(MAN1); do \
${INSTALL_MAN} ${WRKSRC}/docs/$$f ${MAN1PREFIX}/man/man1; \
done
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCDIR}
for f in $(DOCS); do \
${INSTALL_MAN} ${WRKSRC}/docs/$$f ${DOCDIR}; \
done
.endif
.include <bsd.port.mk>

1
FreeBSD/port/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (gps30512.tar.bz2) = 606c2c93db12e2c22881a65577d5591c

9
FreeBSD/port/pkg-descr Normal file
View File

@ -0,0 +1,9 @@
GoldED+ is a successor of GoldED - a full-featured
mail/news reader for Fidonet and Internet originally
written by Odinn Sorensen. It is highly configurable,
using plain text files. It supports a wide variety
of messagebase formats, including JAM, Squish, *.MSG,
Hudson, Goldbase, PCBoard, WildCat! and AdeptXBBS.
WWW: http://golded-plus.sourceforge.net
WWW: http://mik.nu/golded-plus/ (Swedish mirror site)

138
FreeBSD/port/pkg-plist Normal file
View File

@ -0,0 +1,138 @@
@comment $FreeBSD$
bin/golded
bin/goldnode
bin/rddt
share/golded/charset/850_850.chs
share/golded/charset/850_asc.chs
share/golded/charset/can_asc.chs
share/golded/charset/can_ibm.chs
share/golded/charset/cmp_ibm.esc
share/golded/charset/dut_asc.chs
share/golded/charset/dut_ibm.chs
share/golded/charset/fin_asc.chs
share/golded/charset/fin_ibm.chs
share/golded/charset/frn_asc.chs
share/golded/charset/frn_ibm.chs
share/golded/charset/ger_asc.chs
share/golded/charset/ger_ibm.chs
share/golded/charset/i1m_ibm.chs
share/golded/charset/i51_ibm.esc
share/golded/charset/ibm_asc.chs
share/golded/charset/ibm_cmp.chs
share/golded/charset/ibm_i51.chs
share/golded/charset/ibm_ibm.chs
share/golded/charset/ibm_iqp.chs
share/golded/charset/ibm_iso.chs
share/golded/charset/ibm_mac.chs
share/golded/charset/ibm_mne.chs
share/golded/charset/ibm_swe.chs
share/golded/charset/ibm_vt1.chs
share/golded/charset/iqp_850.chs
share/golded/charset/iqp_ibm.chs
share/golded/charset/iso_850.chs
share/golded/charset/iso_asc.chs
share/golded/charset/iso_ibm.chs
share/golded/charset/iso_iso.chs
share/golded/charset/iso_mac.chs
share/golded/charset/iso_vt1.chs
share/golded/charset/ita_asc.chs
share/golded/charset/itl_ibm.chs
share/golded/charset/mac_850.chs
share/golded/charset/mac_asc.chs
share/golded/charset/mac_ibm.chs
share/golded/charset/mac_iso.chs
share/golded/charset/mac_vt1.chs
share/golded/charset/mne_850.esc
share/golded/charset/mne_ibm.esc
share/golded/charset/nor_asc.chs
share/golded/charset/nor_ibm.chs
share/golded/charset/prt_asc.chs
share/golded/charset/prt_ibm.chs
share/golded/charset/spn_asc.chs
share/golded/charset/spn_ibm.chs
share/golded/charset/swe_asc.chs
share/golded/charset/swe_ibm.chs
share/golded/charset/swi_asc.chs
share/golded/charset/swi_ibm.chs
share/golded/charset/uk__asc.chs
share/golded/charset/uk__ibm.chs
share/golded/charset/865_iso.chs
share/golded/charset/866_koi.chs
share/golded/charset/866_win.chs
share/golded/charset/koi_866.chs
share/golded/charset/win_866.chs
share/golded/charset/866_kou.chs
share/golded/charset/866_ukr.chs
share/golded/charset/kou_866.chs
share/golded/charset/kou_ukr.chs
share/golded/charset/ukr_866.chs
share/golded/charset/ukr_koi.chs
share/golded/charset/ukr_kou.chs
share/golded/charset/ukr_ukr.chs
share/golded/charset/850_iqp.chs
share/golded/charset/850_iso.chs
share/golded/colorset/gedcol00.cfg
share/golded/colorset/gedcol01.cfg
share/golded/colorset/gedcol02.cfg
share/golded/colorset/gedcol03.cfg
share/golded/colorset/gedcol04.cfg
share/golded/colorset/gedcol05.cfg
share/golded/colorset/gedcol06.cfg
share/golded/colorset/gedcol07.cfg
share/golded/colorset/gedcol08.cfg
share/golded/colorset/gedcol09.cfg
share/golded/colorset/gedcol10.cfg
share/golded/colorset/gedcol11.cfg
share/golded/colorset/gedcol12.cfg
share/golded/colorset/gedcol13.cfg
share/golded/colorset/gedcol14.cfg
share/golded/colorset/gedcol15.cfg
share/golded/colorset/gedcol16.cfg
share/golded/colorset/gedcol17.cfg
share/golded/colorset/gedcol18.cfg
share/golded/colorset/gedcol19.cfg
share/golded/colorset/gedcol20.cfg
share/golded/colorset/gedcol21.cfg
share/golded/colorset/gedcol22.cfg
share/golded/colorset/gedcol23.cfg
share/golded/colorset/gedmon00.cfg
share/golded/colorset/gedmon01.cfg
share/golded/colorset/gedmon02.cfg
share/golded/config/advanced.cfg
share/golded/config/gedlngdk.cfg
share/golded/config/gedlngit.cfg
share/golded/config/gedlngnl.cfg
share/golded/config/gedlngus.cfg
share/golded/config/goldhelp.cfg
share/golded/config/goldkeys.cfg
share/golded/config/goldlang.cfg
share/golded/config/goldlang.ger
share/golded/config/goldlang.it
share/golded/config/goldlang.nl
share/golded/config/goldlang.ru2
share/golded/config/goldlang.rus
share/golded/config/goldlang.sv
share/golded/config/simple.cfg
share/golded/config/gedcolor.cfg
share/golded/config/goldhelp.rus
share/golded/config/gedcolor.rus
share/golded/config/advanced.rus
share/golded/config/goldkeys.rus
share/golded/config/goldlang.ru3
share/golded/template/dansk.tpl
share/golded/template/default.tpl
share/golded/template/email.tpl
share/golded/template/golded.cfm
share/golded/template/golded.tpl
share/golded/template/newsgrps.tpl
%%PORTDOCS%%share/golded/copying
%%PORTDOCS%%share/golded/copying.lib
%%PORTDOCS%%share/golded/license.txt
%%PORTDOCS%%share/golded/notework.txt
%%PORTDOCS%%share/golded/rusfaq.txt
%%PORTDOCS%%share/golded/tips.txt
@dirrm share/golded/charset
@dirrm share/golded/colorset
@dirrm share/golded/config
@dirrm share/golded/template
@dirrm share/golded