openbsd-ports/databases/freetds/Makefile
jcs 5952d50210 oops, common.h slipped back into PLIST with the last update
this file is part of the test suite which shouldn't be installing
things anyway, so stub out the install targets so none of these
files get back into PLIST in the future

unbreak and bump pkgname to freetds-0.60p1
2003-02-08 17:21:41 +00:00

38 lines
938 B
Makefile

# $OpenBSD: Makefile,v 1.11 2003/02/08 17:21:41 jcs Exp $
DISTNAME= freetds-0.60
PKGNAME= ${DISTNAME}p1
CATEGORIES= databases
# GPL
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/
MASTER_SITES= ${MASTER_SITE_SUNSITE:=ALPHA/freetds/}
EXTRACT_SUFX= .tgz
MAINTAINER= Joshua Stein <jcs@rt.fm>
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--enable-static \
--with-libiconv-prefix="${LOCALBASE}"
MAKE_ENV= RM=rm
MODULES= gettext
post-configure:
@chmod 644 ${WRKSRC}/include/tds_configs.h
post-install:
@sed -e "s:@sysconfdir@:${SYSCONFDIR}:g" ${WRKSRC}/freetds.conf > \
${WRKSRC}/freetds.conf.new
@mkdir ${PREFIX}/share/examples/freetds
${INSTALL_DATA} ${WRKSRC}/freetds.conf.new \
${PREFIX}/share/examples/freetds/freetds.conf-sample
.include <bsd.port.mk>