2003-02-08 12:21:41 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.11 2003/02/08 17:21:41 jcs Exp $
|
2001-08-11 11:31:43 -04:00
|
|
|
|
2002-09-11 20:12:48 -04:00
|
|
|
DISTNAME= freetds-0.60
|
2003-02-08 12:21:41 -05:00
|
|
|
PKGNAME= ${DISTNAME}p1
|
2001-08-11 11:31:43 -04:00
|
|
|
CATEGORIES= databases
|
|
|
|
|
2002-09-11 20:12:48 -04:00
|
|
|
# GPL
|
2001-08-11 11:31:43 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
COMMENT= "project to document and implement the TDS protocol"
|
|
|
|
HOMEPAGE= http://www.freetds.org/
|
2002-05-13 14:50:36 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SUNSITE:=ALPHA/freetds/}
|
2001-08-11 11:31:43 -04:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
|
|
|
MAINTAINER= Joshua Stein <jcs@rt.fm>
|
|
|
|
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
|
|
|
--enable-static \
|
2001-12-26 21:56:38 -05:00
|
|
|
--with-libiconv-prefix="${LOCALBASE}"
|
2001-08-11 11:31:43 -04:00
|
|
|
MAKE_ENV= RM=rm
|
2001-12-26 21:56:38 -05:00
|
|
|
MODULES= gettext
|
|
|
|
|
|
|
|
post-configure:
|
|
|
|
@chmod 644 ${WRKSRC}/include/tds_configs.h
|
2001-08-11 11:31:43 -04:00
|
|
|
|
|
|
|
post-install:
|
2001-10-24 20:12:12 -04:00
|
|
|
@sed -e "s:@sysconfdir@:${SYSCONFDIR}:g" ${WRKSRC}/freetds.conf > \
|
|
|
|
${WRKSRC}/freetds.conf.new
|
2001-08-11 11:31:43 -04:00
|
|
|
@mkdir ${PREFIX}/share/examples/freetds
|
2001-10-24 20:12:12 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/freetds.conf.new \
|
2001-08-11 11:31:43 -04:00
|
|
|
${PREFIX}/share/examples/freetds/freetds.conf-sample
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|