1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/misc/najitool/Makefile

24 lines
560 B
Makefile

# 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
NO_STAGE= yes
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>