summaryrefslogblamecommitdiff
path: root/misc/najitool/Makefile
blob: 16ac53113be5ebad134ff3aafe37604ae76ea4aa (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                                                
                     








                                                                    










                                                                                                                                        
# New ports collection makefile for:	najitool
# Date created:				18 May 2005
# Whom:					NECDET COKYAZICI <cokyazici@yahoo.co.uk>
#
# $FreeBSD$
#

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

MAINTAINER=	cokyazici@yahoo.co.uk
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>