blob: d7d08486a878d0aa751e7d868daf6a0f9d0a11fb (
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
30
31
32
33
34
|
# Created by: Veniamin Gvozdikov <vg@FreeBSD.org>
# $FreeBSD$
PORTNAME= confetti
PORTVERSION= 0.0.${DATE}
CATEGORIES= textproc
MASTER_SITES= LOCAL/vg
MAINTAINER= vg@FreeBSD.org
COMMENT= Configuration file parser generator
BUILD_DEPENDS= ${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex
USE_BZIP2= yes
USES= bison perl5 gmake
DATE= 20120801
MAKE_ARGS+= FLEX=${LOCALBASE}/bin/flex
MAKE_JOBS_UNSAFE=yes
OPTIONS_DEFINE= EXAMPLES
PLIST_FILES= bin/confetti
PORTEXAMPLES= *
post-patch:
@${REINPLACE_CMD} -e 's|CC=|CC?=|' -e 's|CFLAGS=|CFLAGS?=|' \
${WRKSRC}/Makefile
do-install:
${INSTALL} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/example && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>
|