blob: d9caed7f499048ab86323be232b61eb51bce6792 (
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# 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:databases/p5-DBD-Oracle \
p5-Term-ReadLine-Gnu>0:devel/p5-Term-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:textproc/p5-Text-CSV_XS
HIRES_DESC= Support for high resolution benchmarking
HIRES_BUILD_DEPENDS= p5-Time-HiRes>0:devel/p5-Time-HiRes
READKEY_DESC= Better input and output control
READKEY_BUILD_DEPENDS= p5-Term-ReadKey>0: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>
|