aboutsummaryrefslogtreecommitdiffstats
path: root/databases/mysql_last_value/Makefile
blob: 35bfd2589cd90cdf37634d733db50cda8404921d (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
# New ports collection makefile for:    mysql_last_value
# Date created:         14th Aug 2003
# Whom:                         Aftab Jahan Subedar
# $FreeBSD$

PORTNAME=       mysql_last_value
PORTVERSION=    3.2
CATEGORIES= databases
MASTER_SITES=   http://www.geocities.com/jahan.geo/

MAINTAINER= jahan@bol-online.com
COMMENT=    Replaces NULL value of current column with value from top row

LIB_DEPENDS=    mysqlclient.14:${PORTSDIR}/databases/mysql41-client

PLIST_FILES=    bin/mysql_last_value
USE_REINPLACE=  yes

post-patch:
    ${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' ${WRKSRC}/Makefile

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/mysql_last_value ${PREFIX}/bin

.include <bsd.port.mk>