aboutsummaryrefslogtreecommitdiffstats
path: root/misc/najitool/Makefile
blob: 0b86478089745a034c185b45aad143fb10f4aece (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Created by: NECDET COKYAZICI <cokyazici@yahoo.co.uk>
# $FreeBSD$

PORTNAME=   najitool
PORTVERSION=    0.8.4
CATEGORIES= misc
MASTER_SITES=   SF

MAINTAINER= ports@FreeBSD.org
COMMENT=    Generates, converts, and filters files

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

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>