aboutsummaryrefslogtreecommitdiffstats
path: root/misc/najitool/Makefile
blob: 9e7915064e2b8051b58460cc4a680046b2aed9d6 (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
# New ports collection makefile for:    najitool
# Date created:             18 May 2005
# Whom:                 NECDET COKYAZICI <cokyazici@yahoo.co.uk>
#
# $FreeBSD$
#

PORTNAME=   najitool
PORTVERSION=    0.8.1
CATEGORIES= misc
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR= najitool

MAINTAINER= ports@FreeBSD.org
COMMENT=    A tool that generates, converts, and filters files

BUILD_DEPENDS=  ${LOCALBASE}/lib/libnaji.a:${PORTSDIR}/devel/libnaji

MAKEFILE=   makefile

DISTVERSIONSUFFIX=  .src

post-patch:
    ${REINPLACE_CMD} -e 's|cflags =|cflags = -I${LOCALBASE}/include|; s|libnaji.a|${LOCALBASE}/lib/libnaji.a|' ${WRKSRC}/${MAKEFILE}

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/najitool ${PREFIX}/bin

.include <bsd.port.mk>