freebsd-ports/databases/freetds/Makefile
Mario Sergio Fujikawa Ferreira 57f25fdb01 o Fix PLIST
o Better packaging and removal of configuration file

PR:		29428
Submitted by:	Pete Fritchman <petef@databits.net>
2001-08-05 04:28:23 +00:00

34 lines
764 B
Makefile

# New ports collection makefile for: freetds
# Date created: 02 Nov 1999
# Whom: Domas Mituzas <midom@dammit.lt>
#
# $FreeBSD$
PORTNAME= freetds
PORTVERSION= 0.52
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= ALPHA/freetds
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
USE_GMAKE= yes
USE_LIBTOOL= yes
CONFIGURE_ARGS= --with-tdsver=4.2 \
--enable-dbmfix
INSTALLS_SHLIB= yes
post-patch:
@find ${WRKSRC}/src -name Makefile.in | xargs ${PERL} -pi -e \
's| install-includeHEADERS||g'
@${PERL} -pi -e 's!/freetds.conf!/freetds.conf.dist!g' \
${WRKSRC}/Makefile.in
post-install:
.if !exists(${PREFIX}/etc/freetds.conf)
@${CP} ${PREFIX}/etc/freetds.conf.dist ${PREFIX}/etc/freetds.conf
.endif
.include <bsd.port.mk>