blob: b30bc2d1b063f41a4abe1feaf81847ff9485361b (
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
|
# Created by: NECDET COKYAZICI <cokyazici@yahoo.co.uk>
# $FreeBSD$
PORTNAME= najitool
PORTVERSION= 0.8.4
DISTVERSIONSUFFIX= .src
PORTREVISION= 1
CATEGORIES= misc
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Generates, converts, and filters files
BUILD_DEPENDS= ${LOCALBASE}/lib/libnaji.a:devel/libnaji
PLIST_FILES= bin/najitool
post-patch:
@${REINPLACE_CMD} -e \
'/^cc/s|=.*|= $${CC}| ; \
/^ld/s|=.*|= $${CC}| ; \
/^cflags/s|=.*|= $${CFLAGS} -I$${LOCALBASE}/include| ; \
s| libnaji.a| $${LOCALBASE}/lib/libnaji.a|' \
${WRKSRC}/${MAKEFILE}
do-install:
(cd ${WRKSRC} && ${INSTALL_PROGRAM} najitool ${STAGEDIR}${PREFIX}/bin)
.include <bsd.port.mk>
|