mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
50 lines
1.2 KiB
Makefile
50 lines
1.2 KiB
Makefile
# New ports collection makefile for: husky-hpt
|
|
# Date created: 6 January 2003
|
|
# Whom: Max Khon
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= hpt
|
|
PORTVERSION= 1.2.4
|
|
PORTREVISION= 1
|
|
CATEGORIES= news mail
|
|
MASTER_SITES= SF/husky/${PORTNAME}/1.2-release
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
|
|
|
MAINTAINER= fjoe@FreeBSD.org
|
|
COMMENT= Highly Portable Tosser (full-featured FTN tosser)
|
|
|
|
LIB_DEPENDS= fidoconfig.0:${PORTSDIR}/news/husky-fidoconf
|
|
|
|
CONFLICTS= husky-hpt-devel-[0-9]*
|
|
|
|
.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
|
|
|
|
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:
|
|
@cd ${WRKSRC}/doc && ${GMAKE} ${MAKE_ARGS} all
|
|
|
|
post-install:
|
|
@cd ${WRKSRC}/doc && ${GMAKE} ${MAKE_ARGS} install
|
|
|
|
.include <bsd.port.pre.mk>
|
|
.include "${PORTSDIR}/news/husky-base/Makefile.inc"
|
|
.include <bsd.port.post.mk>
|