2013-02-07 15:50:39 +01:00
|
|
|
# Created by: erich@FreeBSD.org
|
1999-08-25 07:28:01 +02:00
|
|
|
# $FreeBSD$
|
1996-12-12 03:41:11 +01:00
|
|
|
|
2000-04-09 00:49:07 +02:00
|
|
|
PORTNAME= typhoon
|
|
|
|
PORTVERSION= 1.10.3
|
1996-12-12 06:18:10 +01:00
|
|
|
CATEGORIES= databases
|
2013-02-07 15:50:39 +01:00
|
|
|
MASTER_SITES= SUNSITE/libs/db
|
1996-12-12 03:41:11 +01:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2000-04-24 00:59:51 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2013-02-07 15:50:39 +01:00
|
|
|
COMMENT= Relational database library
|
1996-12-12 06:18:10 +01:00
|
|
|
|
2000-06-15 18:44:16 +02:00
|
|
|
HAS_CONFIGURE= yes
|
2006-08-15 00:55:18 +02:00
|
|
|
USE_LDCONFIG= yes
|
2009-11-22 20:49:43 +01:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
2000-06-15 18:44:16 +02:00
|
|
|
|
2000-11-21 16:46:38 +01:00
|
|
|
MAN1= ddlp.1
|
|
|
|
MAN3= d_close.3 d_crget.3 d_crread.3 d_crset.3 d_dbdpath.3 d_dbfpath.3 \
|
2001-02-14 06:43:00 +01:00
|
|
|
d_dbget.3 d_dbset.3 d_delete.3 d_fillnew.3 d_getsequence.3 \
|
2000-11-21 16:46:38 +01:00
|
|
|
d_keyfind.3 d_keyfrst.3 d_keylast.3 d_keynext.3 d_keyprev.3 \
|
|
|
|
d_keyread.3 d_open.3 d_recfrst.3 d_reclast.3 d_recnext.3 d_recprev.3 \
|
|
|
|
d_recread.3 d_recwrite.3 d_setfiles.3
|
1996-12-12 03:41:11 +01:00
|
|
|
|
2013-09-20 18:13:47 +02:00
|
|
|
NO_STAGE= yes
|
2013-02-07 15:50:39 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|<malloc.h>|<stdlib.h>| ; \
|
|
|
|
s|^void main|int main|' ${WRKSRC}/util/dbdview.c
|
2002-03-31 06:14:28 +02:00
|
|
|
|
1996-12-12 03:41:11 +01:00
|
|
|
post-install:
|
2013-02-07 15:50:39 +01:00
|
|
|
.for i in ${MAN1}
|
|
|
|
(cd ${WRKSRC}/man && ${INSTALL_MAN} ${i} ${MAN1PREFIX}/man/man1)
|
2000-11-21 16:46:38 +01:00
|
|
|
.endfor
|
2013-02-07 15:50:39 +01:00
|
|
|
.for i in ${MAN3}
|
|
|
|
(cd ${WRKSRC}/man && ${INSTALL_MAN} ${i} ${MAN3PREFIX}/man/man3)
|
2000-11-21 16:46:38 +01:00
|
|
|
.endfor
|
2013-02-07 15:50:39 +01:00
|
|
|
@${MKDIR} ${DATADIR}
|
|
|
|
(cd ${WRKSRC}/man && ${INSTALL_DATA} manual.asc ${DATADIR})
|
|
|
|
.for i in environ.h typhoon.h
|
|
|
|
(cd ${WRKSRC}/include && ${INSTALL_DATA} ${i} ${PREFIX}/include)
|
2000-11-21 16:46:38 +01:00
|
|
|
.endfor
|
1996-12-12 03:41:11 +01:00
|
|
|
|
2000-03-27 19:28:41 +02:00
|
|
|
.include <bsd.port.mk>
|