aboutsummaryrefslogtreecommitdiff
path: root/news/husky/Makefile
blob: 084cb3ef20e26e109865f60b5ef67667a00ad876 (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
PORTNAME?=	husky
PORTVERSION=	1.9.20191207
PORTEPOCH?=	0
CATEGORIES?=	news mail
MASTER_SITES=	http://download.huskyproject.org/sources/
DISTNAME=	husky-all-1.9-source-20191207

MAINTAINER?=	osharoiko@gmail.com
COMMENT?=	Husky full featured highly portable FTN Tosser

.if ${PORTNAME} == "husky"
RUN_DEPENDS=	hpt:news/husky-hpt \
		htick:news/husky-htick

NO_BUILD=	yes
NO_INSTALL=	yes
.endif

USES+=		alias dos2unix gmake zip

NO_WRKSUBDIR=	yes
BUILD_WRKSRC=	${WRKSRC}/${COMPONENT_SUBDIR}
INSTALL_WRKSRC=	${BUILD_WRKSRC}
PKGDIR=		${.CURDIR}

USERS=		fido
GROUPS=		fido

pre-build:
	${LN} -sf ${WRKSRC}/huskybse/huskymak.cfg ${WRKSRC}
	@${REINPLACE_CMD} -e 's|gcc|${CC}|; s|g++|${CXX}|' \
		${WRKSRC}/huskybse/huskymak.cfg

.include <bsd.port.mk>