aboutsummaryrefslogtreecommitdiff
path: root/news/husky-hpt-devel
diff options
context:
space:
mode:
Diffstat (limited to 'news/husky-hpt-devel')
-rw-r--r--news/husky-hpt-devel/Makefile56
-rw-r--r--news/husky-hpt-devel/distinfo2
-rw-r--r--news/husky-hpt-devel/files/patch-doc::Makefile31
-rw-r--r--news/husky-hpt-devel/pkg-descr6
-rw-r--r--news/husky-hpt-devel/pkg-plist5
5 files changed, 100 insertions, 0 deletions
diff --git a/news/husky-hpt-devel/Makefile b/news/husky-hpt-devel/Makefile
new file mode 100644
index 000000000000..e8763accb1fa
--- /dev/null
+++ b/news/husky-hpt-devel/Makefile
@@ -0,0 +1,56 @@
+# New ports collection makefile for: husky-hpt-devel
+# Date created: 2005-10-26
+# Whom: Oleg Sharoiko <os@rsu.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= hpt
+DISTVERSION= 1.4-rc4
+CATEGORIES= news mail
+DISTNAME= ${PORTNAME}-${DISTVERSION}-src
+
+MAINTAINER= os@rsu.ru
+COMMENT= Highly Portable Tosser (full-featured FTN tosser). Development version
+
+LIB_DEPENDS= fidoconfig.1:${PORTSDIR}/news/husky-fidoconf-devel
+
+CONFLICTS= husky-hpt-[0-9]*
+
+USE_REINPLACE= yes
+
+.if !defined(WITHOUT_PERL)
+MAKE_ARGS+= PERL=1
+USE_PERL5= yes
+.else
+MAKE_ARGS+= PERL=0
+.endif
+
+MAN1= hpt.1 hptlink.1 hpttree.1 txt2pkt.1
+MANCOMPRESSED= yes
+INFO= hpt
+
+DOCSDIR= ${PREFIX}/share/doc/husky
+PORTDOCS= hpt.html
+
+post-patch:
+ @${REINPLACE_CMD} -e 's^/path/to/config^${PREFIX}/etc/fido/config^' \
+ ${WRKSRC}/man/hptlink.1
+ @${REINPLACE_CMD} -e 's^/some/path/config^${PREFIX}/etc/fido/config^' \
+ ${WRKSRC}/man/hpttree.1
+ @${REINPLACE_CMD} -e 's^/fido/etc/config^${PREFIX}/etc/fido/config^' \
+ ${WRKSRC}/man/txt2pkt.1
+
+post-build:
+.if !defined(NOPORTDOCS)
+ @cd ${WRKSRC}/doc && ${GMAKE} ${MAKE_ARGS} all
+.endif
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @cd ${WRKSRC}/doc && ${GMAKE} ${MAKE_ARGS} install
+.endif
+
+.include <bsd.port.pre.mk>
+.include "${.CURDIR}/../../news/husky-base-devel/Makefile.inc"
+.include <bsd.port.post.mk>
diff --git a/news/husky-hpt-devel/distinfo b/news/husky-hpt-devel/distinfo
new file mode 100644
index 000000000000..08158688bd47
--- /dev/null
+++ b/news/husky-hpt-devel/distinfo
@@ -0,0 +1,2 @@
+MD5 (husky/hpt-1.4-rc4-src.tar.gz) = eb87ad9d8d65eca3fdeb24f00e0b40bd
+SIZE (husky/hpt-1.4-rc4-src.tar.gz) = 371121
diff --git a/news/husky-hpt-devel/files/patch-doc::Makefile b/news/husky-hpt-devel/files/patch-doc::Makefile
new file mode 100644
index 000000000000..892cb45eb8ba
--- /dev/null
+++ b/news/husky-hpt-devel/files/patch-doc::Makefile
@@ -0,0 +1,31 @@
+--- doc/Makefile.orig Sat Jun 4 09:06:45 2005
++++ doc/Makefile Wed Oct 19 17:15:31 2005
+@@ -5,7 +5,7 @@
+ include ../../huskymak.cfg
+ endif
+
+-all: html info dvi
++all: html info
+
+ ifdef HTMLDIR
+ html: hpt.html
+@@ -59,7 +59,7 @@
+ -$(RM) $(RMOPT) hpt.inf
+ -$(RM) $(RMOPT) hpt*html
+
+-install: info html dvi
++install: info html
+ @echo .
+ ifdef INFODIR
+ -$(MKDIR) $(MKDIROPT) $(INFODIR)
+@@ -69,10 +69,6 @@
+ ifdef HTMLDIR
+ -$(MKDIR) $(MKDIROPT) $(HTMLDIR)
+ $(INSTALL) $(IMOPT) hpt*html $(HTMLDIR)
+-endif
+-ifdef DVIDIR
+- -$(MKDIR) $(MKDIROPT) $(DVIDIR)
+- $(INSTALL) hpt.dvi $(DVIDIR)
+ endif
+ uninstall:
+ -install-info --remove --info-dir=$(INFODIR) $(INFODIR)$(DIRSEP)hpt.info
diff --git a/news/husky-hpt-devel/pkg-descr b/news/husky-hpt-devel/pkg-descr
new file mode 100644
index 000000000000..0eec93718913
--- /dev/null
+++ b/news/husky-hpt-devel/pkg-descr
@@ -0,0 +1,6 @@
+Highly Portable Tosser (full-featured FTN tosser)
+
+HPT is a part of Husky Fidosoft Project.
+Husky is complete freeware suite of Fidonet applications.
+
+WWW: http://husky.sourceforge.net/
diff --git a/news/husky-hpt-devel/pkg-plist b/news/husky-hpt-devel/pkg-plist
new file mode 100644
index 000000000000..8232a815cd77
--- /dev/null
+++ b/news/husky-hpt-devel/pkg-plist
@@ -0,0 +1,5 @@
+bin/hpt
+bin/pktinfo
+bin/txt2pkt
+bin/hptlink
+bin/hpttree