summaryrefslogtreecommitdiffstats
path: root/news/husky/Makefile.local
blob: 1901131c936177b828c3611c53ce5da471ac9de8 (plain)
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
# vim:filetype=make
# $FreeBSD$

PORTVERSION=	1.9.20140519
PORTREVISION=	1
CATEGORIES=	news mail

.if ${PORTNAME} == "husky-smapi"
PORTEPOCH=	1
.endif

MAINTAINER=	osharoiko@gmail.com

MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	husky/husky/1.9-current/2014.05.19
DISTNAME=	husky-all-1.9-source-20140519

HUSKY_ROOTDIR=	${WRKDIR}/husky
PATCH_WRKSRC=	${HUSKY_ROOTDIR}
WRKSRC=		${HUSKY_ROOTDIR}/${COMPONENT_SUBDIR}
PKGDIR=		${.CURDIR}

CONFLICTS=	${PORTNAME}-[0-9]*

USERS=		fido
GROUPS=		fido

USES+=		alias gmake tar:tgz

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