1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/databases/yasql/Makefile
William Grzybowski d4d08cb326 databases/yasql: support stage
PR:		193028
Submitted by:	Ports Fury
2014-08-27 14:55:14 +00:00

54 lines
1.4 KiB
Makefile

# Created by: Thierry Thomas <thierry@pompo.net>
# $FreeBSD$
PORTNAME= yasql
PORTVERSION= 1.83
PORTREVISION= 1
CATEGORIES= databases
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Yet Another SQL*Plus Replacement
LICENSE= GPLv2
RUN_DEPENDS= p5-DBD-Oracle>0:${PORTSDIR}/databases/p5-DBD-Oracle \
p5-ReadLine-Gnu>0:${PORTSDIR}/devel/p5-ReadLine-Gnu
NO_ARCH= yes
USES= perl5
GNU_CONFIGURE= yes
ALL_TARGET= default
SUB_FILES= pkg-message
OPTIONS_DEFINE= CSV HIRES READKEY
CSV_DESC= Support for in/out CSV files
CSV_BUILD_DEPENDS= p5-Text-CSV_XS>0:${PORTSDIR}/textproc/p5-Text-CSV_XS
HIRES_DESC= Support for high resolution benchmarking
HIRES_BUILD_DEPENDS= p5-Time-HiRes>0:${PORTSDIR}/devel/p5-Time-HiRes
READKEY_DESC= Better input and output control
READKEY_BUILD_DEPENDS= p5-Term-ReadKey>0:${PORTSDIR}/devel/p5-Term-ReadKey
post-patch:
@${REINPLACE_CMD} -e \
's| /bin/more| /usr/bin/more|' ${WRKSRC}/yasql.conf
post-build:
@${LN} -sf yasql.conf ${WRKSRC}/yasql.conf.sample
do-install:
(cd ${WRKSRC} && ${INSTALL_SCRIPT} yasql \
${STAGEDIR}${PREFIX}/bin)
(cd ${WRKSRC} && ${INSTALL_MAN} yasql.1 \
${STAGEDIR}${MANPREFIX}/man/man1)
(cd ${WRKSRC} && ${INSTALL_MAN} yasql.conf.sample \
${STAGEDIR}${PREFIX}/etc)
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} README yasql.html \
${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>