mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
Configuration library for Husky Fidosoft Project.
Development version. Husky is complete freeware suite of Fidonet applications. WWW: http://husky.sourceforge.net/ PR: ports/88025 Submitted by: Oleg Sharoiko <os@rsu.ru>
This commit is contained in:
parent
c88c89aca6
commit
93aada4d37
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=146411
@ -27,6 +27,7 @@
|
||||
SUBDIR += husky-base-devel
|
||||
SUBDIR += husky-bsopack
|
||||
SUBDIR += husky-fidoconf
|
||||
SUBDIR += husky-fidoconf-devel
|
||||
SUBDIR += husky-hpt
|
||||
SUBDIR += husky-hptkill
|
||||
SUBDIR += husky-hptsqfix
|
||||
|
49
news/husky-fidoconf-devel/Makefile
Normal file
49
news/husky-fidoconf-devel/Makefile
Normal file
@ -0,0 +1,49 @@
|
||||
# New ports collection makefile for: husky-fidoconf-devel
|
||||
# Date created: 2005-10-26
|
||||
# Whom: Oleg Sharoiko <os@rsu.ru>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= fidoconf
|
||||
DISTVERSION= 1.4-rc4
|
||||
CATEGORIES= news mail
|
||||
DISTNAME= ${PORTNAME}-${DISTVERSION}-src
|
||||
|
||||
MAINTAINER= os@rsu.ru
|
||||
COMMENT= Configuration library for Husky Fidosoft Project. Development version
|
||||
|
||||
LIB_DEPENDS= smapi.2:${PORTSDIR}/news/husky-smapi-devel
|
||||
RUN_DEPENDS= ${LOCALBASE}/etc/fido/huskymak.cfg:${PORTSDIR}/news/husky-base-devel
|
||||
|
||||
CONFLICTS= husky-fidoconf-[0-9]*
|
||||
|
||||
INSTALLS_SHLIB= yes
|
||||
NO_FILTER_SHLIBS= yes
|
||||
INSTALL_TARGET= install install-man
|
||||
USE_REINPLACE= yes
|
||||
|
||||
MAN1= dumpfcfg.1 fconf2.1 linked.1 linkedto.1 tparser.1
|
||||
MLINKS= fconf2.1 fconf2aquaed.1 \
|
||||
fconf2.1 fconf2areasbbs.1 \
|
||||
fconf2.1 fconf2binkd.1 \
|
||||
fconf2.1 fconf2dir.1 \
|
||||
fconf2.1 fconf2fidogate.1 \
|
||||
fconf2.1 fconf2golded.1 \
|
||||
fconf2.1 fconf2msged.1 \
|
||||
fconf2.1 fconf2na.pl.1 \
|
||||
fconf2.1 fconf2squish.1 \
|
||||
fconf2.1 fconf2tornado.1 \
|
||||
fconf2.1 fecfg2fconf.1
|
||||
INFO= fidoconfig
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's^/fido/etc/config^${PREFIX}/etc/fido/config^' \
|
||||
${WRKSRC}/man/dumpfcfg.1
|
||||
@${REINPLACE_CMD} -e 's^/etc/fido/config^${PREFIX}/etc/fido/config^' \
|
||||
${WRKSRC}/man/fconf2.1 \
|
||||
${WRKSRC}/man/tparser.1
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.include "${.CURDIR}/../../news/husky-base-devel/Makefile.inc"
|
||||
.include <bsd.port.post.mk>
|
2
news/husky-fidoconf-devel/distinfo
Normal file
2
news/husky-fidoconf-devel/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (husky/fidoconf-1.4-rc4-src.tar.gz) = 4a3d9780c978b82ccefeffc1b585885f
|
||||
SIZE (husky/fidoconf-1.4-rc4-src.tar.gz) = 259197
|
49
news/husky-fidoconf-devel/files/patch-Makefile
Normal file
49
news/husky-fidoconf-devel/files/patch-Makefile
Normal file
@ -0,0 +1,49 @@
|
||||
--- Makefile.orig Wed Oct 19 20:29:25 2005
|
||||
+++ Makefile Wed Oct 19 20:32:23 2005
|
||||
@@ -87,7 +87,7 @@
|
||||
progs: commonprogs
|
||||
|
||||
ifeq ($(DYNLIBS), 1)
|
||||
- all: commonlibs ranlib $(LIBFIDOCONFIG).so.$(VER)
|
||||
+ all: commonlibs ranlib $(LIBFIDOCONFIG).so.$(VERMAJOR)
|
||||
$(MAKE) progs
|
||||
(cd doc && $(MAKE) all)
|
||||
else
|
||||
@@ -105,28 +105,26 @@
|
||||
(cd doc && $(MAKE) distclean)
|
||||
|
||||
ifeq (~$(MKSHARED)~, ~ld~)
|
||||
-$(LIBFIDOCONFIG).so.$(VER): $(LOBJS)
|
||||
- $(LD) $(LFLAGS) -o $(LIBFIDOCONFIG).so.$(VER) \
|
||||
+$(LIBFIDOCONFIG).so.$(VERMAJOR): $(LOBJS)
|
||||
+ $(LD) $(LFLAGS) -o $(LIBFIDOCONFIG).so.$(VERMAJOR) \
|
||||
$(LOBJS) $(LOPT)
|
||||
else
|
||||
-$(LIBFIDOCONFIG).so.$(VER): $(LOBJS)
|
||||
- $(CC) -shared -Wl,-soname,$(LIBFIDOCONFIG).so.$(VERH) \
|
||||
- -o $(LIBFIDOCONFIG).so.$(VER) $(LOBJS) $(LOPT)
|
||||
+$(LIBFIDOCONFIG).so.$(VERMAJOR): $(LOBJS)
|
||||
+ $(CC) -shared -Wl,-soname,$(LIBFIDOCONFIG).so.$(VERMAJOR) \
|
||||
+ -o $(LIBFIDOCONFIG).so.$(VERMAJOR) $(LOBJS) $(LOPT)
|
||||
endif
|
||||
- $(LN) $(LNOPT) $(LIBFIDOCONFIG).so.$(VER) $(LIBFIDOCONFIG).so.$(VERH) ;\
|
||||
- $(LN) $(LNOPT) $(LIBFIDOCONFIG).so.$(VER) $(LIBFIDOCONFIG).so
|
||||
+ $(LN) $(LNOPT) $(LIBFIDOCONFIG).so.$(VERMAJOR) $(LIBFIDOCONFIG).so
|
||||
|
||||
%$(OBJ): %.c
|
||||
$(CC) $(CDEFS) $(COPT) $*.c
|
||||
|
||||
ifeq ($(DYNLIBS), 1)
|
||||
-instdyn: $(LIBFIDOCONFIG).so.$(VER)
|
||||
+instdyn: $(LIBFIDOCONFIG).so.$(VERMAJOR)
|
||||
-$(MKDIR) $(MKDIROPT) $(LIBDIR)
|
||||
- $(INSTALL) $(ILOPT) $(LIBFIDOCONFIG).so.$(VER) $(LIBDIR)
|
||||
+ $(INSTALL) $(ILOPT) $(LIBFIDOCONFIG).so.$(VERMAJOR) $(LIBDIR)
|
||||
# Removed path from symlinks.
|
||||
cd $(LIBDIR) ;\
|
||||
- $(LN) $(LNOPT) $(LIBFIDOCONFIG).so.$(VER) $(LIBFIDOCONFIG).so.$(VERH) ;\
|
||||
- $(LN) $(LNOPT) $(LIBFIDOCONFIG).so.$(VER) $(LIBFIDOCONFIG).so
|
||||
+ $(LN) $(LNOPT) $(LIBFIDOCONFIG).so.$(VERMAJOR) $(LIBFIDOCONFIG).so
|
||||
ifneq (~$(LDCONFIG)~, ~~)
|
||||
$(LDCONFIG)
|
||||
endif
|
31
news/husky-fidoconf-devel/files/patch-doc::Makefile
Normal file
31
news/husky-fidoconf-devel/files/patch-doc::Makefile
Normal file
@ -0,0 +1,31 @@
|
||||
--- doc/Makefile.orig Sat Jun 4 09:06:32 2005
|
||||
+++ doc/Makefile Wed Oct 19 16:34:38 2005
|
||||
@@ -6,7 +6,7 @@
|
||||
include ../../huskymak.cfg
|
||||
endif
|
||||
|
||||
-all: html info dvi
|
||||
+all: html info
|
||||
|
||||
ifdef HTMLDIR
|
||||
html: fidoconfig.html
|
||||
@@ -68,7 +68,7 @@
|
||||
-$(RM) $(RMOPT) fidoconfig.doc
|
||||
-$(RM) $(RMOPT) fidoconfig.info*
|
||||
|
||||
-install: info html dvi
|
||||
+install: info html
|
||||
@echo .
|
||||
ifdef INFODIR
|
||||
-$(MKDIR) $(MKDIROPT) $(INFODIR)
|
||||
@@ -78,10 +78,6 @@
|
||||
ifdef HTMLDIR
|
||||
-$(MKDIR) $(MKDIROPT) $(HTMLDIR)
|
||||
$(INSTALL) $(IMOPT) fidoconfig*html $(HTMLDIR)
|
||||
-endif
|
||||
-ifdef DVIDIR
|
||||
- -$(MKDIR) $(MKDIROPT) $(DVIDIR)
|
||||
- $(INSTALL) $(IMOPT) fidoconfig.dvi $(DVIDIR)
|
||||
endif
|
||||
|
||||
uninstall:
|
10
news/husky-fidoconf-devel/files/patch-makefile.inc
Normal file
10
news/husky-fidoconf-devel/files/patch-makefile.inc
Normal file
@ -0,0 +1,10 @@
|
||||
--- makefile.inc.orig Tue Apr 13 14:24:40 2004
|
||||
+++ makefile.inc Wed Oct 19 20:39:32 2005
|
||||
@@ -5,6 +5,7 @@
|
||||
|
||||
VER = 1.4.0
|
||||
VERH = 1.4
|
||||
+VERMAJOR = 1
|
||||
|
||||
include makefile.in1
|
||||
|
20
news/husky-fidoconf-devel/files/patch-man::Makefile
Normal file
20
news/husky-fidoconf-devel/files/patch-man::Makefile
Normal file
@ -0,0 +1,20 @@
|
||||
--- man/Makefile.orig Wed Feb 5 14:51:47 2003
|
||||
+++ man/Makefile Wed Oct 19 20:57:40 2005
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
all:
|
||||
|
||||
-install: copy link
|
||||
+install: copy
|
||||
|
||||
copy:
|
||||
$(MKDIR) $(MKDIROPT) $(MAN1DIR)
|
||||
@@ -28,7 +28,7 @@
|
||||
|
||||
link:
|
||||
cd $(MAN1DIR)$(DIRSEP); \
|
||||
- for f in $(FCONF2ALIASES) ; do $(LN) -s fconf2.1 $$f ; done
|
||||
+ for f in $(FCONF2ALIASES) ; $(LN) -s fconf2.1 $$f ; done
|
||||
|
||||
clean:
|
||||
|
11
news/husky-fidoconf-devel/files/patch-man::linkedto.1
Normal file
11
news/husky-fidoconf-devel/files/patch-man::linkedto.1
Normal file
@ -0,0 +1,11 @@
|
||||
--- man/linkedto.1.orig Sat Jan 11 17:52:57 2003
|
||||
+++ man/linkedto.1 Sat Jan 11 17:53:14 2003
|
||||
@@ -19,8 +19,6 @@
|
||||
.br
|
||||
.nf
|
||||
.\" set tabstop to longest possible filename, plus a wee bit
|
||||
-.ta \w'/etc/fido/config 'u
|
||||
-\fI/etc/fido/config\fR
|
||||
.ta \w'/usr/local/etc/fido/config 'u
|
||||
\fI/usr/local/etc/fido/config\fR Default Fidoconfig.
|
||||
.SH NOTES
|
11
news/husky-fidoconf-devel/files/patch-tparser.c
Normal file
11
news/husky-fidoconf-devel/files/patch-tparser.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- tparser.c.orig Wed Oct 19 16:43:38 2005
|
||||
+++ tparser.c Wed Oct 19 16:43:49 2005
|
||||
@@ -1141,7 +1141,7 @@
|
||||
|
||||
const char *smapi_cvs_date(){
|
||||
static
|
||||
-#include "../smapi/cvsdate.h"
|
||||
+#include <smapi/cvsdate.h>
|
||||
return cvs_date;
|
||||
}
|
||||
|
6
news/husky-fidoconf-devel/pkg-descr
Normal file
6
news/husky-fidoconf-devel/pkg-descr
Normal file
@ -0,0 +1,6 @@
|
||||
Configuration library for Husky Fidosoft Project.
|
||||
Development version.
|
||||
|
||||
Husky is complete freeware suite of Fidonet applications.
|
||||
|
||||
WWW: http://husky.sourceforge.net/
|
34
news/husky-fidoconf-devel/pkg-plist
Normal file
34
news/husky-fidoconf-devel/pkg-plist
Normal file
@ -0,0 +1,34 @@
|
||||
share/doc/husky/fidoconfig.html
|
||||
lib/libfidoconfig.so.1
|
||||
lib/libfidoconfig.so
|
||||
lib/libfidoconfig.a
|
||||
bin/fconf2aquaed
|
||||
bin/fconf2binkd
|
||||
bin/fconf2fidogate
|
||||
bin/fconf2golded
|
||||
bin/fconf2msged
|
||||
bin/fconf2na.pl
|
||||
bin/fconf2squish
|
||||
bin/fconf2tornado
|
||||
bin/tparser
|
||||
bin/linked
|
||||
bin/linkedto
|
||||
bin/fconf2areasbbs
|
||||
include/fidoconf/adcase.h
|
||||
include/fidoconf/afixcmd.h
|
||||
include/fidoconf/arealist.h
|
||||
include/fidoconf/areatree.h
|
||||
include/fidoconf/common.h
|
||||
include/fidoconf/crc.h
|
||||
include/fidoconf/dirlayer.h
|
||||
include/fidoconf/fidoconf.h
|
||||
include/fidoconf/fidoconf.pas
|
||||
include/fidoconf/findtok.h
|
||||
include/fidoconf/log.h
|
||||
include/fidoconf/recode.h
|
||||
include/fidoconf/temp.h
|
||||
include/fidoconf/tree.h
|
||||
include/fidoconf/typesize.h
|
||||
include/fidoconf/version.h
|
||||
include/fidoconf/xstr.h
|
||||
@dirrm include/fidoconf
|
Loading…
Reference in New Issue
Block a user