1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/textproc/confetti/Makefile
Mathieu Arnold 597afc47ba Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:25:16 +00:00

34 lines
770 B
Makefile

# 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:textproc/flex
USES= bison perl5 gmake tar:bzip2
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>